[Asterisk-Users] pattern matching based on callerid, not working
Matthew Boehm
mboehm at cytelcom.com
Fri Jul 1 11:15:08 MST 2005
according to the wiki, I should be able to do this:
exten => _9./3003,1,Set(CALLERID(number)=2814444443)
exten => _9./3004,n,Set(CALLERID(number)=2814444444)
exten => _9./3005,n,Set(CALLERID(number)=2814444445)
exten => _9./3006,n,Set(CALLERID(number)=2814444446)
exten => _9.,n,Dial(SIP/${EXTEN:1}@mycarrier,30,wt)
and have the correct calleridnum's set for each extension based on their
current calleridnum.
Basically, priority 1 will execute only if callerid is currently 3003.
pri2 will only execute if callerid is 3004, etc..
however, attempts to do this all fail with auto-fallthru BUSY.
Im using most recent CVS-HEAD.
Any ideas?
-Matthew
More information about the asterisk-users
mailing list