[OpenSER-Users] NAT SIP OPTIONS ping

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 16 13:49:08 CEST 2008


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
>   





More information about the sr-users mailing list