Hi i have an asterisk pbx with E1 port connected to another PBX. Im trying to send the DNID/DNIS to the PBX here's my dialplan exten => 8881111111,1,Dial(ZAP/g2) exten => 8881111111,n,Hangup() The PBX just get the number 2 as it's DNIS when i change it to ZAP/1 or ZAP/g1 the PBX get the number 1. What should i add to send the extension number as DNID/DNIS? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070314/7ca11dd5/attachment.htm
Hi, i had the same problem recently for sip. my scenario was that i
connected 2 asterisk servers and dialed from one asterisk to another. and
for sending the DNID i used the following comand:
exten=> 1,1,Dial(SIP/${EXTEN}@riz)
here riz is the channel name. hope this works with zap also
On 3/15/07, Mark Quitoriano <markquitoriano@gmail.com>
wrote:>
> Hi i have an asterisk pbx with E1 port connected to another PBX. Im trying
> to send the DNID/DNIS to the PBX here's my dialplan
>
> exten => 8881111111,1,Dial(ZAP/g2)
> exten => 8881111111,n,Hangup()
>
> The PBX just get the number 2 as it's DNIS when i change it to ZAP/1 or
> ZAP/g1 the PBX get the number 1. What should i add to send the extension
> number as DNID/DNIS?
>
> Thanks!
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
--
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070315/dac181a2/attachment-0001.htm
>From: "Mark Quitoriano" <markquitoriano@gmail.com> >Date: Thu, 15 Mar 2007 11:59:30 +0800 > >Hi i have an asterisk pbx with E1 port connected to another PBX. Im trying >to send the DNID/DNIS to the PBX here's my dialplan > >exten => 8881111111,1,Dial(ZAP/g2)I thought you'd get an error message about the syntax above? If the PBX is configured to take DNIS as DTMF string, D() flag could be used. Yuan Liu>exten => 8881111111,n,Hangup() > >The PBX just get the number 2 as it's DNIS when i change it to ZAP/1 or >ZAP/g1 the PBX get the number 1. What should i add to send the extension >number as DNID/DNIS? > >Thanks!
Mark Quitoriano wrote:> Hi i have an asterisk pbx with E1 port connected to another PBX. Im > trying to send the DNID/DNIS to the PBX here's my dialplan > > exten => 8881111111,1,Dial(ZAP/g2) > exten => 8881111111,n,Hangup() > > The PBX just get the number 2 as it's DNIS when i change it to ZAP/1 > or ZAP/g1 the PBX get the number 1. What should i add to send the > extension number as DNID/DNIS? >exten => 8881111111,1,Dial(ZAP/g2/${EXTEN}) Right now you're trying to dial the number "g2", instead of using group 2.