[OpenSIPS-Devel] SF.net SVN: opensips:[7083] branches/1.6/modules/nathelper

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sun Aug 1 22:37:07 CEST 2010


Revision: 7083
          http://opensips.svn.sourceforge.net/opensips/?rev=7083&view=rev
Author:   bogdan_iancu
Date:     2010-08-01 20:37:07 +0000 (Sun, 01 Aug 2010)

Log Message:
-----------
When rewriting the SDP of an ACK rtpproxy_answer() retrieves the wrong port from rtpproxy.

This is reproducible by handling SDP offered in a 200 Ok response with rtpproxy_offer() and then processing the answering SDP in an ACK with rtpproxy_answer() - the result is that the same port gets written into the ACK's SDP as was written into the Ok's SDP. In short, the 200 Ok is being handled correctly when it contain an SDP offer since the to/from tag are swapped inside force_rtp_proxy() before getting passed along to rtpproxy. The swap is critical as it provides consistent results when processing SDP offered in INVITE requests and Ok responses during re-invites within the same dialog. But the complimentary swapping is not being done for SDP answers contained in ACKs.

Closes patch 3019749
Credits go to John Riordan 

Modified Paths:
--------------
    branches/1.6/modules/nathelper/doc/nathelper_admin.xml
    branches/1.6/modules/nathelper/nathelper.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list