I have 2 sip accounts with name 1234 and abcd respectively. Account abcd can make call to 1234 but not visa versa. When I change account abcd to 1abcd, both of them can make call to each others. In the case, the format of sip account should be start with number. I wonder whether we can use a sip account using only characters. Anyone can tell me how? Is it possible?
On 12/20/06, Rilawich Ango <maillisting@gmail.com> wrote:> I have 2 sip accounts with name 1234 and abcd respectively. Account > abcd can make call to 1234 but not visa versa. When I change account > abcd to 1abcd, both of them can make call to each others. In the > case, the format of sip account should be start with number. I wonder > whether we can use a sip account using only characters. Anyone can > tell me how? Is it possible?Yes, as I recall you cen use alpha, numeric or both. I am guessing you do not have the proper character matching in whatever context the calls are going to in extensions.conf. I think something like this should work: exten => _[A-Za-z0-9].,1,Answer Regards, David
How about: exten => _X.,1,Answer Does it include all numbers and characters? On 12/21/06, David Thomas <punknow@gmail.com> wrote:> On 12/20/06, Rilawich Ango <maillisting@gmail.com> wrote: > > I have 2 sip accounts with name 1234 and abcd respectively. Account > > abcd can make call to 1234 but not visa versa. When I change account > > abcd to 1abcd, both of them can make call to each others. In the > > case, the format of sip account should be start with number. I wonder > > whether we can use a sip account using only characters. Anyone can > > tell me how? Is it possible? > > Yes, as I recall you cen use alpha, numeric or both. I am guessing you > do not have the proper character matching in whatever context the > calls are going to in extensions.conf. > > I think something like this should work: > > exten => _[A-Za-z0-9].,1,Answer > > Regards, > David > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Anselm Martin Hoffmeister
2006-Dec-21 04:32 UTC
[asterisk-users] question about sip account format
Am Donnerstag, den 21.12.2006, 11:28 +0800 schrieb Rilawich Ango:> How about: > exten => _X.,1,Answer > > Does it include all numbers and characters?As of the docs, no. It should only match 0123456789 See http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+Patterns BR Anselm
Thanks. I got it. On 12/21/06, Anselm Martin Hoffmeister <anselm@hoffmeister-online.de> wrote:> Am Donnerstag, den 21.12.2006, 11:28 +0800 schrieb Rilawich Ango: > > How about: > > exten => _X.,1,Answer > > > > Does it include all numbers and characters? > > As of the docs, no. It should only match 0123456789 > See > http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+Patterns > > BR > Anselm > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >