[Asterisk-Users] ANI matching trouble
Jamie Carl
me at jazz-inc.net
Wed May 28 17:20:59 MST 2003
I was just thinking that. Shouldn't this be a feature?
I'm sure coding it would be a cut and past job. :)
Another one for the TO-DO list Mark.
:)
Jamie
On Wed, 28 May 2003 16:45:44 -0700
John Todd <jtodd at loligo.com> wrote:
>*This message was transferred with a trial version of
>CommuniGate(tm) Pro*
>I don't think you can use wildcards in the ANI matching
>areas, though I'd be happy if this were the case.
>
>You'll probably need to write an AGI that hands back an
>appropriate variable set to something that a Goto can
>parse.
>
>The use of wildcards in ANI matches would be darn handy,
>though.
>
>JT
>
>>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...
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
Regards,
Jamie Carl
Jazz Inc.
Email: me at jazz-inc.net
Web: www.jazz-inc.net
Phone: +61-414-365-466
Jabber: jazz at netmindz.net
More information about the asterisk-users
mailing list