FreePBX | Register | Issues | Wiki | Portal | Support

All circuits are busy now


(Kevin) #1

I have been trying to figure out what happened to my freepbx system and its connection to flowroute that is now causing me to get “all circuits are busy now” from my PBX when i try to dial out. I run the ‘pjsip show registrations command’ in asterisk cli and shows my trunk is registered.

I see this error in the asterisk log
[2019-05-12 18:45:29] ERROR[58265] res_pjsip.c: Endpoint ‘FlowrouteTRUNK’: Could not create dialog to invalid URI ‘FlowrouteTRUNK’. Is endpoint registered and reachable?
[2019-05-12 18:45:29] ERROR[58265] chan_pjsip.c: Failed to create outgoing session to endpoint ‘FlowrouteTRUNK’

Any ideas for things to check?


(Itzik) #2

Can you post the full call log?


#3

This is usually caused by the trunk appearing ‘unavailable’ (no response to OPTIONS).

If the Contact does not show avail, you could test by disabling Qualify, which should cause the call to be attempted (though it will likely fail).

At the Asterisk command prompt, type
pjsip set logger on
and you should then see OPTIONS requests being sent and any replies received.


(Kevin) #4

here is the log file for a sample call that failed

https://drive.google.com/file/d/1vnKYoD10fFB_FkkQAkflmlDREs1p8KAz/view?usp=sharing


(Kevin) #5

here is a second example

https://drive.google.com/file/d/139ul8sWaivDasAtkxS1UPtQ_bBaqFMSc/view?usp=sharing


#6

Outbound calls on Flowroute can use either IP Authentication or Registration. It appears that you are using Registration but your REGISTER requests are failing:
[2019-05-14 19:24:31] WARNING[58265] res_pjsip_outbound_registration.c: Fatal response '401' received from 'sip:us-east-nj.sip.flowroute.com' on registration attempt to 'sip:41639588@us-east-nj.sip.flowroute.com', stopping outbound registration

Go to https://manage.flowroute.com/accounts/interconnection/setup/ and confirm that registration is enabled and that your Username and Password match the Username and Secret in your trunk settings.

In FreePBX ad Reports -> Asterisk Info -> Registries, you can see whether your trunk is successfully registered. If you still have trouble with registration, post screenshots of your trunk settings (masking username and secret).

If your PBX has a static IP, it is recommended to disable registration for outbound and use IP Authentication instead. It’s a little more secure (no password to get stolen), faster (don’t have to authenticate on each call) and more robust (no possibility of 'lost registration). See https://manage.flowroute.com/accounts/interconnection/outbound/ .


(Kevin) #7

i double checked and copied the username/tech prefix, and password, along with the sip address back in. Still get the same issue. I am linking my trunk config. Note i changed from the VA server back to the NJ server.


(Kevin) #8

Any ideas what I am doing wrong?


(Dave Burgess) #9

What error are you getting in the /var/log/asterisk/full log file?


(system) closed #10

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