Hi all,

I'm working on a SIP client that uses Sofia SIP (behind NAT) and having
this issue where when registering to some SIP servers I am then unable to
receive incoming calls (for some others it works fine).

Seems that Sofia is populating the Contact header with a port different
than the port used as source port when sending the REGISTER. As a result
the incoming INVITE is destined to the Contact port and doesn't make it
through the NAT hole and the call is failed.

Any ideas how to remedy this? I have tried the following without success:
* Setting a specific port to bind to with NUTAG_URL, but I get the same
issue.
* Trying to get advantage of STUNTAG_SERVER() and STUNTAG_DOMAIN() Sofia
tags when creating NUA, but they don't seem to take any effect. Any ideas
how these are supposed to work roughly? Are they there to address issues
like the one I'm having and populating Contact header in the REGISTER with
an externally reachable ip:port?

Best regards.
Antonis Tsakiridis
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to