[asterisk-users] DNIS/DNID

Trevor Peirce tpeirce at digitalcon.ca
Thu Mar 15 11:12:25 MST 2007


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.


More information about the asterisk-users mailing list