I am working with another one of my company’s freepbx systems. The version of this system is: 12.0.76.2.
Most freepbx systems I have worked with, had sip trunks. There is no sip trunk configured on this system, only a dahdi trunk. Can freepbx get by with only a dahdi trunk? On outbound calls, I am getting the message that all circuits are busy, and to try again later. On an inbound call, I only get busy signal. Inbound call does not show up in the logs at all, so I believe it is not hitting the server at all. Here is a log of a failed outbound call. Any help would be greatly appreciated, and thank you in advance. I’ll be happy to provide more to look at, if needed.
MNC-FreePBX*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/3002-0000000d”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/3002-0000000d”, “TOUCH_MONITOR=1614103396.13”) in new stack
– Executing [[email protected]:2] Set(“SIP/3002-0000000d”, “AMPUSER=3002”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/3002-0000000d”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/3002-0000000d”, “1?Set(REALCALLERIDNUM=3002)”) in new stack
– Executing [[email protected]:5] Set(“SIP/3002-0000000d”, “AMPUSER=3002”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/3002-0000000d”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/3002-0000000d”, “AMPUSERCIDNAME=3002”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/3002-0000000d”, “0?report”) in new stack
– Executing [[email protected]:9] Set(“SIP/3002-0000000d”, “AMPUSERCID=3002”) in new stack
– Executing [[email protected]:10] Set(“SIP/3002-0000000d”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:11] Set(“SIP/3002-0000000d”, “CALLERID(all)=“3002” <3002>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/3002-0000000d”, “0?limit”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/3002-0000000d”, “1?Set(GROUP(concurrency_limit)=3002)”) in new stack
– Executing [[email protected]:14] GosubIf(“SIP/3002-0000000d”, “7?sub-ccss,s,1(from-internal,7028858629)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/3002-0000000d”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/3002-0000000d”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/3002-0000000d”, “0?monitor_config,1(from-internal,7028858629):monitor_default,1(from-internal,7028858629)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3002-0000000d”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/3002-0000000d”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/3002-0000000d”, “FALSE”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/3002-0000000d”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/3002-0000000d”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [[email protected]:30] Set(“SIP/3002-0000000d”, “CALLERID(number)=3002”) in new stack
– Executing [[email protected]:31] Set(“SIP/3002-0000000d”, “CALLERID(name)=3002”) in new stack
– Executing [[email protected]:32] Set(“SIP/3002-0000000d”, “CDR(cnum)=3002”) in new stack
– Executing [[email protected]:33] Set(“SIP/3002-0000000d”, “CDR(cnam)=3002”) in new stack
– Executing [[email protected]:34] Set(“SIP/3002-0000000d”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/3002-0000000d”, “sub-record-check,s,1(out,7028858629,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3002-0000000d”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/3002-0000000d”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/3002-0000000d”, “NOW=1614103396”) in new stack
– Executing [[email protected]:4] Set(“SIP/3002-0000000d”, “__DAY=23”) in new stack
– Executing [[email protected]:5] Set(“SIP/3002-0000000d”, “__MONTH=02”) in new stack
– Executing [[email protected]:6] Set(“SIP/3002-0000000d”, “__YEAR=2021”) in new stack
– Executing [[email protected]:7] Set(“SIP/3002-0000000d”, “__TIMESTR=20210223-100316”) in new stack
– Executing [[email protected]:8] Set(“SIP/3002-0000000d”, “__FROMEXTEN=3002”) in new stack
– Executing [[email protected]:9] Set(“SIP/3002-0000000d”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/3002-0000000d”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/3002-0000000d”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/3002-0000000d”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/3002-0000000d”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/3002-0000000d”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/3002-0000000d”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/3002-0000000d”, “Outbound Recording Check from 3002 to 7028858629”) in new stack
– Executing [[email protected]:2] Set(“SIP/3002-0000000d”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/3002-0000000d”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/3002-0000000d”, “recordcheck,1(dontcare,out,7028858629)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/3002-0000000d”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/3002-0000000d”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/3002-0000000d”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/3002-0000000d”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/3002-0000000d”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/3002-0000000d”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] Set(“SIP/3002-0000000d”, “_NODEST=”) in new stack
– Executing [[email protected]:6] Macro(“SIP/3002-0000000d”, “dialout-trunk,1,17028858629,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/3002-0000000d”, “DIAL_TRUNK=1”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/3002-0000000d”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/3002-0000000d”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/3002-0000000d”, “DIAL_NUMBER=17028858629”) in new stack
– Executing [[email protected]:5] Set(“SIP/3002-0000000d”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“SIP/3002-0000000d”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/3002-0000000d”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/3002-0000000d”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/3002-0000000d”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/3002-0000000d”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [[email protected]:11] Macro(“SIP/3002-0000000d”, “outbound-callerid,1”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/3002-0000000d”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/3002-0000000d”, “0?Set(REALCALLERIDNUM=3002)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/3002-0000000d”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/3002-0000000d”, “USEROUTCID=6123303002”) in new stack
– Executing [[email protected]:7] Set(“SIP/3002-0000000d”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/3002-0000000d”, “TRUNKOUTCID=6123383684”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/3002-0000000d”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/3002-0000000d”, “1?Set(CALLERID(all)=6123383684)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/3002-0000000d”, “1?Set(CALLERID(all)=6123303002)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/3002-0000000d”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/3002-0000000d”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/3002-0000000d”, “CDR(outbound_cnum)=6123303002”) in new stack
– Executing [[email protected]:19] Set(“SIP/3002-0000000d”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/3002-0000000d”, “0?sub-flp-1,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/3002-0000000d”, “OUTNUM=17028858629”) in new stack
– Executing [[email protected]:14] Set(“SIP/3002-0000000d”, “custom=DAHDI/g0”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/3002-0000000d”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/3002-0000000d”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/3002-0000000d”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/3002-0000000d”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/3002-0000000d”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/3002-0000000d”, “1?Set(CONNECTEDLINE(num,i)=17028858629)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/3002-0000000d”, “1?Set(CONNECTEDLINE(name,i)=CID:6123303002)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/3002-0000000d”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/3002-0000000d”, “DAHDI/g0/17028858629,300,Tt”) in new stack
[2021-02-23 10:03:16] WARNING[10444][C-0000000d]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘DAHDI’ (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [[email protected]:23] NoOp(“SIP/3002-0000000d”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
– Executing [[email protected]:24] GotoIf(“SIP/3002-0000000d”, “0?continue,1:s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [[email protected]:1] Set(“SIP/3002-0000000d”, “RC=34”) in new stack
– Executing [[email protected]:2] Goto(“SIP/3002-0000000d”, “34,1”) in new stack
– Goto (macro-dialout-trunk,34,1)
– Executing [[email protected]:1] Goto(“SIP/3002-0000000d”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] NoOp(“SIP/3002-0000000d”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
– Executing [[email protected]:2] Set(“SIP/3002-0000000d”, “CALLERID(number)=3002”) in new stack
– Executing [[email protected]:7] Macro(“SIP/3002-0000000d”, “outisbusy,”) in new stack
– Executing [[email protected]:1] Progress(“SIP/3002-0000000d”, “”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/3002-0000000d”, “0?emergency,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/3002-0000000d”, “0?intracompany,1”) in new stack
– Executing [[email protected]:4] Playback(“SIP/3002-0000000d”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/3002-0000000d> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
> 0x7f68dc2fac50 – Probation passed - setting RTP source address to 10.255.255.41:8000
[2021-02-23 10:03:16] NOTICE[10444][C-0000000d]: res_rtp_asterisk.c:4371 ast_rtp_read: Unknown RTP codec 95 received from ‘10.255.255.41:8000’
– <SIP/3002-0000000d> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
– Executing [[email protected]:5] Congestion(“SIP/3002-0000000d”, “20”) in new stack
[2021-02-23 10:03:20] WARNING[10444][C-0000000d]: channel.c:4860 ast_prod: Prodding channel ‘SIP/3002-0000000d’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/3002-0000000d’ in macro ‘outisbusy’
== Spawn extension (from-internal, 7028858629, 7) exited non-zero on ‘SIP/3002-0000000d’
– Executing [[email protected]:1] Hangup(“SIP/3002-0000000d”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/3002-0000000d’