[Serusers] "nat_uac_test" - missing modules when starting SER?

Klaus Darilion klaus.mailinglists at pernau.at
Thu Apr 22 14:09:19 CEST 2004


Forget about the rpm release - the updated stable release (nat
enhancements, bugfixes, ...) is only in CVS.

IMPORTANT: uninstall all ser-related rpms before building from source

get it from cvs as explained on:
http://iptel.org/ser/cvs/

and then:
make all
make install

regards
klaus

Marty Chen wrote:

> hi klaus,
> 
> first, thx for helping out.
> i am running the "ser-0.8.12-0.i386.rpm" version of SER on redhat 9 released
> by iptel.org
> 
> i am a newbie in linux.... so if u could instruct me on how to locate the
> nathelper module then perhaps i can find out the more about the version in
> detail.
> 
> best regards,
> ---------------------------------------------
> Neo-Online Corporation
> Next Gen Networking Expert
> Marty Chen
> System Engineer
> Tel:     +886-2-7707-7988 ext 151
> Cell:    +886-960-516-560
> Email: marty-chen at neo-ol.com
> 
> ----- Original Message ----- 
> From: Klaus Darilion
> To: Marty Chen
> Cc: Iptel\Serusers
> Sent: Thursday, April 22, 2004 6:10 PM
> Subject: Re: [Serusers] "nat_uac_test" - missing modules when starting SER?
> 
> 
> which version of ser do you use? It's for sure in unstable and stable
> from cvs.
> 
> klaus
> 
> Marty Chen wrote:
> 
> 
>>hi, when ever i startup SER with this function used, "nat_uac_test", i get
>>the cfg loading error "is some module missing"
>>
>>i know the function is in nathelper module, and it is loaded too.
>>can someone tell me what to do in order to use this function?
>>
>>below is a sample code using nat_uac_test.  thx in advance.
>>
>>marty.
>>
>>==============================================================
>>if (nat_uac_test("3")) {
>>    # allow RR-ed requests, as these may indicate that
>>    # a NAT-enabled proxy takes care of it; unless it is
>>    # a REGISTER
>>    if (method == "REGISTER" || ! search("?Record-Route:")) {
>>        log("LOG: Someone trying to register from private IP,
> 
> rewriting\n");
> 
>>        # This will work only for user agents that support symmetric
>>        # communication. We tested quite many of them and majority is
>>        # smart smart enough to be symmetric. In some phones, like
>>        # it takes a configuration option. With Cisco 7960, it is
>>        # called NAT_Enable=Yes, with kphone it is called
>>        # "symmetric media" and "symmetric signaling". (The latter
>>        # not part of public released yet.)
>>        fix_nated_contact(); # Rewrite contact with source IP of
> 
> signalling
> 
>>        if (method == "INVITE") {
>>            fix_nated_sdp("1"); # Add direction=active to SDP
>>        };
>>        force_rport(); # Add rport parameter to topmost Via
>>        setflag(6); # Mark as NATed
>>    };
>>};
>>
>>best regards,
>>---------------------------------------------
>>Neo-Online Corporation
>>Next Gen Networking Expert
>>Marty Chen
>>System Engineer
>>Tel:     +886-2-7707-7988 ext 151
>>Cell:    +886-960-516-560
>>Email: marty-chen at neo-ol.com
>>
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
> 
> 
> 
> 




More information about the sr-users mailing list