asterisk@frameweb.it
2005-Dec-20 05:26 UTC
[Asterisk-Users] inbound routing with amp and TDM400
Hi all, Is there a way (via AMP ) to route a call based on the DID , or better based on the inbound channel number I had non problems doing that with AMP and with digium PRI Cards, but now for the first time I am trying to use a TDM400 card It seems that DID is non populated. I also tryed this: ;## ora la scheda TDM400 con 4 moduli rossi (da linea) (fxs) group=1 callgroup=11 pickupgroup=11 signalling=fxs_ks context=from-pstn callerid="Linea 1"<0123456789> channel => 1 callerid="Linea 2"<9876543210> channel => 2 callerid="Linea 3"<0123456789> channel => 3 callerid="Linea 4"<0123456789> channel => 4 ;channel => 1-4 and I tryed to define the inbound routing based on the callerID 9876543210; non chance at all. If it were a way to route the incoming call according to che analog channel which is "ringing", it could be ok for me. thanks in advance, ANdrea Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. Visitate il sito http://www.frameweb.it
> Is there a way (via AMP ) to route a call based on the DID , or better > based on the inbound channel number > > I had non problems doing that with AMP and with digium PRI Cards, but now > for the first time I am trying to use a TDM400 card > > It seems that DID is non populated.There is no such thing as DID in the analog TDM environment.> I also tryed this: > > ;## ora la scheda TDM400 con 4 moduli rossi (da linea) (fxs) > group=1 > callgroup=11 > pickupgroup=11 > signalling=fxs_ks > context=from-pstn > > callerid="Linea 1"<0123456789> > channel => 1 > callerid="Linea 2"<9876543210> > channel => 2 > callerid="Linea 3"<0123456789> > channel => 3 > callerid="Linea 4"<0123456789> > channel => 4 > ;channel => 1-4 > > and I tryed to define the inbound routing based on the callerID 9876543210; > non chance at all. > > If it were a way to route the incoming call according to che analog channel > which is "ringing", it could be ok for me.If I understand your objective correctly, try this: In zapata.conf, context=first_channel channel => 1 context=sec_channel channel => 2 context=third_channel channel => 3 etc Then in extensions.conf, use something like this: [first_channel} exten => s,1,Dial(SIP/111,15) exten => s,2,Voicemail(u111) exten => s,102,Voicemail(b111) [sec_channel] exten => s,1,Dial(SIP/222,15) exten => s,2,Voicemail(u222) exten => s,102,Voicemail(b222) etc.
On Dec 20, 2005, at 7:38 AM, Rich Adamson wrote:>> Is there a way (via AMP ) to route a call based on the DID , or >> better >> based on the inbound channel number >> >> I had non problems doing that with AMP and with digium PRI Cards, >> but now >> for the first time I am trying to use a TDM400 card >> >> It seems that DID is non populated. > > There is no such thing as DID in the analog TDM environment. > >> I also tryed this:[snip] Maybe this post I made a while back will be helpful: http://lists.digium.com/pipermail/asterisk-users/2005-July/114811.html As Rich said, there is no such thing as DID or DNIS on Analog/TDM lines. Tom -------------------- Tom Rymes Cascade Link Systems www.cascadelinksystems.com (603) 375-1414 "Intelligent technology solutions for small businesses."