[OpenSIPS-Users] nat issue

Miha miha at softnet.si
Wed Nov 16 08:11:45 CET 2016

Hello Bogdan

yes this was the case...

thank you!


On 15/11/2016 18:35, Bogdan-Andrei Iancu wrote:
> Hi Miha,
> When you handle REGISTER requests (from behind NAT) most probably you 
> use fix_nated_contact() instead of fix_nated_register().
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 15.11.2016 09:11, Miha wrote:
>> Hello
>> i need one info.
>> I have one phone behind NAT and it is registered on OpenSIPS. IN 
>> register packet, which is send to OpenSIPS I can see contact: 
>> "sip:11181600519 at;transport=UDP"
>> and let says that the public ip for this device is xxx.xxx.xxx.xxx.
>> When opensips sends INVITE it send to right public ip and right port 
>> (source ip and source port generated by router). The issue is this:
>> Invite is like:  "sip:11181600519 at xxx.xxx.xxx.xxx:5060;transport=UDP" 
>> and this request is then fw to this UAC behind router. The UAC 
>> replays to this INVITE with 404 Not found as it is waiting to receive 
>> the same URI which was written in contact (the userpart is ok, put 
>> the ip is public, not private and this is the issue).From what I can 
>> see in RFC this is the case.
>> Till now Idid not have any issues with this, but now I found first 
>> phone which replays with 404 and from RFC point of view there should 
>> be private ip request :) . So is there anything I can do :)?
>> tnx
>> miha
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161116/4a86809d/attachment.htm>

More information about the Users mailing list