DAHDI calls not ringing

We have a TDM400 card here. The DAHDI channels are set up and show up correctly. However when a call is made outboudn the line is picked up (it is busy when called) but the called party does not ring nor does the freepbx system detect it as ringing. [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:1] Macro("SIP/2203-00000002", "user-callerid,SKIPTTL,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/2203-00000002", "AMPUSER=2203") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2203-00000002", "0?report") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2203-00000002", "1?Set(REALCALLERIDNUM=2203)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/2203-00000002", "AMPUSER=2203") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/2203-00000002", "AMPUSERCIDNAME=USER1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2203-00000002", "0?report") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/2203-00000002", "AMPUSERCID=2203") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/2203-00000002", "CALLERID(all)="USER1" <2203>") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2203-00000002", "0?Set(CHANNEL(language)=)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/2203-00000002", "1?continue") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-user-callerid,s,19) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/2203-00000002", "CALLERID(number)=2203") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/2203-00000002", "CALLERID(name)=USER1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/2203-00000002", "Using CallerID "USER1" <2203>") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:2] NoOp("SIP/2203-00000002", "Calling Out Route: pstn-out") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:3] Set("SIP/2203-00000002", "MOHCLASS=default") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:4] ExecIf("SIP/2203-00000002", "1?Set(TRUNKCIDOVERRIDE=5074542585)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:5] Set("SIP/2203-00000002", "_NODEST=") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:6] Macro("SIP/2203-00000002", "record-enable,2203,OUT,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/2203-00000002", "1?check") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-record-enable,s,4) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/2203-00000002", "0?MacroExit()") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/2203-00000002", "0?Group:OUT") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-record-enable,s,15) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/2203-00000002", "0?IN") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:16] ExecIf("SIP/2203-00000002", "0?MacroExit()") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:17] NoOp("SIP/2203-00000002", "Recording enable for 2203") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:18] Set("SIP/2203-00000002", "CALLFILENAME=OUT2203-20120910-134530-1347302730.4") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:19] Goto("SIP/2203-00000002", "record") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-record-enable,s,23) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:23] MixMonitor("SIP/2203-00000002", "/home/voicemial/voicemailOUT2203-20120910-134530-1347302730.4.wav,,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-record-enable:24] MacroExit("SIP/2203-00000002", "") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [xxxxxxx@from-internal:7] Macro("SIP/2203-00000002", "dialout-trunk,1,xxxxxxx,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/2203-00000002", "DIAL_TRUNK=1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2203-00000002", "0?sub-pincheck,s,1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2203-00000002", "0?disabletrunk,1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/2203-00000002", "DIAL_NUMBER=xxxxxxx") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/2203-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/2203-00000002", "OUTBOUND_GROUP=OUT_1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2203-00000002", "0?nomax") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2203-00000002", "0?chanfull") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2203-00000002", "0?skipoutcid") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/2203-00000002", "DIAL_TRUNK_OPTIONS=") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2203-00000002", "outbound-callerid,1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2203-00000002", "0?Set(CALLERPRES()=)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2203-00000002", "0?Set(REALCALLERIDNUM=2203)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2203-00000002", "1?normcid") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-outbound-callerid,s,6) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/2203-00000002", "USEROUTCID=") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/2203-00000002", "EMERGENCYCID=") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/2203-00000002", "TRUNKOUTCID="LHA" 507-454-2585") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2203-00000002", "1?trunkcid") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Goto (macro-outbound-callerid,s,12) [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2203-00000002", "1?Set(CALLERID(all)="LHA" 507-454-2585)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2203-00000002", "0?Set(CALLERID(all)=)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2203-00000002", "1?Set(CALLERID(all)="LHA" 507-454-2585)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2203-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2203-00000002", "1?sub-flp-1,s,1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@sub-flp-1:1] ExecIf("SIP/2203-00000002", "0?Set(TARGET_FLP_1=1xxxxxxx)") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@sub-flp-1:2] GotoIf("SIP/2203-00000002", "0?match") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@sub-flp-1:3] Return("SIP/2203-00000002", "") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/2203-00000002", "OUTNUM=xxxxxxx") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/2203-00000002", "custom=DAHDI/2") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2203-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/2203-00000002", "dialout-trunk-predial-hook,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2203-00000002", "") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2203-00000002", "0?bypass,1") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2203-00000002", "0?customtrunk") in new stack [2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2203-00000002", "DAHDI/2/xxxxxxx,300,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] app_dial.c: -- Called DAHDI/2/xxxxxxx [2012-09-10 13:48:57] VERBOSE[5117] sig_analog.c: -- Hanging up on 'DAHDI/2-1' [2012-09-10 13:48:57] VERBOSE[5117] chan_dahdi.c: -- Hungup 'DAHDI/2-1' [2012-09-10 13:48:57] VERBOSE[5117] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/2203-00000002' in macro 'dialout-trunk' [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: == Spawn extension (from-internal, xxxxxxx, 7) exited non-zero on 'SIP/2203-00000002' [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/2203-00000002", "hangupcall") in new stack [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2203-00000002", "1?skiprg") in new stack [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Goto (macro-hangupcall,s,4) [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2203-00000002", "1?skipblkvm") in new stack [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Goto (macro-hangupcall,s,7) [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2203-00000002", "1?theend") in new stack [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Goto (macro-hangupcall,s,9) [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/2203-00000002", "") in new stack [2012-09-10 13:48:57] VERBOSE[5117] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2203-00000002' in macro 'hangupcall' [2012-09-10 13:48:57] VERBOSE[5117] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2203-00000002'

I am not sure which other files you might want to see based on the fact the analog port is taken off-hook so the dahdi config seems correct.

Is the TDM 400 still supported?

You need to provide the correct values for the numbers you have quoted as zeroes, as, without FXO or FXS modules, the card is useless. To avoid too much research, are you using FXS or FXO modules. If FXS, have you connected the 12 volt feeds?

What is at the other end of the wire. For FXO modules, how does the other end signal answer and disconnect, and can you confirm that it is loop start?

You do need to provide the dahdi configuration files. If the error isn’t obvious, you will need to get driver traces.

The only information that is vaguely useful in the trace you provided is:

[2012-09-10 13:45:30] VERBOSE[5117] pbx.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2203-00000002", "DAHDI/2/xxxxxxx,300,") in new stack [2012-09-10 13:45:30] VERBOSE[5117] app_dial.c: -- Called DAHDI/2/xxxxxxx [2012-09-10 13:48:57] VERBOSE[5117] sig_analog.c: -- Hanging up on 'DAHDI/2-1' [2012-09-10 13:48:57] VERBOSE[5117] chan_dahdi.c: -- Hungup 'DAHDI/2-1'

It would have helped if you had eliminated the GUI by using a simple dialplan, with just a Dial line.