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.
_______________________________________________
--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

Reply via email to