Direct outbound calls and outbound calls via a misc destination are working fine as are inbound calls.
When an inbound call is routed to a misc destination we get ‘all circuits busy’.
My install is FreePBX 15.0.16.81.
In the hope of clarifying things more …
014xxxxxx=phone number connected to my trunk
047xxxxxxx=a cell phone
050xxxxxx=a landline
Dialing 047xxxxxxx on extension = ok.
Dialing #047(=misc application to misc destination to 047xxxxxxx) on extension = ok.
047xxxxxxx to 014xxxxxx(=inbound route to extension) = ok.
050xxxxxx to 014xxxxxx(=inbound route to misc destination to 047xxxxxxx) = all circuits busy.
Did I miss some configuration? How can I troubleshoot this further?
This is probably the same caller ID problem discussed in your other thread. If so, you either need to fix the issue of sending numbers that are not yours, or do the reroute with a Ring Group or other means where you can force the outbound caller ID to be a company number.
Another possibility is a limitation on the number of simultaneous calls permitted on the trunk, imposed by the trunking provider or by configuration set in the PBX.
Finally, it’s possible that the inbound trunking provider requires (at least) a Ringing or Progress signal within e.g 5 seconds, and the setup time for the outbound leg is longer than that. Using a Ring Group would avoid that.
Look at the Asterisk log for a failed call. If "Called " (without the quotes) appears, the call was sent to the trunk and rejected by the provider. If not, FreePBX rejected it, possibly by counting channels incorrectly.
If the provider rejected the call, at the Asterisk command prompt type pjsip set logger on
or sip set debug on
according to trunk type. Make another failed call – the response to INVITE should give a clue as to why the call was rejected.