Adrian Carter
2005-Nov-08 22:21 UTC
[Asterisk-Users] DTMF problem in * -> ZAP/g1 calls(ZAP/g1 is a PRI group)
Hey all, I have a problem that seems reminiscent of a previous CVS issue that appeared that caused DTMF not to be interpreted on OUTBOUND (i.e, Originated) calls from Asterisk. If the call was Originated from a SIP client, or 'pass through' via the other attached PABX (ZAP/g2) it all works fine and DTMF is interpreted. Incoming calls (Terminated) on the Asterisk server work fine. It seems the problem only arises when you use Asterisk to dial OUT. I have tried replicating the problem on my 'development' server, and with it in a purely SIP/IAX config, it wont replicate the problem. It only seems to be introduced when originating the call outbound via the ZAP ports. Im using a Digium Quad Port PRI card connected to a "TransACT" PRI Service (Euro_ISDN standard PRI stuff...) The details of the system is an AAH2 server upgraded to CVS (and downgraded again to see if it was that). Kernel is latest Centos/4 one. Heres teh dialplan that generates teh callout file that gets used: [custom-disa] ; Calls from outside to allow DISA access ;include => custom-disa-in exten => s,1,NoOp(Incoming call to DISA) exten => s,2,Congestion() exten => s,3,Hangup() exten => h,1,SetCIDNum(2501) exten => h,2,System(echo channel: $SYDOFFICETRUNK/2501 > /tmp/${CALLERIDNUM}) exten => h,3,System(echo context: custom-disa-callout2 >> /tmp/${CALLERIDNUM}) exten => h,4,System(echo extension: 2501 >> /tmp/${CALLERIDNUM}) exten => h,5,System(echo priority: 1 >> /tmp/${CALLERIDNUM}) exten => h,6,System(echo callerid: 62828282 >> /tmp/${CALLERIDNUM}) exten => h,7,System(echo sleep 8 > /tmp/${CALLERIDNUM}.2) exten => h,8,System(echo cp /tmp/${CALLERIDNUM} /var/spool/asterisk/outgoing >> /tmp/${CALLERIDNUM}.2) exten => h,9,System(chmod 775 /tmp/${CALLERIDNUM}.2) exten => h,10,System(/tmp/${CALLERIDNUM}.2) exten => h,11,Hangup() Am I perhaps missing something in this file?? -- Adrian Carter Technical Manager Leading Edge Internet Web http://www.lei.net.au http://support.lei.net.au Direct +61 2 6163 6162 Support 1 300 662 415 E-mail cartera@lei.net.au