Freepbx and Goip integration

Hi,
I’m new to Freepbx and I’m trying to setup FreePBX 15.0.17.24 with Goip as a gateway.
I have managed to configure my Goip device as a trunk and it shows up online. Every time I try and call I get the below error and it then goes offline then comes back online after some time.

[2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - Failed to authenticate [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - Failed to authenticate [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - Failed to authenticate [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - Failed to authenticate [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - No matching endpoint found [2021-03-20 16:13:13] NOTICE[2526]: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from '"0722555555" <sip:[email protected]>' failed for '192.168.1.242:5060' (callid: [email protected]) - Failed to authenticate

My configs

trunk goip_1
type=peer
secret=password
username=6001
host=192.168.1.242
canreinvite=no
qualify=yes
context=from-internal
insecure=port,invite,very

user context 6001
secret=password
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=192.168.1.242
type=friend
qualify=yes

Any help would be appreciated.

Your PBX is set up with pjsip on port 5060 and (I presume) chan_sip on port 5160.
But the GoIP is sending the INVITE to port 5060 and you have set up only a chan_sip trunk.

You can fix this in any of three ways:

  1. Configure the GoIP to connect to the PBX on port 5160.

  2. In Asterisk SIP Settings, set pjsip Port to Listen On to (for example) 5260 then set chan_sip Bind Port to 5060. Restart Asterisk. If you have pjsip extensions you will have to reconfigure them to use the new port.

  3. Delete the trunk and create a pjsip trunk for GoIP.

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