On 2003-05-28 at 22:39, Mark Spencer ([EMAIL PROTECTED]) wrote:
exten = 4044633/_213.,1,OurApp,losangeles-queue
exten = 4044633/_.,1,OurApp,default-queue
Take out the _. rule and just leave it 4044633 and it should work fine.
That did it. Works great! Thanks.
Not postive the _ is
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 =
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
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 [EMAIL PROTECTED] wrote:
*This message was transferred with a trial version of
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.
Take out the _. rule and just leave it
Shouldn't the priority also be different for each entry?
This would make it:
exten = 4044633/_619.,1,OurApp,sandiego-queue
exten = 4044633/_858.,2,OurApp,sandiego-queue
exten = 4044633/_213.,3,OurApp,losangeles-queue
exten = 4044633,4,OurApp,default-queue
This should work I would think. Give it