[Asterisk-Users] CallerID on Channelized T1 not working with 1.0.0

Bryan Vyhmeister asterisk at bsdjournal.net
Thu Sep 23 20:48:51 MST 2004


I have been using Asterisk 1.0-RC2 successfully with a channelized T1 
circuit for quite a while now but after upgrading to 1.0.0 callerid no 
longer works properly.

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



More information about the asterisk-users mailing list