Dahdi Card not connecting

Hi all,

I have a A200 Sangoma card installed on my FreePBX System.

PBX Firmware: 6.12.65-29
PBX Service Pack: 1.0.0.0
FreePBX 13.0.188.1
Current Asterisk Version: 13.9.1

I can confirm I can get a ringtone but nothing appears on the other end.

What could this be down to?

Below is the output of an outbound call made through the Dahdi Card:

Connected to Asterisk 13.9.1 currently running on localhost (pid = 2163)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [XXXXXXXXXXX@from-internal:1] Macro(“SIP/XXX-00000001”, “user-callerid,LIMIT”) in new s tack
– Executing [s@macro-user-callerid:1] Set(“SIP/XXX-00000001”, “TOUCH_MONITOR=1474012450.16”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/XXX-00000001”, “AMPUSER=XXX”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/XXX-00000001”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/XXX-00000001”, “1?Set(REALCALLERIDNUM=XXX)”) in n ew stack
– Executing [s@macro-user-callerid:5] Set(“SIP/XXX-00000001”, “AMPUSER=XXX”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/XXX-00000001”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/XXX-00000001”, “AMPUSERCIDNAME=Support”) in new stac k
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/XXX-00000001”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/XXX-00000001”, “AMPUSERCID=XXX”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/XXX-00000001”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/XXX-00000001”, "CALLERID(all)=“Support” ") in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/XXX-00000001”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/XXX-00000001”, “1?Set(GROUP(concurrency_limit)=2 43)”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/XXX-00000001”, “0?Set(CHANNEL(language)=)”) in n ew stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/XXX-00000001”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“SIP/XXX-00000001”, “CALLERID(number)=XXX”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/XXX-00000001”, “CALLERID(name)=Support”) in new sta ck
– Executing [s@macro-user-callerid:31] GotoIf(“SIP/XXX-00000001”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/XXX-00000001”, “CDR(cnam)=Support”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/XXX-00000001”, “CDR(cnum)=XXX”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/XXX-00000001”, “CHANNEL(language)=en”) in new stack
– Executing [XXXXXXXXXXX@from-internal:2] Set(“SIP/XXX-00000001”, “ROUTEUSER=XXX”) in new stack
– Executing [XXXXXXXXXXX@from-internal:3] GotoIf(“SIP/XXX-00000001”, “1?notblind”) in new stack
– Goto (from-internal,XXXXXXXXXXX,6)
– Executing [XXXXXXXXXXX@from-internal:6] GotoIf(“SIP/XXX-00000001”, “1?restrictedroute-139d69cbaf5 e3a7b727631813c8f6954,XXXXXXXXXXX,2:outbound-allroutes,XXXXXXXXXXX,2”) in new stack
– Goto (restrictedroute-139d69cbaf5e3a7b727631813c8f6954,XXXXXXXXXXX,2)
– Executing [XXXXXXXXXXX@restrictedroute-139d69cbaf5e3a7b727631813c8f6954:2] Gosub(“SIP/XXX-0000000 1”, “sub-record-check,s,1(out,XXXXXXXXXXX,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/XXX-00000001”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/XXX-00000001”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/XXX-00000001”, “NOW=1474012450”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/XXX-00000001”, “__DAY=16”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/XXX-00000001”, “__MONTH=09”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/XXX-00000001”, “__YEAR=2016”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/XXX-00000001”, “__TIMESTR=20160916-085410”) in new stac k
– Executing [s@sub-record-check:8] Set(“SIP/XXX-00000001”, “__FROMEXTEN=XXX”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/XXX-00000001”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/XXX-00000001”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/XXX-00000001”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/XXX-00000001”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/XXX-00000001”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/XXX-00000001”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/XXX-00000001”, “1?sub-record-check,out,1”) in new s tack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] NoOp(“SIP/XXX-00000001”, “Outbound Recording Check from XXX to XXXXXXXXXXX”) in new stack
– Executing [out@sub-record-check:2] Set(“SIP/XXX-00000001”, “RECMODE=dontcare”) in new stack
– Executing [out@sub-record-check:3] ExecIf(“SIP/XXX-00000001”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [out@sub-record-check:7] Gosub(“SIP/XXX-00000001”, “recordcheck,1(dontcare,out,07983497 629)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/XXX-00000001”, “Starting recording check aga inst dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/XXX-00000001”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/XXX-00000001”, “”) in new stack
– Executing [out@sub-record-check:8] Return(“SIP/XXX-00000001”, “”) in new stack
– Executing [XXXXXXXXXXX@restrictedroute-139d69cbaf5e3a7b727631813c8f6954:3] ExecIf(“SIP/XXX-000000 01”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [XXXXXXXXXXX@restrictedroute-139d69cbaf5e3a7b727631813c8f6954:4] Set(“SIP/XXX-00000001” , “MOHCLASS=default”) in new stack
– Executing [XXXXXXXXXXX@restrictedroute-139d69cbaf5e3a7b727631813c8f6954:5] Set(“SIP/XXX-00000001” , “_NODEST=”) in new stack
– Executing [XXXXXXXXXXX@restrictedroute-139d69cbaf5e3a7b727631813c8f6954:6] Macro(“SIP/XXX-0000000 1”, “dialout-trunk,1,XXXXXXXXXXX,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/XXX-00000001”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/XXX-00000001”, “0?sub-pincheck,s,1()”) in new st ack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/XXX-00000001”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/XXX-00000001”, “DIAL_NUMBER=XXXXXXXXXXX”) in new sta ck
– Executing [s@macro-dialout-trunk:5] Set(“SIP/XXX-00000001”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stac k
– Executing [s@macro-dialout-trunk:6] Set(“SIP/XXX-00000001”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/XXX-00000001”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/XXX-00000001”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/XXX-00000001”, “DIAL_TRUNK_OPTIONS=TtWw”) in new st ack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/XXX-00000001”, “outbound-callerid,1”) in new stac k
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/XXX-00000001”, "0?Set(CALLERPRES(name-pres)=) ") in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERPRES(num-pres)=)” ) in new stack
– Executing [s@macro-outbound-callerid:3] ExecIf(“SIP/XXX-00000001”, “0?Set(REALCALLERIDNUM=XXX)”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/XXX-00000001”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [s@macro-outbound-callerid:7] Set(“SIP/XXX-00000001”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/XXX-00000001”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] Set(“SIP/XXX-00000001”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] GotoIf(“SIP/XXX-00000001”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,15)
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERID(all)=)”) in n ew stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERID(all)=)”) in n ew stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERID(all)=)”) in n ew stack
– Executing [s@macro-outbound-callerid:18] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERPRES(name-pres)= prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:19] ExecIf(“SIP/XXX-00000001”, “0?Set(CALLERPRES(num-pres)=p rohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:20] Set(“SIP/XXX-00000001”, “CDR(outbound_cnum)=XXX”) in new stack
– Executing [s@macro-outbound-callerid:21] Set(“SIP/XXX-00000001”, “CDR(outbound_cnam)=Support”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/XXX-00000001”, “1?sub-flp-1,s,1()”) in new stac k
– Executing [s@sub-flp-1:1] ExecIf(“SIP/XXX-00000001”, “1?Return()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/XXX-00000001”, “OUTNUM=XXXXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/XXX-00000001”, “custom=DAHDI/r0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/XXX-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmu sic^default)TtWw)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/XXX-00000001”, “0?Set(DIAL_TRUNK_OPTIONS=TtWwM(c onfirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/XXX-00000001”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/XXX-00000001”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/XXX-00000001”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/XXX-00000001”, “1?Set(CONNECTEDLINE(num,i)=07983 497629)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/XXX-00000001”, “1?Set(CONNECTEDLINE(name,i)=CID: XXX)”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/XXX-00000001”, “0?Set(CONNECTEDLINE(name,i)=CID: (Hidden)XXX)”) in new stack
– Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/XXX-00000001”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:23] Dial(“SIP/XXX-00000001”, “DAHDI/r0/XXXXXXXXXXX,300,TtWw”) in new stack
– Called DAHDI/r0/XXXXXXXXXXX
– DAHDI/3-1 is ringing
– DAHDI/3-1 is ringing
– DAHDI/3-1 is ringing

Much appreciated

Thanks,
Mohammed

Hello,

  1. Sangoma uses Wanpipe Driver… Have you installed and configured them?
    http://wiki.sangoma.com/Wanpipe-Driver

  2. When you connected the line in the port, does the voltage change?

Regards,

Are you sure your PSTN line connecting with a right port? if fxs, you have to plugin the 12v cable for power supply.

I don’t understand your assertion. Actually, I just don’t understand what you hope we can do.

From the trace, we see that the card is working and is ringing, so the internal connection to the card seems to be working. We also see that you are using “round robin” group 0, which is ringing your port 3.

What do you have plugged into port 3 that would tell you that you are generating a ring tone.

We need more information to be able to help you. From the dump, at least, everything from a FreePBX perspective looks like it’s working.