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

SourceForge.net noreply at sourceforge.net
Wed Jan 17 11:11:05 CET 2007


Patches item #1562851, was opened at 2006-09-21 15:53
Message generated for change (Comment added) made by bogdan_iancu
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: ver devel
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bogdan (bogdan_iancu)
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: Bogdan (bogdan_iancu)
Date: 2007-01-17 12:11

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Jeremie,

the patch was submitted on the devel version. I made a small change to be
also able to turn off the string marker (if empty string is configured).

thanks and regards,
bogdan

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

Comment By: Nobody/Anonymous (nobody)
Date: 2006-09-21 15: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