SIP registering with Reg. Contact : SIP:PHONE@LOCALIP:PORT

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

SIP registering with Reg. Contact : SIP:PHONE@LOCALIP:PORT

Postby osib » Wed Feb 03, 2021 8:17 am

Hi
I have vicibox with VERSION: 2.14-772a BUILD: 201004-1045 with public IP (not in local network) with externip set to publicip and nat is set to yes in sip.conf
Phones are registering fine but the issue I have is phones are registering with local IP rather than public IP (Reg. Contact : SIP:PHONE@LOCALIP:PORT)
How to get the phones to register with publicIP
currently,
Reg. Contact : sip:2001@192.168.1.1:19206
I want it to be
Reg. Contact : sip:2001@publicip:port

Thanks
osib
 
Posts: 25
Joined: Thu Nov 12, 2015 10:12 pm
Location: Melbourne, Australia

Re: SIP registering with Reg. Contact : SIP:PHONE@LOCALIP:PO

Postby carpenox » Wed Feb 03, 2021 9:34 am

First off, set nat=force_rport,comedia

As far as the phones registering, you want them to register to the server via their public ip? That depends on what IP interface you are accessing the web server from. If you connect via a LAN, it will show the internal IP. If you register outside of the LAN, it would show the external(public) IP.
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: SIP registering with Reg. Contact : SIP:PHONE@LOCALIP:PO

Postby osib » Wed Feb 03, 2021 3:06 pm

Nat is enabled with nat=force_rport,comedia
Phones are registered via public ip as dialer is not in local network.
Any other factor that could affect.

Also I am getting retransmission issue:
chan_sip.c:4092 retrans_pkt: Retransmission timeout reached on transmission 620db8d2446d1940477c25714ad8ac20@DIALERIP:5060 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
osib
 
Posts: 25
Joined: Thu Nov 12, 2015 10:12 pm
Location: Melbourne, Australia

Re: SIP registering with Reg. Contact : SIP:PHONE@LOCALIP:PO

Postby striker » Thu Feb 04, 2021 6:17 am

seems like some config issue in your perimeter router/firewall at client side.
check NAT is enabled for outbound connection.

If any firewall settings like SIP ALG enabled in router/firewall, disable and try once.
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am


Return to Support

Who is online

Users browsing this forum: No registered users and 34 guests