New user. all-circuits-busy-now, I've tried everything

I was following a guide for setting up a PBX server, I did this in the past successfully but now I can’t get a call to connect no matter what I do. I went with FreePBX, installed it on centOS, no problems, set up a PJSIP trunk with flowroute, it registered on there end and on mine, set up the outbound line to the trunk I created (only 1), set up an extension, used the extension to log in on Zoiper, all good, I can call the PBX and do things like use the echo test. When I try to make a call to any number, all-circuits-busy-now.g277.
I have a dial plan set, I set IP auth on my trunk providers side, i’ve tried with and without ip AUTH using a password instead, same result, I can echo test but can’t call out. The extention is number 58.

The only thing I can think of is this error “Unable to create request with auth. No auth credentials for realm(s) ‘sip(DOT)flowroute(DOT)com’ in challenge.” I don’t understand why I’m getting that when I have auth disabled and the IP for the server is allowed on flowroutes side under IP auth.

Here are the logs, I don’t know how to read them, if someone could point me in the right direction I would appreciate it. (replaced my IP with XXX.XXX.XXX.XXX)
//These are my comments, not part of the log

200480[2021-02-12 02:17:07] VERBOSE[1888] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘XXX.XXX.XXX.XXX’

200481[2021-02-12 02:17:07] VERBOSE[1888] netsock2.c: Using SIP RTP Audio TOS bits 184

200482[2021-02-12 02:17:07] VERBOSE[1888] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.

200483[2021-02-12 02:17:07] VERBOSE[1888] netsock2.c: Using SIP RTP Audio CoS mark 5
//It looks like it’s auth’ing the extention here?
200484[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:1] Macro(“PJSIP/58-0000000c”, “user-callerid,LIMIT,EXTERNAL,”) in new stack

200485[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/58-0000000c”, “TOUCH_MONITOR=1613096227.12”) in new stack

200486[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/58-0000000c”, “AMPUSER=58”) in new stack

200487[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/58-0000000c”, “HOTDESCKCHAN=58-0000000c”) in new stack

200488[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/58-0000000c”, “HOTDESKEXTEN=58”) in new stack

200489[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/58-0000000c”, “HOTDESKCALL=0”) in new stack

200490[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“PJSIP/58-0000000c”, “0?Set(HOTDESKCALL=1)”) in new stack

200491[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERID(name)=)”) in new stack

200492[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/58-0000000c”, “0?report”) in new stack

200493[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“PJSIP/58-0000000c”, “1?Set(REALCALLERIDNUM=58)”) in new stack

200494[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/58-0000000c”, “AMPUSER=58”) in new stack

200495[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“PJSIP/58-0000000c”, “0?limit”) in new stack

200496[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/58-0000000c”, “AMPUSERCIDNAME=a”) in new stack

200497[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/58-0000000c”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack

200498[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/58-0000000c”, “1?report”) in new stack

200499[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,23)

200500[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:23] NoOp(“PJSIP/58-0000000c”, “Macro Depth is 1”) in new stack
//looks like it hit a ‘macroerror’ but I have no idea what this means
200501[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“PJSIP/58-0000000c”, “1?report2:macroerror”) in new stack

200502[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,25)

200503[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/58-0000000c”, “1?continue”) in new stack

200504[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-user-callerid,s,44)

200505[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:44] Set(“PJSIP/58-0000000c”, “CALLERID(number)=58”) in new stack
//even thought it had a ‘macroerror’ it seems to be working, extention number is 58, name is a
200506[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:45] Set(“PJSIP/58-0000000c”, “CALLERID(name)=a”) in new stack

200507[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:46] GotoIf(“PJSIP/58-0000000c”, “0?cnum”) in new stack

200508[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:47] Set(“PJSIP/58-0000000c”, “CDR(cnam)=a”) in new stack

200509[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:48] Set(“PJSIP/58-0000000c”, “CDR(cnum)=58”) in new stack

200510[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-user-callerid:49] Set(“PJSIP/58-0000000c”, “CHANNEL(language)=en”) in new stack
//12136210002 is the number i’m dialing
200511[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:2] Gosub(“PJSIP/58-0000000c”, “sub-record-check,s,1(out,12136210002,dontcare)”) in new stack

200512[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/58-0000000c”, “0?initialized”) in new stack

200513[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/58-0000000c”, “__REC_STATUS=INITIALIZED”) in new stack

200514[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/58-0000000c”, “NOW=1613096227”) in new stack

200515[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/58-0000000c”, “__DAY=12”) in new stack

200516[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/58-0000000c”, “__MONTH=02”) in new stack

200517[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/58-0000000c”, “__YEAR=2021”) in new stack

200518[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/58-0000000c”, “__TIMESTR=20210212-021707”) in new stack

200519[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/58-0000000c”, “__FROMEXTEN=58”) in new stack

200520[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/58-0000000c”, “__MON_FMT=wav”) in new stack

200521[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/58-0000000c”, “Recordings initialized”) in new stack

200522[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/58-0000000c”, “0?Set(ARG3=dontcare)”) in new stack

200523[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/58-0000000c”, “REC_POLICY_MODE_SAVE=”) in new stack

200524[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/58-0000000c”, “0?Set(REC_STATUS=NO)”) in new stack

200525[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/58-0000000c”, “3?checkaction”) in new stack

200526[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (sub-record-check,s,17)

200527[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/58-0000000c”, “1?sub-record-check,out,1”) in new stack

200528[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (sub-record-check,out,1)

200529[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/58-0000000c”, “Outbound Recording Check from 58 to 12136210002”) in new stack
//did not set up call recording
200530[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/58-0000000c”, “RECMODE=dontcare”) in new stack

200531[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/58-0000000c”, “1?Goto(routewins)”) in new stack

200532[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (sub-record-check,out,7)

200533[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/58-0000000c”, “recordcheck,1(dontcare,out,12136210002)”) in new stack

200534[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/58-0000000c”, “Starting recording check against dontcare”) in new stack

200535[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/58-0000000c”, “dontcare”) in new stack

200536[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)

200537[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/58-0000000c”, “”) in new stack

200538[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/58-0000000c”, “”) in new stack

200539[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:3] ExecIf(“PJSIP/58-0000000c”, “0 ?Set(CDR(accountcode)=)”) in new stack

200540[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:4] Set(“PJSIP/58-0000000c”, “_ROUTEID=1”) in new stack

200541[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:5] Set(“PJSIP/58-0000000c”, “_ROUTENAME=Outbound1”) in new stack

200542[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:6] Set(“PJSIP/58-0000000c”, “MOHCLASS=default”) in new stack
//I set the CID to Outbound and 123456789 for testing
200543[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:7] ExecIf(“PJSIP/58-0000000c”, “0?Set(TRUNKCIDOVERRIDE=“Outbound” <123456789>)”) in new stack

200544[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:8] Set(“PJSIP/58-0000000c”, “_CALLERIDNAMEINTERNAL=a”) in new stack

200545[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:9] Set(“PJSIP/58-0000000c”, “_CALLERIDNUMINTERNAL=58”) in new stack
//all good so far?
200546[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:10] Set(“PJSIP/58-0000000c”, “_EMAILNOTIFICATION=FALSE”) in new stack

200547[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:11] Set(“PJSIP/58-0000000c”, “_NODEST=”) in new stack

200548[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:12] Macro(“PJSIP/58-0000000c”, “dialout-trunk,1,12136210002,off”) in new stack

200549[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/58-0000000c”, “DIAL_TRUNK=1”) in new stack

200550[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/58-0000000c”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack

200551[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/58-0000000c”, “0?sub-pincheck,s,1()”) in new stack

200552[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERID(num)=58)”) in new stack
//Why is it saying disabletrunk 1?
200553[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/58-0000000c”, “0?disabletrunk,1”) in new stack

200554[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:6] Set(“PJSIP/58-0000000c”, “DIAL_NUMBER=12136210002”) in new stack

200555[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:7] Set(“PJSIP/58-0000000c”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack

200556[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/58-0000000c”, “OUTBOUND_GROUP=OUT_1”) in new stack

200557[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/58-0000000c”, “DIAL_TRUNK_OPTIONS=T”) in new stack

200558[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/58-0000000c”, “1?nomax”) in new stack

200559[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-dialout-trunk,s,12)

200560[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/58-0000000c”, “0?skipoutcid”) in new stack

200561[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/58-0000000c”, “outbound-callerid,1”) in new stack

200562[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/58-0000000c”, “58”) in new stack

200563[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/58-0000000c”, “”) in new stack

200564[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/58-0000000c”, “off”) in new stack

200565[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(name-pres)=)”) in new stack

200566[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(num-pres)=)”) in new stack

200567[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“PJSIP/58-0000000c”, “HOTDESCKCHAN=58-0000000c”) in new stack

200568[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“PJSIP/58-0000000c”, “HOTDESKEXTEN=58”) in new stack

200569[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“PJSIP/58-0000000c”, “HOTDESKCALL=0”) in new stack
//No idea what any of this means
200570[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/58-0000000c”, “0?Set(HOTDESKCALL=1)”) in new stack

200571[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERID(name)=)”) in new stack
//What does it mean ALLOWTHISROUTE=NO?
200572[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/58-0000000c”, “ALLOWTHISROUTE=NO”) in new stack

200573[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/58-0000000c”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack

200574[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/58-0000000c”, “0?Hangup()”) in new stack

200575[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/58-0000000c”, “0?Set(REALCALLERIDNUM=58)”) in new stack

200576[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/58-0000000c”, “0?Set(AMPUSER=58)”) in new stack

200577[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/58-0000000c”, “1?normcid”) in new stack

200578[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
//This is the correct custom CID for my extention
200579[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“PJSIP/58-0000000c”, “USEROUTCID=“a”<2718391>”) in new stack

200580[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“PJSIP/58-0000000c”, “EMERGENCYCID=”) in new stack

200581[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/58-0000000c”, “0?Set(EMERGENCYCID=)”) in new stack

200582[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“PJSIP/58-0000000c”, “TRUNKOUTCID=trunk<123456789>”) in new stack

200583[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/58-0000000c”, “1?trunkcid”) in new stack

200584[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)

200585[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/58-0000000c”, “1?Set(CALLERID(all)=trunk<123456789>)”) in new stack

200586[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/58-0000000c”, “1?Set(CALLERID(all)=“a”<2718391>)”) in new stack

200587[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERID(all)=)”) in new stack

200588[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERID(all)=58)”) in new stack

200589[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:34] Set(“PJSIP/58-0000000c”, “TIOHIDE=no”) in new stack

200590[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:35] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack

200591[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack

200592[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack

200593[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/58-0000000c”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack

200594[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:39] Set(“PJSIP/58-0000000c”, “CDR(outbound_cnum)=2718391”) in new stack

200595[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outbound-callerid:40] Set(“PJSIP/58-0000000c”, “CDR(outbound_cnam)=a”) in new stack

200596[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/58-0000000c”, “0?sub-flp-1,s,1()”) in new stack

200597[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:15] Set(“PJSIP/58-0000000c”, “OUTNUM=12136210002”) in new stack

200598[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:16] Set(“PJSIP/58-0000000c”, “custom=PJSIP”) in new stack

200599[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/58-0000000c”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack

200600[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/58-0000000c”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack

200601[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/58-0000000c”, “dialout-trunk-predial-hook,”) in new stack

200602[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/58-0000000c”, “”) in new stack

200603[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/58-0000000c”, “0?bypass,1”) in new stack

200604[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/58-0000000c”, “1?Set(CONNECTEDLINE(num,i)=12136210002)”) in new stack

200605[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/58-0000000c”, “1?Set(CONNECTEDLINE(name,i)=CID:2718391)”) in new stack

200606[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/58-0000000c”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)2718391)”) in new stack

200607[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/58-0000000c”, “0?customtrunk”) in new stack

200608[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:25] ExecIf(“PJSIP/58-0000000c”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack

200609[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:26] Set(“PJSIP/58-0000000c”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
//Not sure what the 300 is doing there
200610[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:27] Dial(“PJSIP/58-0000000c”, “PJSIP/12136210002@Flowtrunk1,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^12136210002^12136210002^1^1613096227^a^2718391)”) in new stack

200611[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] app_stack.c: PJSIP/Flowtrunk1-0000000d Internal Gosub(func-apply-sipheaders,s,1(1)) start

200612[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/Flowtrunk1-0000000d”, “Applying SIP Headers to channel PJSIP/Flowtrunk1-0000000d”) in new stack

200613[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“PJSIP/Flowtrunk1-0000000d”, “TECH=PJSIP”) in new stack

200614[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“PJSIP/Flowtrunk1-0000000d”, “SIPHEADERKEYS=Alert-Info”) in new stack

200615[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:4] While(“PJSIP/Flowtrunk1-0000000d”, “1”) in new stack

200616[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:5] Set(“PJSIP/Flowtrunk1-0000000d”, “sipheader=unset”) in new stack

200617[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:6] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack

200618[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:7] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
//What’s wrong with the header, I thought we just did all that to set the header?
200619[2021-02-12 02:17:07] ERROR[1888] res_pjsip_header_funcs.c: No headers had been previously added to this session.

200620[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:8] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
//Why is it doing this local host stuff?
200621[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:9] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack

200622[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack

200623[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/Flowtrunk1-0000000d”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack

200624[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:12] EndWhile(“PJSIP/Flowtrunk1-0000000d”, “”) in new stack

200625[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:4] While(“PJSIP/Flowtrunk1-0000000d”, “0”) in new stack

200626[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@func-apply-sipheaders:13] Return(“PJSIP/Flowtrunk1-0000000d”, “”) in new stack

200627[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] app_stack.c: Spawn extension (from-pstn, 12136210002, 1) exited non-zero on ‘PJSIP/Flowtrunk1-0000000d’

200628[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] app_stack.c: PJSIP/Flowtrunk1-0000000d Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=

200629[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] app_dial.c: Called PJSIP/12136210002@Flowtrunk1
//Why is it asking for auth credentials? I have that disabled and it’s set for IP auth.
200630[2021-02-12 02:17:07] WARNING[1888] res_pjsip_outbound_authenticator_digest.c: Endpoint: ‘Flowtrunk1’: Unable to create request with auth. No auth credentials for realm(s) ‘sip(DOT)flowroute(DOT)com’ in challenge.
//Have to add(DOT) instead of . because it won’t let me post. I did not mess up the name.
200631[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)

200632[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:28] NoOp(“PJSIP/58-0000000c”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack

200633[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-dialout-trunk:29] GotoIf(“PJSIP/58-0000000c”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack

200634[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)

200635[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/58-0000000c”, “RC=21”) in new stack

200636[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/58-0000000c”, “21,1”) in new stack

200637[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-dialout-trunk,21,1)

200638[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [21@macro-dialout-trunk:1] Goto(“PJSIP/58-0000000c”, “continue,1”) in new stack

200639[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)

200640[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/58-0000000c”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack

200641[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf(“PJSIP/58-0000000c”, “1?Set(CALLERID(number)=58)”) in new stack

200642[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [12136210002@from-internal:13] Macro(“PJSIP/58-0000000c”, “outisbusy,”) in new stack

200643[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outisbusy:1] Progress(“PJSIP/58-0000000c”, “”) in new stack

200644[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outisbusy:2] GotoIf(“PJSIP/58-0000000c”, “0?emergency,1”) in new stack

200645[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outisbusy:3] GotoIf(“PJSIP/58-0000000c”, “0?intracompany,1”) in new stack

200646[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-outisbusy:4] Playback(“PJSIP/58-0000000c”, “all-circuits-busy-now&please-try-call-later, noanswer”) in new stack

200647[2021-02-12 02:17:07] VERBOSE[13600][C-00000007] file.c: <PJSIP/58-0000000c> Playing ‘all-circuits-busy-now.g722’ (language ‘en’)

200648[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] file.c: <PJSIP/58-0000000c> Playing ‘please-try-call-later.ulaw’ (language ‘en’)

200649[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/58-0000000c”, “hangupcall”) in new stack

200650[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/58-0000000c”, “1?theend”) in new stack

200651[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-hangupcall,s,3)

200652[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/58-0000000c”, “0?Set(CDR(recordingfile)=)”) in new stack

200653[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/58-0000000c”, " montior file= ") in new stack

200654[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/58-0000000c”, “1?skipagi”) in new stack

200655[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx_builtins.c: Goto (macro-hangupcall,s,7)

200656[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/58-0000000c”, “”) in new stack

200657[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/58-0000000c’ in macro ‘hangupcall’

200658[2021-02-12 02:17:09] VERBOSE[13600][C-00000007] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/58-0000000c’

The SIP protocol log is going to be much more useful in this case. The first thing I think anyone would be checking is whether flowroute are sending 401, in which case the error would be very reasonable if no authentication is configured at the Asterisk side.

The other thing that would actually be useful is pjsip.conf (and everything included from it).

Note that this forum doesn’t support FreePBX, so presenting dialplan traces of the dialplan provided by FreePBX is generally not very useful.

I vaguely recall this coming up on the FreePBX forum recently, and it was configuration because there needed to be a tech prefix in front of the dialed number or else Flowroute would challenge for authentication. In fact, there’s a page on Flowroute[1] about it.

[1] Prepend your Tech Prefix to use IP-Based Authentication in FreePBX

1 Like

Thanks that’s exactly what the problem was!

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