[OpenSIPS-Users] opensips nat quesiton

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 10 06:38:47 EST 2018


Hi,

Maybe the MESSAGE is sent to an IP:port:proto destination not used as 
listener by OpenSIPS. The tcpdump tool shows the network traffic , but 
with no guarantee for the delivery at application level.

So check the listeners in OpenSIPS and the local iptables.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Summit 2018
   http://www.opensips.org/events/Summit-2018Amsterdam

On 01/10/2018 12:30 PM, liuyuanting1209 wrote:
>
> Hi Bogdan,
>
> I encountered another problem.
>
> client send register to opensips then opensips send to server 1.  
>  server1 send 200OK back to opensips and then client
>
> server2 send MESSAGE to opensips. With tcpdump I can see the opensips 
> server has received the MESSAGE. But opensips process failed to 
> received it.
> I add log in net_udp.c  handle_io() , I got log for register and 200 
> ok. But there is no log for the MESSAGE.
>
> any idea for such error?
>
> Thanks.
> Sean
>
>
>
>
>
> At 2018-01-09 22:41:34, "Bogdan-Andrei Iancu" <bogdan at opensips.org> wrote:
>
>     HI Sean,
>
>     If I understand correctly your setup, you should use into PATH
>     support on opensips (RFC 3327). Also take a look at the path
>     module in OpenSIPS:
>     http://www.opensips.org/html/docs/modules/2.3.x/path.html
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>
>     OpenSIPS Founder and Developer
>        http://www.opensips-solutions.com
>     OpenSIPS Summit 2018
>        http://www.opensips.org/events/Summit-2018Amsterdam
>
>     On 01/09/2018 03:27 AM, liuyuanting1209 wrote:
>>     Hi,
>>
>>     I am new on opensips. could you please help to solve my
>>     questions. Thanks a lot.
>>
>>     My environment:
>>
>>         client is behind NAT(any kinds of NAT),
>>         opensips server has public ip,  register server is different
>>         with invite server.
>>         sip server only has private ip but opensips can reach it
>>         directly.
>>         media server has public ip.
>>
>>
>>     So I want opensips solve NAT problem.
>>     1 if I use nathelper module, after contact fix, the server can
>>     only get opensips's private ip and port
>>     2 if I use nat_traversal module, after contact fix, the sip
>>     server can only get the ip watched from opensips.
>>
>>     I want to let sip server get the ip watched from sip server, so
>>     sip server only needs to store one ip. is there such way for
>>     opensips ?
>>
>>
>>     Thanks a lot.
>>     Sean Liu
>>
>>
>>
>>
>>
>>
>>     _______________________________________________
>>     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/20180110/f1f0efd6/attachment.html>


More information about the Users mailing list