gateway failed to register

Status
Not open for further replies.

kayp514

New Member
Jun 4, 2024
3
0
1
29
Hello Team,

I am facing this issue.

i created a gateway in fusionpbx. the gateway is registering to my dsiprouter server.(I see sip message in the queue). but fusionPBX returns this error.
"
[NOTICE] sofia_reg.c:463 Registering bb1ba05b-ab5a-4ab9-a952-bc6b61432207
[ERR] sofia_reg.c:2661 bb1ba05b-ab5a-4ab9-a952-bc6b61432207 Failed Registration with status Request Timeout [408]. failure #4
"

here is my gateway configuration
Gateway: myGatewayName
Username: gateuser (created on my dsiprouter server)
Password: (created from my dsiprouter serve)
Proxy: sip.mydomain.com:5061
Realm: sip.mydomain.com
Expire Seconds: 3600
Register: True
Retry Seconds: 30
profile: sip.mydomain.com (i have created this new profile)

this is the profile i created. sip.mydomain.com profile

<param name="debug" value="0" />
<param name="dialplan" value="xml" />
<param name="context" value="default" />
<param name="rtp-timer-name" value="soft" />
<param name="rtp-ip" value="myPrivateIP" />
<param name="sip-ip" value="myPrivateIP" />
<param name="ext-rtp-ip" value="myPublicIP" />
<param name="ext-sip-ip" value="mypublicIP" />
<param name="rtp-timeout-sec" value="300" />
<param name="rtp-hold-timeout-sec" value="1800" />
<param name="sip-port" value="5061" />
<param name="tls" value="True" />
<param name="tls-only" value="true" />
<param name="tls-bind-params" value="transport=tls" />
<param name="tls-sip-port" value="5061" />
<param name="tls-verify-date" value="true" />
<param name="tls-verify-policy" value="none" />
<param name="tls-verify-depth" value="2" />
<param name="codec-prefs" value="OPUS,G722,PCMU,PCMA,G729,VP8,H264" />
<param name="inbound-codec-negotiation" value="generous" />
<param name="inbound-late-negotiation" value="true" />
<param name="manage-presence" value="false" />
<param name="auth-calls" value="false" />


anyhelp will be appreciated.
 

NVGcom

Member
Apr 29, 2020
38
4
8
48
Hi,

Did you add all IP's of your SIP Provider into the Access Controls?
Advanced -> Access Controls -> providers -> add IP(s).
Check with your Provider to see which IP's they use, SIP, Media, SMS, etc.
Once added click on reload.
Login to you server and check if any of the added IP's are banned in fusionpbx-404, nginx-404 and fusionpbx-acl via iptables.
Remove them if you see them.
On GUI go to Status -> SIP Status -> then: flush cache, reload ACL, reload XML, rescan each SIP Profile.
On Accounts - Gateways - stop your Provider then start it.
It should register now if all the fields are entered properly.
See if they have FreeSwitch interop.
 
  • Like
Reactions: kayp514
Status
Not open for further replies.