Unable to make outgoing calls

I am using the most recent version of FreePBX 17 and am having some issues with outgoing calls.

I am only able to make internal calls or answer incoming calls in between extensions. The message “The Person you are calling is unabalabe, please try again” appears when outgoing calls are unsuccessful.

Check Asterisk-info…is your trunk registered and online? If no, change the trunk settings.

Did you create an outbound route?

Inbound calls are working. However, when I try to call in mobile numbers and landline numbers, It’s ringing only, and after that, “All circuits are busy now.”

I am no expert…but…did you mess around with the audio codecs? Is alaw/ulaw activated?

Yes, I have already turned on the alaw and ulaw.

In the trunk & pjsip settings? Did you change the audio codecs of the extensions too?

Try to call and then go to Asterisk log in the webgui. Check the last lines…maybe it says something regarding the failed call.

Yes, I have the codecs enabled already. It is still just ringing.

You generally need to look a long way back in the logs for the point of failure as FreePBX does a lot after that point.

1 Like

You might have the wrong settings in your pjsip trunk, but the next step would be that you post the last section of your Asterisk log. You can access it using the freePBX webgui.

Here is the attached snippet of pjsip trunk settings.

I dont know any trunk which works without authentication. You need credentials from your trunk provider.

Here is an example

False. Most business-oriented providers offer “IP authentication” as an option, as do all “wholesale” providers. Also, high-end providers that supply an on-site SBC authenticate by physical connection to the SBC. In any case, the OP’s inbound calls are working, so his problem is not related to authentication.

The OP should turn on pjsip logger, paste the Asterisk log for an attempted outbound call at pastebin.com and post the link here.

1 Like

He wrote “answer incoming calls in between extensions”. So I am not sure, if he meant incoming calls from outside.
But English is not my first language :wink:

Yes, extension-to-extension calls and incoming calls from outside are working.

Ok…then you might post your Asterisk log as Stewart suggested.

Without the Asterisk log I can just guess…
Do you have an outbound route like this

does it have dial patterns, which match the dialed number

Is the outbound route at the right position in the list (first match will be used)

Yes, I have already configured outbound routes.

Now it’s time for your Asterisk log…as Stewart suggested :wink: