[OpenSER-Users] NAT SIP OPTIONS ping

LetMeKnow sunkara.raviprakash.feb14 at gmail.com
Thu Apr 17 03:50:01 CEST 2008


Hello Amit,
check whether user agent is located in behind the nat  or not , then save
the location tablle.
and before save this table load the module regisrar and nathelet with
recieve paarm



On Wed, Apr 16, 2008 at 5:19 PM, Bogdan-Andrei Iancu <bogdan at voice-system.ro>
wrote:

> Hi Amit,
>
> Do you do "setbflag(3)" before save("location") ?
>
> Regards,
> Bogdan
>
> Amit Nagpal wrote:
> >
> > Hi,
> >
> > I am trying to configure OpenSER such that it pings its NATed clients
> > with SIP OPTIONS packets instead of the default dummy UDP pings. But,
> > no matter what I do, OpenSER always sends the usual UDP pings.
> >
> > My openser.cfg contains the following lines –
> >
> > modparam("usrloc", "nat_bflag", 3)
> >
> > modparam("nathelper","natping_interval", 60)
> >
> > modparam("nathelper","rtpproxy_disable", 1)
> >
> > modparam("nathelper", "sipping_bflag", 3)
> >
> > modparam("nathelper", "sipping_from", "sip:openser @mydomain.net ")
> >
> > Before save("location") in the route blocks I have –
> >
> > Fix_nated_contact()
> >
> > And on reply route to the main route block I have –
> >
> > Fix_nated_sdp("3").
> >
> > NAT is working perfectly fine otherwise, I just need to get OpenSER to
> > ping with SIP OPTIONS instead of dummy UDP packets.
> >
> > Can you please help me achieve that.
> >
> > Regards,
> >
> > Amit.
> >
> > ------------------------------------------------------------------------
> >
> > *From:* users-bounces at lists.openser.org
> > [mailto:users-bounces at lists.openser.org] *On Behalf Of *Amit Nagpal
> > *Sent:* Monday, April 14, 2008 12:27 PM
> > *To:* users at lists.openser.org
> > *Subject:* [OpenSER-Users] NAT SIP OPTIONS ping
> >
> > Hi,
> >
> > I am trying to configure OpenSER such that it pings its NATed clients
> > with SIP OPTIONS packets instead of the default dummy UDP pings. But,
> > no matter what I do, OpenSER always sends the usual UDP pings.
> >
> > My openser.cfg contains the following lines –
> >
> > sipping_bflag
> >
> > sipping_method
> >
> > sipping_from
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/users
> >
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>



-- 
Thanks &Regards
Ravi Prakash Sunkara
VoIP Development Tech Lead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080417/5900a0f4/attachment.htm>


More information about the sr-users mailing list