I have an Asterisk 1.6.2.7 system with a Digium TDM card with 2 FXO ports and 2 FXS ports. I think the card is in good shape. All its port lights are green, and I can make internal calls (within Asterisk) using a 2500 set connected to one of the FXS ports.
I have made a connection from one of the FXO ports to my company’s phone network, but I can not make outbound calls. I receive an “all circuits are busy” message. I can not make inbound calls either, but I will save that for later.
In FreePBX, I have set up a trunk and then linked an outbound route to it. In /var/log/asterisk/full, there is the following snippet:
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“DAHDI/1-1”, “OUTNUM=92482”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“DAHDI/1-1”, “custom=DAHDI/g0”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“DAHDI/1-1”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:16] Macro(“DAHDI/1-1”, “dialout-trunk-predial-hook,”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“DAHDI/1-1”, “”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:17] GotoIf(“DAHDI/1-1”, “0?bypass,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“DAHDI/1-1”, “0?customtrunk”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:19] Dial(“DAHDI/1-1”, “DAHDI/g0/92482,300,”) in new stack
[Mar 7 17:13:02] WARNING[2837] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)
[Mar 7 17:13:02] VERBOSE[2837] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:20] NoOp(“DAHDI/1-1”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-dialout-trunk:21] Goto(“DAHDI/1-1”, “s-CHANUNAVAIL,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“DAHDI/1-1”, “RC=0”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“DAHDI/1-1”, “0,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Goto (macro-dialout-trunk,0,1)
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [0@macro-dialout-trunk:1] Goto(“DAHDI/1-1”, “continue,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [continue@macro-dialout-trunk:1] GotoIf(“DAHDI/1-1”, “1?noreport”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Goto (macro-dialout-trunk,continue,3)
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [continue@macro-dialout-trunk:3] NoOp(“DAHDI/1-1”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [continue@macro-dialout-trunk:4] Set(“DAHDI/1-1”, “CALLERID(number)=”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [92482@from-internal:5] Macro(“DAHDI/1-1”, “outisbusy,”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-outisbusy:1] Progress(“DAHDI/1-1”, “”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-outisbusy:2] GotoIf(“DAHDI/1-1”, “0?emergency,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-outisbusy:3] GotoIf(“DAHDI/1-1”, “0?intracompany,1”) in new stack
[Mar 7 17:13:02] VERBOSE[2837] pbx.c: – Executing [s@macro-outisbusy:4] Playback(“DAHDI/1-1”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
This is my first post on this forum. I do not know yet whether I can attach any files to provide better information.
Thanks in advance for any help.
aghorn