Outbound Call Failure

Hi all,

An elastix box was struggling with 20 calls yesterday so we rebooted the system after discovering it hadn’t been rebooted for nearly a year. I haven’t been around the company too long so some parts have escaped my attention as of yet. This morning inbound calls are working find but outbound calls are failing with “all are circuits are busy” message. Can anyone help as i have a MD about ready to kill me i think!

Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [9XXXXXXX@from-internal:1] Macro(“SIP/214-0000024c”, “user-callerid,SKIPTTL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/214-0000024c”, “AMPUSER=214”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/214-0000024c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/214-0000024c”, “1?Set(REALCALLERIDNUM=214)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/214-0000024c”, “AMPUSER=214”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/214-0000024c”, “AMPUSERCIDNAME=Josh Breeze”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/214-0000024c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/214-0000024c”, “AMPUSERCID=214”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/214-0000024c”, “CALLERID(all)=“Josh Breeze” <214>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/214-0000024c”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/214-0000024c”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] Set(“SIP/214-0000024c”, “CALLERID(number)=214”) in new stack
– Executing [s@macro-user-callerid:20] Set(“SIP/214-0000024c”, “CALLERID(name)=Josh Breeze”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/214-0000024c”, “Using CallerID “Josh Breeze” <214>”) in new stack
– Executing [9XXXXXXX@from-internal:2] NoOp(“SIP/214-0000024c”, “Calling Out Route: 9_outside”) in new stack
– Executing [9XXXXXXX@from-internal:3] Set(“SIP/214-0000024c”, “MOHCLASS=default”) in new stack
– Executing [9XXXXXXX@from-internal:4] Set(“SIP/214-0000024c”, “_NODEST=”) in new stack
– Executing [9XXXXXXX@from-internal:5] Macro(“SIP/214-0000024c”, “record-enable,214,OUT,”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/214-0000024c”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“SIP/214-0000024c”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“SIP/214-0000024c”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [s@macro-record-enable:15] GotoIf(“SIP/214-0000024c”, “0?IN”) in new stack
– Executing [s@macro-record-enable:16] ExecIf(“SIP/214-0000024c”, “1?MacroExit()”) in new stack
– Executing [9XXXXXXX@from-internal:6] Macro(“SIP/214-0000024c”, “dialout-trunk,5,XXXXXXXXXXXX,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/214-0000024c”, “DIAL_TRUNK=5”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/214-0000024c”, “0?sub-pincheck,s,1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/214-0000024c”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/214-0000024c”, “DIAL_NUMBER=XXXXXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/214-0000024c”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/214-0000024c”, “OUTBOUND_GROUP=OUT_5”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/214-0000024c”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/214-0000024c”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/214-0000024c”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/214-0000024c”, “outbound-callerid,5”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/214-0000024c”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/214-0000024c”, “0?Set(REALCALLERIDNUM=214)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/214-0000024c”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/214-0000024c”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/214-0000024c”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/214-0000024c”, “TRUNKOUTCID=XXXXXXXXXXX”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/214-0000024c”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/214-0000024c”, “1?Set(CALLERID(all)=XXXXXXXXXXX)”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/214-0000024c”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/214-0000024c”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/214-0000024c”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/214-0000024c”, “0?sub-flp-5,s,1”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/214-0000024c”, “OUTNUM=XXXXXXXXXXXX”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/214-0000024c”, “custom=IAX2/DCJ Outbound”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/214-0000024c”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/214-0000024c”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/214-0000024c”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/214-0000024c”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/214-0000024c”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:19] Dial(“SIP/214-0000024c”, “IAX2/DCJ Outbound/XXXXXXXXXXXX,300,”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:20] NoOp(“SIP/214-0000024c”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20”) in new stack
– Executing [s@macro-dialout-trunk:21] Goto(“SIP/214-0000024c”, “s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/214-0000024c”, “RC=20”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/214-0000024c”, “20,1”) in new stack
– Goto (macro-dialout-trunk,20,1)
– Executing [20@macro-dialout-trunk:1] Goto(“SIP/214-0000024c”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/214-0000024c”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/214-0000024c”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:4] Set(“SIP/214-0000024c”, “CALLERID(number)=214”) in new stack
– Executing [9XXXXXXX@from-internal:7] Macro(“SIP/214-0000024c”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/214-0000024c”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/214-0000024c”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/214-0000024c”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/214-0000024c”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/214-0000024c> Playing ‘all-circuits-busy-now.alaw’ (language ‘en’)
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘SIP/214-0000024c’ in macro ‘outisbusy’
== Spawn extension (from-internal, 9XXXXXXX, 7) exited non-zero on ‘SIP/214-0000024c’
– Executing [h@from-internal:1] Macro(“SIP/214-0000024c”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/214-0000024c”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/214-0000024c”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/214-0000024c”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/214-0000024c”, “MEETME_RECORDINGFILE=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/214-0000024c”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/214-0000024c”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/214-0000024c”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] NoOp(“SIP/214-0000024c”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:26] GotoIf(“SIP/214-0000024c”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,29)
– Executing [s@macro-hangupcall:29] GotoIf(“SIP/214-0000024c”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,32)
– Executing [s@macro-hangupcall:32] GotoIf(“SIP/214-0000024c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,34)
– Executing [s@macro-hangupcall:34] Hangup(“SIP/214-0000024c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on ‘SIP/214-0000024c’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/214-0000024c’

Seems like your IAX2 peer isn’t available: [quote]IAX2/DCJ Outbound/XXXXXXXXXXXX,300,") in new stack
== Everyone is busy/congested at this time (1:0/0[/quote]
Check your connection.

Thankyou i did get it fixed, turns out i was worrying about the asterisk setup and it was the DNS server settings being incorrect.