Debug output from a channel shows what actually is received through DTMF from the carrier:
<< [ TYPE: DTMF (1) SUBCLASS: * (42) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 2 (50) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 0 (48) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 9 (57) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 5 (53) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 5 (53) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 5 (53) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: * (42) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 1 (49) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 4 (52) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 4 (52) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: 4 (52) ] [Zap/9-1] << [ TYPE: DTMF (1) SUBCLASS: * (42) ] [Zap/9-1]
In 1.0-RC2, I used the following to solve this problem:
[fixup]
exten => _.,1,Answer
exten => _.,2,Cut(CALLING=EXTEN,*,2)
exten => _.,3,SetCIDNum(${CALLING})
exten => _.,4,Cut(CALLED=EXTEN,*,3)
exten => _.,5,Goto(default,${CALLED},1)In 1.0.0, the callerid data is no longer available in the same way. I'm not sure how to access the data now. Printing out ${CALLERID} and ${CALLERIDNUM} doesn't show anything but "Unknown" <>. Any ideas?
Bryan _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
