[Asterisk-Users] extension match sip address

Jon-o Addleman jonathan.addleman at mail.mcgill.ca
Fri Apr 21 14:03:46 MST 2006


On Fri, Apr 21, 2006 at 02:39:44PM -0600, Alejandro Mejía Evertsz spake thusly:
> exten => _sipuserX.,1,blah
> to match sipuser01, sipuser99... ?
> or
> exten => sipuser01,1,blah
> to match sipuser01 only ?
> 
> Not to usefull when you want to match domain also :S
> Eg sipuser99 at somedomain.tld

Looks like I'll just do something like this - I realized I can have the
PHP that's starting the call just add SIP to the beginning of the
extension, and then asterisk can just use a substring to chop off the
beginning of it.

Thanks for the suggestions!
-- 
Jon-o Addleman - http://redowl.dyndns.org



More information about the asterisk-users mailing list