Hopefully someone can help me, I am not seeing the caller id on inbound calls, instead they are displaying as UNKNOWN, I have tried an alternative pbx and the Telco appears to be sending the caller id correctly however on this system it is not being detected.
Just wondering if someone can offer any advice?
I am running the following setup not from a distribution.
FreePBX: 2.11.0
Asterisk: 11.8.1
Dahdi: 2.9.0
Centos: 6.5
etc/dahdi/system.conf
span=1,0,0,CCS,HDB3,CRC4
span=2,0,0,CCS,HDB3,CRC4
bchan=1-15,17-31,32-46,48-62
dchan=16,47
I am using a Digium TE220 set for Europe.
/etc/modprobe.d/dahdi.conf
options wct4xxp default_linemode=e1
/etc/asterisk/chan_dahdi.conf
[channels]
language=en
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0
Trace
Connected to Asterisk 11.8.1 currently running on s000411 (pid = 10147)
– Accepting call from ‘7905305067’ to ‘547555’ on channel 0/1, span 1
– Executing [547555@from-trunk:1] NoOp(“DAHDI/i1/-8b”, “Catch-All DID Match - Found 547555 - You probably want a DID for this.”) in new stack
– Executing [547555@from-trunk:2] Set(“DAHDI/i1/-8b”, “__FROM_DID=547555”) in new stack
– Executing [547555@from-trunk:3] Goto(“DAHDI/i1/-8b”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] ExecIf(“DAHDI/i1/-8b”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:2] Gosub(“DAHDI/i1/-8b”, “sub-record-check,s,1(force,s,always)”) in new stack
– Executing [s@sub-record-check:1] Set(“DAHDI/i1/-8b”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“DAHDI/i1/-8b”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“DAHDI/i1/-8b”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“DAHDI/i1/-8b”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“DAHDI/i1/-8b”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“DAHDI/i1/-8b”, “1?Set(__REC_POLICY_MODE=always)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“DAHDI/i1/-8b”, “0?force,1”) in new stack
– Executing [s@sub-record-check:14] Set(“DAHDI/i1/-8b”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“DAHDI/i1/-8b”, “NOW=1398543234”) in new stack
– Executing [s@sub-record-check:16] Set(“DAHDI/i1/-8b”, “__DAY=26”) in new stack
– Executing [s@sub-record-check:17] Set(“DAHDI/i1/-8b”, “__MONTH=04”) in new stack
– Executing [s@sub-record-check:18] Set(“DAHDI/i1/-8b”, “__YEAR=2014”) in new stack
– Executing [s@sub-record-check:19] Set(“DAHDI/i1/-8b”, “__TIMESTR=20140426-211354”) in new stack
– Executing [s@sub-record-check:20] Set(“DAHDI/i1/-8b”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:21] Set(“DAHDI/i1/-8b”, “__CALLFILENAME=force-s-unknown-20140426-211354-1398543234.423”) in new stack
– Executing [s@sub-record-check:22] Goto(“DAHDI/i1/-8b”, “force,1”) in new stack
– Goto (sub-record-check,force,1)
– Executing [force@sub-record-check:1] GosubIf(“DAHDI/i1/-8b”, “1?record,1(force,always,unknown)”) in new stack
– Executing [record@sub-record-check:1] Set(“DAHDI/i1/-8b”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
– Executing [record@sub-record-check:2] MixMonitor(“DAHDI/i1/-8b”, “/var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423.wav,r(/var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423-in.wav)t(/var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423-out.wav),/usr/local/bin/wavmix ^{MIXMON_DIR}^{YEAR}/^{MONTH}/^{DAY}/^{CALLFILENAME}-in.^{MIXMON_FORMAT} ^{MIXMON_DIR}^{YEAR}/^{MONTH}/^{DAY}/^{CALLFILENAME}-out.^{MIXMON_FORMAT} ^{MIXMON_DIR}^{YEAR}/^{MONTH}/^{DAY}/^{CALLFILENAME}.^{MIXMON_FORMAT}”) in new stack
– Executing [record@sub-record-check:3] Set(“DAHDI/i1/-8b”, “__REC_STATUS=RECORDING”) in new stack
– Executing [record@sub-record-check:4] Set(“DAHDI/i1/-8b”, “CDR(recordingfile)=force-s-unknown-20140426-211354-1398543234.423.wav”) in new stack
– Executing [record@sub-record-check:5] Return(“DAHDI/i1/-8b”, “”) in new stack
– Executing [force@sub-record-check:2] Return(“DAHDI/i1/-8b”, “”) in new stack
– Executing [s@ext-did:3] Set(“DAHDI/i1/-8b”, “CDR(did)=547555”) in new stack
== Begin MixMonitor Recording DAHDI/i1/-8b
– Executing [s@ext-did:4] ExecIf(“DAHDI/i1/-8b”, “1 ?Set(CALLERID(name)=)”) in new stack
– Executing [s@ext-did:5] Ringing(“DAHDI/i1/-8b”, “”) in new stack
– Executing [s@ext-did:6] Set(“DAHDI/i1/-8b”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:7] Set(“DAHDI/i1/-8b”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [s@ext-did:8] Goto(“DAHDI/i1/-8b”, “ext-trunk,2,1”) in new stack
– Goto (ext-trunk,2,1)
– Executing [2@ext-trunk:1] Set(“DAHDI/i1/-8b”, “TDIAL_STRING=DAHDI/g1”) in new stack
– Executing [2@ext-trunk:2] Set(“DAHDI/i1/-8b”, “DIAL_TRUNK=2”) in new stack
– Executing [2@ext-trunk:3] Goto(“DAHDI/i1/-8b”, “ext-trunk,tdial,1”) in new stack
– Goto (ext-trunk,tdial,1)
– Executing [tdial@ext-trunk:1] Set(“DAHDI/i1/-8b”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [tdial@ext-trunk:2] GotoIf(“DAHDI/i1/-8b”, “1?nomax”) in new stack
– Goto (ext-trunk,tdial,4)
– Executing [tdial@ext-trunk:4] ExecIf(“DAHDI/i1/-8b”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:5] Set(“DAHDI/i1/-8b”, “DIAL_NUMBER=547555”) in new stack
– Executing [tdial@ext-trunk:6] GosubIf(“DAHDI/i1/-8b”, “0?sub-flp-2,s,1()”) in new stack
– Executing [tdial@ext-trunk:7] Set(“DAHDI/i1/-8b”, “OUTNUM=547555”) in new stack
– Executing [tdial@ext-trunk:8] Set(“DAHDI/i1/-8b”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [tdial@ext-trunk:9] Dial(“DAHDI/i1/-8b”, “DAHDI/g1/547555,300,”) in new stack
– Requested transfer capability: 0x10 - 3K1AUDIO
– Called DAHDI/g1/547555
– DAHDI/i2/547555-f9 is proceeding passing it to DAHDI/i1/-8b
– DAHDI/i2/547555-f9 answered DAHDI/i1/-8b
– Span 1: Channel 0/1 got hangup request, cause 16
– Hungup ‘DAHDI/i2/547555-f9’
== Spawn extension (ext-trunk, tdial, 9) exited non-zero on ‘DAHDI/i1/-8b’
– Hungup ‘DAHDI/i1/-8b’
== MixMonitor close filestream (mixed)
== MixMonitor close filestream (read)
== MixMonitor close filestream (write)
== Executing [/usr/local/bin/wavmix /var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423-in.wav /var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423-out.wav /var/spool/asterisk/monitor/2014/04/26/force-s-unknown-20140426-211354-1398543234.423.wav]
== End MixMonitor Recording DAHDI/i1/-8b