[Serusers] Nathelper cfg ?

Kannaiyan Natesan nkans at lycos.co.uk
Tue Dec 9 10:42:26 CET 2003


 Thanks Jan.

 I did as it appears in,


http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/etc/nathelper.cfg?r
 ev=HEAD

 When i introduce the code as it specified in the nathelper.cfg

 modparam("nathelper", "ping_nated_only", 1)   # Ping only clients behind

 -- set_mod_param_regex: parameter <ping_nated_only> not found in module
 <nathelper>
 parse error (100,43-44): Can't set module parameter

 if (nat_uac_test("3")) {

 -- unknown command, missing hodule

 -rwxr-xr-x    1 827      827        120363 Nov 21 12:10 nathelper.so   -- I
 hope this is the latest module in nathelper.so

 Am I doing in right way?

 Kannaiyan


 ----- Original Message -----
> From: "Jan Janak" <jan at iptel.org>
> To: "Kannaiyan Natesan" <nkans at lycos.co.uk>
> Cc: <serusers at lists.iptel.org>
> Sent: Monday, December 08, 2003 6:28 PM
> Subject: Re: [Serusers] Nathelper cfg ?
>
>
> > See sip_router/etc/nathelper.cfg. The config file below is incomplete
> > (you do not rewrite contacts, for example).
> >
> >   Jan.
> >
> > On 08-12 13:23, Kannaiyan Natesan wrote:
> > > My script has following information regarding NAT,
> > >
> > > I have installed RTPProxy and I cannot hear any communication between
> the
> > > phones.
> > >
> > > Here is my configuration,
> > >
> > > # global parameters
> > >
> > > mhomed=yes
> > >
> > > # Nathelper
> > > loadmodule "/usr/local/lib/ser/modules/nathelper.so"
> > >
> > >
> > > # Parameter section
> > >
> > > modparam("nathelper","natping_interval", 10)
> > >
> > >
> > > # Routing section
> > > route {
> > >
> > > .....
> > >        if( method=="INVITE") {
> > >            record_route();
> > >            force_rtp_proxy();
> > >            /* set up reply processing */
> > >            t_on_reply("1");
> > >         };
> > > ....
> > > }
> > >
> > >
> > > #route leg
> > > # all incoming replied for t_onreplied transactions enter here
> > > onreply_route[1] {
> > >    if( status =~"[12][0-9][0-9]" ){
> > >     force_rtp_proxy();
> > >    };
> > > }
> > >
> > > Can anyone please help me what should I need to do further to call
> between
> > > my Cisco ATA 186 and  X-lite.
> > >
> > > Best Regards,
> > > Kannaiyan
> > >
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
>





More information about the sr-users mailing list