For many months I have been dealing with this issue/trying to troubleshoot it.
The system is a PI4/“raspbx” - everything up to date. My inbound seems fine 24/7.
But, my outbound only works after a reboot for hours / days(?).
Eventually, the outbound starts up with “All circuits are busy.” “Please try your call again later.” And of course I usually discover this as I am about to make an important call out.
My outbound registration is setup at FLOWROUTE to do IP based auth. NOT passwords.
I have read many forum posts already and nothing seems to fit my problem precisely.
I turned up debugging. Side note: Had to turn the ‘full’ log back on (Settings/Asterisk Logfile Settings/Log Files) - somehow it was off since August.
At any rate, the only error I can find is this:
[2020-11-19 10:19:26] DEBUG[C-00000008] pbx.c: Launching 'Dial' [2020-11-19 10:19:26] VERBOSE[C-00000008] pbx.c: Executing [s@macro-dialout-trunk:27] Dial("PJSIP/100-00000008", "PJSIPfirstname.lastname@example.org,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^19999999999^19999999999^1^1111111111^CallerIDNAMEREMOVED^13149999999)") in new stack [2020-11-19 10:19:26] ERROR res_pjsip.c: Endpoint 'us-east-va.sip.flowroute.com': Could not create dialog to invalid URI 'us-east-va.sip.flowroute.com'. Is endpoint registered and reachable? [2020-11-19 10:19:26] ERROR chan_pjsip.c: Failed to create outgoing session to endpoint 'us-east-va.sip.flowroute.com' [2020-11-19 10:19:26] WARNING[C-00000008] app_dial.c: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination) [2020-11-19 10:19:26] VERBOSE[C-00000008] app_dial.c: No devices or endpoints to dial (technology/resource) [2020-11-19 10:19:26] DEBUG[C-00000008] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL. [2020-11-19 10:19:26] DEBUG[C-00000008] app_macro.c: Executed application: Dial [2020-11-19 10:19:26] DEBUG[C-00000008] pbx.c: Launching 'NoOp'
(I have masked the dialout numbers, outbound dial prefix and my originating # / callerid in output^.)
I can see the error, but not sure why it says that? I can still ping the provider. I think I can rule out nameserver failure.
And as I mentioned, if I reboot it, it works fine for however long-
I can make outbound calls for the rest of day (usually). Not sure how long it takes to finally give a failure on outbound, but once it fails, it stays that way till I reboot again.
Any help is appreciated.