[OpenSIPS-Users] Public IP in REGISTER

Jehanzaib Younis jehanzaib.kiani at gmail.com
Tue Mar 3 21:05:47 EST 2020


Hi gang,

I have quite strange issue. When in some cases when my customer's have
10.202.128.xx range they are behind NAT. when i see opensipsctl ul show
number at sip
i see contact header as Contact:: sip:number at 10.202.128.xx:5060;transport=udp
Q=
which means when i try to relay the invite goes to that 10.202.128.xx:5060
which is wrong. It should go to its public IP:port

but weird thing is, i see the OPTION is sent to its Public IP (OPTIONS
sip:180.xx.xx.xx:1502). I also see the 200 OK which is perfect.

I tried to use fix_nated_register(); but it does not change anything.

Can anyone help please?

Thank you


Regards,
Jehan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200304/b1dcc573/attachment.html>


More information about the Users mailing list