[asterisk-users] special characters in alphanumeric extensions

Ricardo Carvalho rcarvalho at iric.up.pt
Thu Nov 9 09:21:35 MST 2006


Hi all,

I use alphanumeric names as extensions in my Asterisk architecture, 
which are the username part of the e-mail of each person at my site. 
Because Asterisk was primarily built to use numeric extensions, I'm 
having some problems with people that have usernames with dots between 
letters, like "john.doe".
More specifically my problem is when john.doe dials some number. 
Asterisk doesn't match his rule in extensions.conf. I have in that file 
the following line:

exten => _[0-9]./john.doe,1,Dial(SIP/${EXTEN}@did0,60)

When that user dials some number, Asterisk never matches his rule. This 
only happens because dots are special parameters for Asterisk. I've 
tried to put a slash "\" before the dot, but nothing happens!...

Any suggestion?

Thanks in advance,
Ricardo.



More information about the asterisk-users mailing list