Page 1 of 1

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

PostPosted: Wed Feb 03, 2021 8:17 am
by osib
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

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

PostPosted: Wed Feb 03, 2021 9:34 am
by carpenox
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.

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

PostPosted: Wed Feb 03, 2021 3:06 pm
by osib
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

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

PostPosted: Thu Feb 04, 2021 6:17 am
by striker
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.