[Devel] [ openser-Patches-1562851 ] Configurable "nortpproxy" string for nathelper module

SourceForge.net noreply at sourceforge.net
Thu Sep 21 14:54:28 CEST 2006


Patches item #1562851, was opened at 2006-09-21 05:53
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1562851&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Configurable "nortpproxy" string for nathelper module

Initial Comment:
I have made a small patch to the nathelper module, that
allows to configure the "a=nortpproxy:yes\r\n" string.

Basically, as noticed in user documentation, you can
add this to your                                      
             configuration file, once the patch is
applied and OpenSER recompiled :                      
                                
                                                      
                                                      
               
% modparam("nathelper", "nortpproxy_str",
"a=sdpmangled:yes\r\n")                               
                                
                                                      
                                                      
               
                                                      
                                                      
               
I needed to do this because I have the following setup:

SoftPhone1_                                           
                                                      
               
           \____                                      
                                                      
              
            ____NATing Proxy_______Registrar
Proxy_______(outside)                                 
                         
          _/                                          
                                                      
               
SoftPhone2

For some reason, the registrar also uses
nathelper/rtpproxy.  I first used                     
                             the "f" flag for
force_rtp_proxy() in my NATing proxy, in order  to    
                                      circumvent the
nortpproxy flag that the registrar proxy has set.  This
                                                    
worked perfectly except if softphone1 tries to call
softphone2.  In this                                  
                  case my NATing proxy would replace
the SDP twice.  With my patch, I simply               
                                   turn the nortpproxy
string to something else that only my NATing proxy
cares about.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-09-21 05:54

Message:
Logged In: NO 

ASCII art is not that good through web interface.  Please
check the mail archives at:
http://openser.org/pipermail/users/2006-September/006519.html

-- Jeremie Le Hen

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1562851&group_id=139143



More information about the Devel mailing list