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
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@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of Amit Nagpal Sent: Monday, April 14, 2008 12:27 PM To: users@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
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@lists.openser.org [mailto:users-bounces@lists.openser.org] *On Behalf Of *Amit Nagpal *Sent:* Monday, April 14, 2008 12:27 PM *To:* users@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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
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@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@lists.openser.org [mailto:users-bounces@lists.openser.org] *On Behalf Of *Amit Nagpal *Sent:* Monday, April 14, 2008 12:27 PM *To:* users@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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Thanks Bogdan,
Setting setbflag(3) before save("location") worked! Amazing!
I really appreciate your help.
Regards, Amit.
________________________________________ On Wed, Apr 16, 2008 at 5:19 PM, Bogdan-Andrei Iancu bogdan@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@lists.openser.org [mailto:users-bounces@lists.openser.org] *On Behalf Of *Amit Nagpal *Sent:* Monday, April 14, 2008 12:27 PM *To:* users@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@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users