Hi Dan, 2011/2/15 Dan O'Donovan <d...@emutex.com>: > It is my understanding that, when Sofia gets an INVITE request, it saves the > host address/port from the UAC's Contact header and uses them to direct > responses (and other requests for that dialog) back to the UAC. > I'd like to be able to configure Sofia to use the actual source address/port > that the request came from, when sending back responses (i.e. ignoring the > Contact header).
The responses to INVITE are sent according to the Via header. In case the client inserts rport parameter in the request, the stack already does what you want. However, if you want to send re-INVITEs and BYEs to the UACs source port, you could add NUTAG_PROXY() with UAC's IP and port to the 200 Ok response you return to UAC. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel