Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-20 Thread Atis Lezdins
: [asterisk-users] Route an incoming call by ANI*DNIS does anyone know how to route a call coming in with ANI*DNIS* Oct 31 12:47:41 VERBOSE[30056] logger.c: -- Executing Set(Zap/49-1, DID=1231234*4812*) in new stack I tried making a route for _.*4812* but that matched everything rather

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-20 Thread Tilghman Lesher
On Tuesday 20 November 2007 02:38:38 Atis Lezdins wrote: I won't be able to help with hardware part, but there's a simple trick to get them as you want: [incoming] _X.,1,Set(DNIS=${CUT(${EXTEN:-4})}) _X.,2,Goto,dnis,${DNIS},1 [dnis] 6789 = ... I don't think you've actually tested this,

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-20 Thread Dan Casey
Thank you all, It just so turns out that it was a bad zaptel module. We saw another post on digiums site where someone was having the exact same problem with several versions of zaptel. We changed to the one that he said worked (1.2.21), and all is well now. (And asterisk is now parsing the

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-19 Thread Dan Casey
think you can get ANI on EM Wink trunks, how about feature group d? -Jon - Original Message - From: Dan Casey [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Friday, November 02, 2007 9:47 AM Subject: [asterisk-users] Route an incoming call by ANI*DNIS does anyone

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-08 Thread Jon Weisman
] To: asterisk-users@lists.digium.com Sent: Friday, November 02, 2007 9:47 AM Subject: [asterisk-users] Route an incoming call by ANI*DNIS does anyone know how to route a call coming in with ANI*DNIS* Oct 31 12:47:41 VERBOSE[30056] logger.c: -- Executing Set(Zap/49-1, DID=1231234*4812

[asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread Dan Casey
does anyone know how to route a call coming in with ANI*DNIS* Oct 31 12:47:41 VERBOSE[30056] logger.c: -- Executing Set(Zap/49-1, DID=1231234*4812*) in new stack I tried making a route for _.*4812* but that matched everything rather then just the dnis i wanted.. any ideas? I would

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread Tilghman Lesher
On Friday 02 November 2007 12:07:48 Eric ManxPower Wieling wrote: exten = _XXX**,1,Set(CALLERID(num)=${EXTEN:0:7) exten = _XXX**,n,Goto(${EXTEN:8:4},1) The first line extracts the Caller*ID number from the incoming digits and sets the Caller*ID number to that value. The

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread Eric ManxPower Wieling
exten = _XXX**,1,Set(CALLERID(num)=${EXTEN:0:7) exten = _XXX**,n,Goto(${EXTEN:8:4},1) The first line extracts the Caller*ID number from the incoming digits and sets the Caller*ID number to that value. The second line goes to the actual extension or DID in your dialplan. I have

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread Dan Casey
for this t1 my settings are d4,ami sf em_w I was starting to suspect that em_w didn't support ANI.. I was hoping that this wasn't the case as the telco told me to use em wink. I just went through wink nightmare with XO and i'm dreading repeating it.. I'll give it a try, thanks! BJ Weschke

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread BJ Weschke
Dan Casey wrote: does anyone know how to route a call coming in with ANI*DNIS* Oct 31 12:47:41 VERBOSE[30056] logger.c: -- Executing Set(Zap/49-1, DID=1231234*4812*) in new stack I tried making a route for _.*4812* but that matched everything rather then just the dnis i wanted.. any

Re: [asterisk-users] Route an incoming call by ANI*DNIS

2007-11-02 Thread Eric ManxPower Wieling
Tilghman Lesher wrote: On Friday 02 November 2007 12:07:48 Eric ManxPower Wieling wrote: exten = _XXX**,1,Set(CALLERID(num)=${EXTEN:0:7) exten = _XXX**,n,Goto(${EXTEN:8:4},1) The first line extracts the Caller*ID number from the incoming digits and sets the Caller*ID number