[Asterisk-Users] ANI matching trouble
Jim Gottlieb
jimmy-ml at nccom.com
Wed May 28 16:26:43 MST 2003
Hi. I need to send calls to different programs depending on where the
call originates. For example, I need calls from San Diego (NPA 619 and
858) to to be routed differently than L.A. calls. I tried entries like:
exten => 4044633/_619.,1,OurApp,sandiego-queue
exten => 4044633/_858.,1,OurApp,sandiego-queue
exten => 4044633/_213.,1,OurApp,losangeles-queue
exten => 4044633/_.,1,OurApp,default-queue
but it didn't seem to work. Every call went to the default queue.
I also tried
exten => 4044633/_619XXXXXXX,1,OurApp,sandiego-queue
to no avail.
It did work if I put a specific number in there:
exten => 4044633/6193644788,1,OurApp,sandiego-queue
but of course I can't list every possible number.
What am I doing wrong? Thanks...
More information about the asterisk-users
mailing list