Hi,
Info
- ver 1.6.0.26
dahdi ver 2.6.0 / MG2
Openvox A810P 8 port fxo card
8 analog lines
In CA, USA
Back ground:
Everything was working sweet for 2 years, then we moved to a new office with the same POTs line provider (Surewest)…I should not that we are VERY close to the surewest CO, so i suspect the signal is coming in pretty hot.
Problem: There were a myriad of issues after the move with the new pots lines but I got everything working except caller ID on inbound calls.
What I have tried so far:
-RX/tx gains between -18 and +3
-I confirmed caller ID comes in using a dumb analog phone with a little LCD screen-works perfect
-I have endlessly tinkered with chan_dahdi.conf (pasted below)
-I have had the lines noise tested, A++
-I have verified tip/ring are in the appropriate order for each line
What the heck am I missing??? Amy thoughts? ANY ideas will be entertained since I am out of them…
chan_dahdi.conf:
;
; DAHDI telephony
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=no
;busycount=8
;
usecallerid=yes
cidsignalling=bell
callerid = asreceived
cidstart=ring
hidecallerid=no
;
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=256
echocancelwhenbridged=no
echotraining=500
rxgain=0
txgain=0
group=0
callgroup=1
pickupgroup=1
immediate=no
faxdetect=no
;Include setup-pstn configs
#include dahdi-channels.conf
group=1
;Include PBXconfig configs
#include chan_dahdi_additional.conf
sample call with no caller ID
– Starting simple switch on ‘DAHDI/1-1’
– Executing [s@from-zaptel:1] NoOp(“DAHDI/1-1”, “Entering from-zaptel with DID == “) in new stack
– Executing [s@from-zaptel:2] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-zaptel:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
– Executing [s@from-zaptel:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
– Executing [s@from-zaptel:5] GotoIf(“DAHDI/1-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,8)
– Executing [s@from-zaptel:8] NoOp(“DAHDI/1-1”, “Is a Zaptel Channel”) in new stack
– Executing [s@from-zaptel:9] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
– Executing [s@from-zaptel:10] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
– Executing [s@from-zaptel:11] Macro(“DAHDI/1-1”, “from-zaptel-1,s,1”) in new stack
– Executing [s@macro-from-zaptel-1:1] NoOp(“DAHDI/1-1”, “Entering macro-from-zaptel-1 with DID = s and setting to: 7730550”) in new stack
– Executing [s@macro-from-zaptel-1:2] Set(“DAHDI/1-1”, “__FROM_DID=7730550”) in new stack
– Executing [s@macro-from-zaptel-1:3] Goto(“DAHDI/1-1”, “from-trunk,7730550,1”) in new stack
– Goto (from-trunk,7730550,1)
== Channel ‘DAHDI/1-1’ jumping out of macro ‘from-zaptel-1’
– Executing [7730550@from-trunk:1] Set(“DAHDI/1-1”, “__FROM_DID=7730550”) in new stack
– Executing [7730550@from-trunk:2] Gosub(“DAHDI/1-1”, “cidlookup,cidlookup_4,1”) in new stack
– Executing [cidlookup_4@cidlookup:1] ExecIf(“DAHDI/1-1”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [cidlookup_4@cidlookup:2] Return(“DAHDI/1-1”, “”) in new stack
– Executing [7730550@from-trunk:3] Gosub(“DAHDI/1-1”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Return(“DAHDI/1-1”, “”) in new stack
– Executing [7730550@from-trunk:4] ExecIf(“DAHDI/1-1”, “1 ?Set(CALLERID(name)=)”) in new stack
– Executing [7730550@from-trunk:5] Set(“DAHDI/1-1”, “FAX_RX=disabled”) in new stack
– Executing [7730550@from-trunk:6] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [7730550@from-trunk:7] Set(“DAHDI/1-1”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [7730550@from-trunk:8] Goto(“DAHDI/1-1”, “ext-group,600,1”) in new stack
– Goto (ext-group,600,1)
– Executing [600@ext-group:1] Macro(“DAHDI/1-1”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“DAHDI/1-1”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“DAHDI/1-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“DAHDI/1-1”, “Using CallerID “” <>”) in new stack
– Executing [600@ext-group:2] GotoIf(“DAHDI/1-1”, “1?skipdb”) in new stack
– Goto (ext-group,600,4)
– Executing [600@ext-group:4] Set(“DAHDI/1-1”, “__NODEST=”) in new stack
– Executing [600@ext-group:5] Set(“DAHDI/1-1”, “__BLKVM_OVERRIDE=BLKVM/600/DAHDI/1-1”) in new stack
– Executing [600@ext-group:6] Set(“DAHDI/1-1”, “__BLKVM_BASE=600”) in new stack
– Executing [600@ext-group:7] Set(“DAHDI/1-1”, “DB(BLKVM/600/DAHDI/1-1)=TRUE”) in new stack
– Executing [600@ext-group:8] Set(“DAHDI/1-1”, “RRNODEST=”) in new stack
– Executing [600@ext-group:9] Set(“DAHDI/1-1”, “__NODEST=600”) in new stack
– Executing [600@ext-group:10] Set(“DAHDI/1-1”, “RecordMethod=Group”) in new stack
– Executing [600@ext-group:11] Macro(“DAHDI/1-1”, “record-enable,121-131-130-122-127-125-124-128-123,Group”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“DAHDI/1-1”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“DAHDI/1-1”, “recordingcheck,20130424-201610,1366859768.0”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
– <DAHDI/1-1>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“DAHDI/1-1”, “”) in new stack
– Executing [600@ext-group:12] Set(“DAHDI/1-1”, “RingGroupMethod=ringall”) in new stack
– Executing [600@ext-group:13] Macro(“DAHDI/1-1”, “dial,15,tr,121-131-130-122-127-125-124-128-123”) in new stack
– Executing [s@macro-dial:1] GotoIf(“DAHDI/1-1”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“DAHDI/1-1”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘unknown’ number is 'unknown’
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 121 to extension map
– dialparties.agi: Added extension 131 to extension map
– dialparties.agi: Added extension 130 to extension map
– dialparties.agi: Added extension 122 to extension map
– dialparties.agi: Added extension 127 to extension map
– dialparties.agi: Added extension 125 to extension map
– dialparties.agi: Added extension 124 to extension map
– dialparties.agi: Added extension 128 to extension map
– dialparties.agi: Added extension 123 to extension map
– dialparties.agi: Extension 121 cf is disabled
– dialparties.agi: Extension 131 cf is disabled
– dialparties.agi: Extension 130 cf is disabled
– dialparties.agi: Extension 122 cf is disabled
– dialparties.agi: Extension 127 cf is disabled
– dialparties.agi: Extension 125 cf is disabled
– dialparties.agi: Extension 124 cf is disabled
– dialparties.agi: Extension 128 cf is disabled
– dialparties.agi: Extension 123 cf is disabled
– dialparties.agi: Extension 121 do not disturb is disabled
– dialparties.agi: Extension 131 do not disturb is disabled
– dialparties.agi: Extension 130 do not disturb is disabled
– dialparties.agi: Extension 122 do not disturb is disabled
– dialparties.agi: Extension 127 do not disturb is disabled
– dialparties.agi: Extension 125 do not disturb is disabled
– dialparties.agi: Extension 124 do not disturb is disabled
– dialparties.agi: Extension 128 do not disturb is disabled
– dialparties.agi: Extension 123 do not disturb is disabled
– dialparties.agi: DbDel CALLTRACE/121 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/131 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/130 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/122 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/127 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/125 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/124 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/128 - Caller ID is not defined
– dialparties.agi: DbDel CALLTRACE/123 - Caller ID is not defined
– dialparties.agi: Filtered ARG3: 121-131-130-122-127-125-124-128-123
– <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“DAHDI/1-1”, “SIP/121&SIP/131&SIP/130&SIP/122&SIP/127&SIP/125&SIP/124&SIP/128&SIP/123,15,trM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 121
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 131
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 130
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 122
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 127
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 125
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 124
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 128
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Called 123
– SIP/131-00000001 is ringing
– SIP/130-00000002 is ringing
– SIP/127-00000004 is ringing
– SIP/124-00000006 is ringing
– SIP/125-00000005 is ringing
– SIP/121-00000000 is ringing
– SIP/122-00000003 is ringing
– SIP/123-00000008 is ringing
– SIP/128-00000007 is ringing
– Nobody picked up in 15000 ms
– Executing [s@macro-dial:8] Set(“DAHDI/1-1”, “DIALSTATUS=NOANSWER”) in new stack
– Executing [s@macro-dial:9] GosubIf(“DAHDI/1-1”, “0?NOANSWER,1”) in new stack
– Executing [600@ext-group:14] Set(“DAHDI/1-1”, “RingGroupMethod=”) in new stack
– Executing [600@ext-group:15] GotoIf(“DAHDI/1-1”, “0?nodest”) in new stack
– Executing [600@ext-group:16] Set(“DAHDI/1-1”, “__NODEST=”) in new stack
– Executing [600@ext-group:17] DBdel(“DAHDI/1-1”, “BLKVM/600/DAHDI/1-1”) in new stack
– DBdel: family=BLKVM, key=600/DAHDI/1-1
– Executing [600@ext-group:18] Goto(“DAHDI/1-1”, “ext-local,vmu121,1”) in new stack
– Goto (ext-local,vmu121,1)
– Executing [vmu121@ext-local:1] Macro(“DAHDI/1-1”, “vm,121,NOANSWER,”) in new stack
– Executing [s@macro-vm:1] Macro(“DAHDI/1-1”, “user-callerid,SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“DAHDI/1-1”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“DAHDI/1-1”, “Using CallerID “” <>”) in new stack
– Executing [s@macro-vm:2] Set(“DAHDI/1-1”, “VMGAIN=”””) in new stack
– Executing [s@macro-vm:3] GotoIf(“DAHDI/1-1”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] GotoIf(“DAHDI/1-1”, “0?s-NOANSWER,1”) in new stack
– Executing [vmx@macro-vm:2] Set(“DAHDI/1-1”, “MODE=unavail”) in new stack
– Executing [vmx@macro-vm:3] GotoIf(“DAHDI/1-1”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [vmx@macro-vm:5] NoOp(“DAHDI/1-1”, “Checking if ext 121 is enabled: “) in new stack
– Executing [vmx@macro-vm:6] GotoIf(“DAHDI/1-1”, “1?s-NOANSWER,1”) in new stack
– Goto (macro-vm,s-NOANSWER,1)
– Executing [s-NOANSWER@macro-vm:1] Macro(“DAHDI/1-1”, “get-vmcontext,121”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“DAHDI/1-1”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“DAHDI/1-1”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“DAHDI/1-1”, “”) in new stack
– Executing [s-NOANSWER@macro-vm:2] VoiceMail(“DAHDI/1-1”, “121@default,u”””) in new stack
– <DAHDI/1-1> Playing ‘/var/spool/asterisk/voicemail/default/121/unavail.slin’ (language ‘en’)
– <DAHDI/1-1> Playing ‘vm-intro.gsm’ (language ‘en’)
– <DAHDI/1-1> Playing ‘beep.gsm’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/121/tmp/aJJ4ID format: wav49, 0x9045218
– x=1, open writing: /var/spool/asterisk/voicemail/default/121/tmp/aJJ4ID format: gsm, 0x9072240
– x=2, open writing: /var/spool/asterisk/voicemail/default/121/tmp/aJJ4ID format: wav, 0x904be68
– User hung up
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘DAHDI/1-1’ in macro ‘vm’
== Spawn extension (ext-local, vmu121, 1) exited non-zero on ‘DAHDI/1-1’
– Hungup 'DAHDI/1-1’
trixbox1*CLI>