All circuits are busy now

/var/log/asterisk/full output below:

[2022-02-14 05:50:27] VERBOSE[17611] netsock2.c: Using SIP RTP Audio TOS bits 184
[2022-02-14 05:50:27] VERBOSE[17611] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2022-02-14 05:50:27] VERBOSE[17611] netsock2.c: Using SIP RTP Audio CoS mark 5
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/121-00000000”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2022-02-14 05:50:27] WARNING[26537][C-00000001] app_macro.c: Macro() is deprecated and will be removed from a future version of Asterisk.
[2022-02-14 05:50:27] WARNING[26537][C-00000001] app_macro.c: Dialplan should be updated to use Gosub instead.
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] Set(“PJSIP/121-00000000”, “TOUCH_MONITOR=1644835827.0”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] Set(“PJSIP/121-00000000”, “CHANCONTEXT=”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:3] Set(“PJSIP/121-00000000”, “CHANCONTEXT=”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] Set(“PJSIP/121-00000000”, “CHANEXTENCONTEXT=121-00000000”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] Set(“PJSIP/121-00000000”, “CHANEXTEN=121-00000000”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:6] Set(“PJSIP/121-00000000”, “CALLERID(number)=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:7] Set(“PJSIP/121-00000000”, “AMPUSER=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:8] Set(“PJSIP/121-00000000”, “HOTDESCKCHAN=121-00000000”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:9] Set(“PJSIP/121-00000000”, “HOTDESKEXTEN=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:10] Set(“PJSIP/121-00000000”, “HOTDESKCALL=0”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:11] ExecIf(“PJSIP/121-00000000”, “0?Set(HOTDESKCALL=1)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:12] ExecIf(“PJSIP/121-00000000”, “0?Set(CALLERID(name)=)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:13] GotoIf(“PJSIP/121-00000000”, “0?report”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:14] ExecIf(“PJSIP/121-00000000”, “1?Set(REALCALLERIDNUM=121)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:15] Set(“PJSIP/121-00000000”, “AMPUSER=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:16] GotoIf(“PJSIP/121-00000000”, “0?limit”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:17] Set(“PJSIP/121-00000000”, “AMPUSERCIDNAME=Dave Bowles”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:18] ExecIf(“PJSIP/121-00000000”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:19] GotoIf(“PJSIP/121-00000000”, “0?report”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:20] Set(“PJSIP/121-00000000”, “AMPUSERCID=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:21] Set(“PJSIP/121-00000000”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:22] Set(“PJSIP/121-00000000”, “CALLERID(all)=“Dave Bowles” <121>”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:23] ExecIf(“PJSIP/121-00000000”, “0?Set(CUSDIAL=)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:24] ExecIf(“PJSIP/121-00000000”, “0?Set(CALLERID(all)=“Dave Bowles” <121>)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:25] GotoIf(“PJSIP/121-00000000”, “0?limit”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:26] ExecIf(“PJSIP/121-00000000”, “1?Set(GROUP(concurrency_limit)=121)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:27] ExecIf(“PJSIP/121-00000000”, “0?Set(CHANNEL(language)=)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:28] NoOp(“PJSIP/121-00000000”, “Macro Depth is 1”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:29] GotoIf(“PJSIP/121-00000000”, “1?report2:macroerror”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,30)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:30] GotoIf(“PJSIP/121-00000000”, “1?continue”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (macro-user-callerid,s,49)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:49] Set(“PJSIP/121-00000000”, “CALLERID(number)=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:50] Set(“PJSIP/121-00000000”, “CALLERID(name)=Dave Bowles”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:51] GotoIf(“PJSIP/121-00000000”, “0?cnum”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:52] Set(“PJSIP/121-00000000”, “CDR(cnam)=Dave Bowles”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:53] Set(“PJSIP/121-00000000”, “CDR(cnum)=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:54] Set(“PJSIP/121-00000000”, “CHANNEL(language)=en”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] Gosub(“PJSIP/121-00000000”, “sub-record-check,s,1(out,5194662486,dontcare)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/121-00000000”, “0?initialized”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] Set(“PJSIP/121-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:3] Set(“PJSIP/121-00000000”, “NOW=1644835827”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] Set(“PJSIP/121-00000000”, “__DAY=14”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] Set(“PJSIP/121-00000000”, “__MONTH=02”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:6] Set(“PJSIP/121-00000000”, “__YEAR=2022”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:7] Set(“PJSIP/121-00000000”, “__TIMESTR=20220214-055027”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:8] Set(“PJSIP/121-00000000”, “__FROMEXTEN=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:9] Set(“PJSIP/121-00000000”, “__MON_FMT=wav”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:10] NoOp(“PJSIP/121-00000000”, “Recordings initialized”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:11] ExecIf(“PJSIP/121-00000000”, “0?Set(ARG3=dontcare)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:12] Set(“PJSIP/121-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:13] ExecIf(“PJSIP/121-00000000”, “0?Set(REC_STATUS=NO)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:14] GotoIf(“PJSIP/121-00000000”, “3?checkaction”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (sub-record-check,s,17)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:17] GotoIf(“PJSIP/121-00000000”, “1?sub-record-check,out,1”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (sub-record-check,out,1)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/121-00000000”, “Outbound Recording Check from 121 to 5194662486”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] Set(“PJSIP/121-00000000”, “RECMODE=force”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]eck:3] ExecIf(“PJSIP/121-00000000”, “0?Goto(routewins)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] ExecIf(“PJSIP/121-00000000”, “0?Goto(routewins)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] Gosub(“PJSIP/121-00000000”, “recordcheck,1(force,out,5194662486)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/121-00000000”, “Starting recording check against force”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] Goto(“PJSIP/121-00000000”, “force”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] Set(“PJSIP/121-00000000”, “__REC_POLICY_MODE=FORCE”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:6] GotoIf(“PJSIP/121-00000000”, “1?startrec”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:16] NoOp(“PJSIP/121-00000000”, “Starting recording: out, 5194662486”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:17] Set(“PJSIP/121-00000000”, “__CALLFILENAME=out-5194662486-121-20220214-055027-1644835827.0”) in new stack
[2022-02-14 05:50:27] WARNING[26537][C-00000001] func_strings.c: EVAL requires an argument: EVAL()
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:18] MixMonitor(“PJSIP/121-00000000”, “2022/02/14/out-5194662486-121-20220214-055027-1644835827.0.wav,abi(LOCAL_MIXMON_ID),”) in new stack
[2022-02-14 05:50:27] VERBOSE[26539][C-00000001] app_mixmonitor.c: Begin MixMonitor Recording PJSIP/121-00000000
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:19] Set(“PJSIP/121-00000000”, “__MIXMON_ID=0x7f38d80315d0”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:20] Set(“PJSIP/121-00000000”, “__RECORD_ID=PJSIP/121-00000000”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:21] Set(“PJSIP/121-00000000”, “__REC_STATUS=RECORDING”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:22] Set(“PJSIP/121-00000000”, “CDR(recordingfile)=out-5194662486-121-20220214-055027-1644835827.0.wav”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:23] Return(“PJSIP/121-00000000”, “”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:6] Return(“PJSIP/121-00000000”, “”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/121-00000000”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] Set(“PJSIP/121-00000000”, “_ROUTEID=3”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] Set(“PJSIP/121-00000000”, “_ROUTENAME=SIPStation-Out”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:6] Set(“PJSIP/121-00000000”, “MOHCLASS=default”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:7] Set(“PJSIP/121-00000000”, “_CALLERIDNAMEINTERNAL=Dave Bowles”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:8] Set(“PJSIP/121-00000000”, “_CALLERIDNUMINTERNAL=121”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:9] Set(“PJSIP/121-00000000”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:10] Set(“PJSIP/121-00000000”, “_NODEST=”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:11] Macro(“PJSIP/121-00000000”, “outisbusy,”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] Progress(“PJSIP/121-00000000”, “”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:2] GotoIf(“PJSIP/121-00000000”, “0?emergency,1”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:3] GotoIf(“PJSIP/121-00000000”, “0?intracompany,1”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] Playback(“PJSIP/121-00000000”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack
[2022-02-14 05:50:27] VERBOSE[26537][C-00000001] file.c: <PJSIP/121-00000000> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
[2022-02-14 05:50:28] VERBOSE[26537][C-00000001] file.c: <PJSIP/121-00000000> Playing ‘please-try-call-later.ulaw’ (language ‘en’)
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/121-00000000”, “hangupcall”) in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/121-00000000”, “1?theend”) in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/121-00000000”, “0?Set(CDR(recordingfile)=)”) in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:4] NoOp(“PJSIP/121-00000000”, " montior file= /var/spool/asterisk/monitor/2022/02/14/out-5194662486-121-20220214-055027-1644835827.0.wav") in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:5] GotoIf(“PJSIP/121-00000000”, “1?skipagi”) in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Executing [[email protected]:7] Hangup(“PJSIP/121-00000000”, “”) in new stack
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/121-00000000’ in macro ‘hangupcall’
[2022-02-14 05:50:29] VERBOSE[26537][C-00000001] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/121-00000000’
[2022-02-14 05:50:29] VERBOSE[26539][C-00000001] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2022-02-14 05:50:29] VERBOSE[26539][C-00000001] app_mixmonitor.c: End MixMonitor Recording PJSIP/121-00000000

Can you successfully manually call the number using the same trunk without using a Call file?
For experts with call files (not I anylonger), you could post your call file that you are using.

Sorry, I’m a FreePBX noob. Where would I find the “Call file”?

You are just manually dialing out or using a Call file?

Manually dialing. This work find when I was using the SIPStation trial. Switched to paid and it worked for a few days then stopped. I removed the trial trunks.

… worked fine…

Many log NOTICE messages from: res_pjsip/pjsip_distributor.c: Request:

  • INVITE - No matching endpoint found
  • REGISTER - No matching endpoint found
  • REGISTER - Failed to authenticate
  • OPTIONS - No matching endpoint found

Share logfiles using pasebin.freepbx.org or some other similar service as a kindness for those attempting to assist. It looks like you have no trunks configured for the outbound route in use.

@bowlesdr In Connectivity > Outbound Routes, edit your SIPStation-Out and check Trunk Sequence for Matched Routes. Are your trunks listed there? If not, add them.

[[2022-02-15 14:27:14] VERBOSE[8541] netsock2.c: Using SIP RTP Audio TOS bits... - 7308179a](/var/log/asterisk/full ==> When placing a failed call)

Problem persists

I notice a number of lines with this:

[[email protected]:3]

That’s the phone number I used during my free trial. I’m now a paying subscriber and the number should be 226-778-9444. I cannot figure out where to replace the old number.

There will be different rules needed to successfully route 1NXXNXXXXXX and/or NXXNXXXXXX to any carrier.


There was nothing in the Trunk Sequence for Matched Routes so I picked the two available values from the drop-down. The end of those values is removed from the image I previously posted.

@dicko, my apologies, I’m not following what you wrote.

That’s the number being called by an internal user. I can’t think why it would have been stored, but you probably need to remove it from the originating phone, or the brain of the phone’s user.

You post various ‘numbers’ in various formats

12267785567
226-778-9444
5194662486

The carrier might or might not honor 10 or 11 digit NANP number dialing received from your trunks, equally your outbound routes might or might not rewrite your users dialing 10 or 11 digit numbers to be copacetic with what is acceptable, all the above need to be in harmony.

Everything is working properly again. Thank you all for your help!

2267785567 was not the previous number I was using during my free trial. It’s the number I’m calling to test if outgoing calls work.

The addition of the “Trunk Sequence for Matched Routes” didn’t stick for some reason. Did it again and now things are working.

My inbound route showed the old test number so I deleted it. I doubt this was part of the issue.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.