Outbound calls - all circuits are busy

Hi, I have a FreePBX (RasPBX) connected to a Grandstream HT813 gateway. I was able to setup a CHAN_SIP trunk and getting inbound calls to FreePBX IVR.
I am struggling with outbound calls, when I try I get:

VERBOSE[31726][C-00000012] app_dial.c: Called SIP/XXXXXXXXXX/YYYYYYYYYY

WARNING[20398][C-00000012] chan_sip.c: Received response: “Forbidden” from ‘<sip:[email protected]:5160>;tag=as27f29f8b’

VERBOSE[31726][C-00000012] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)

Any hint on how to debug this?

Thanks,
Daniele

Confirm that on the FXO page, Stage Method is set to 1 and Dial Plan allows what you are sending (the default should be fine).

If that’s not your issue, post screenshotd of your FXO page.

These all default to No, but turning one or more on might cause your symptom:

Validate Incoming SIP Message
Check SIP User ID for Incoming
Authenticate Incoming INVITE

Setting stage method to 1 results solves the above WARNING:

4432 [2021-01-26 07:25:02] VERBOSE[7558][C-00000015] app_dial.c: Called SIP/XXXXXXXXXX/YYYYYYYYY
4433 [2021-01-26 07:25:12] VERBOSE[20398][C-00000015] chan_sip.c: Got SIP response 503 “Service Unavailable” back from 192.168.1.92:5062
4434 [2021-01-26 07:25:12] VERBOSE[7558][C-00000015] app_dial.c: SIP/XXXXXXXX-0000000b is circuit-busy
4435 [2021-01-26 07:25:12] VERBOSE[7558][C-00000015] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)

But now have a 503 “Service Unavailable”. I will check the FreePBX settings.

Thanks,
Daniele

These:

Validate Incoming SIP Message
Check SIP User ID for Incoming
Authenticate Incoming INVITE

Are all set to no.

Here are the screenshot of the FXO settings:

Set Wait for Dial-Tone to No and restest.

1 Like

This solved the issue. I had to restart both HT-813 and FreePBX to get it working.

Thank you!

Daniele

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