NAT ping with options in OpenSER 1.3.2

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NAT ping with options in OpenSER 1.3.2

Sergio Gutierrez
Hello to all members.

I have configured nathelper module to send NAT ping to natted users, by means of OPTIONS method, but I see that the ping is performed by the dummy UDP packet:

These are the parameters I defined in config file:

loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 60)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
#modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "rtpproxy_disable_tout", 60)
modparam("nathelper", "rtpproxy_tout", 1)
modparam("nathelper", "rtpproxy_retr", 5)
modparam("nathelper", "sipping_from", "[hidden email]")
modparam("nathelper", "sipping_method", "OPTIONS")
modparam("nathelper", "received_avp", "$avp(i:801)")

Is there something I am missing or is that feature not supported in OpenSER 1.3.2?

Thanks in advance for your attention.

Best regards.

--
Sergio Gutiérrez

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: NAT ping with options in OpenSER 1.3.2

Bogdan-Andrei Iancu
Hi Sergio,

It is, but you need to configure the "sipping_bflag" (see
http://www.opensips.org/html/docs/modules/1.3.x/nathelper.html#AEN215) -
you will set this flag before save("location") in order to indicate you
want OPTIONS ping for this contact.

Regards,
Bogdan

Sergio Gutierrez wrote:

> Hello to all members.
>
> I have configured nathelper module to send NAT ping to natted users,
> by means of OPTIONS method, but I see that the ping is performed by
> the dummy UDP packet:
>
> These are the parameters I defined in config file:
>
> loadmodule "nathelper.so"
> modparam("nathelper", "natping_interval", 60)
> modparam("nathelper", "ping_nated_only", 1)
> modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
> #modparam("nathelper", "rtpproxy_disable", 1)
> modparam("nathelper", "rtpproxy_disable_tout", 60)
> modparam("nathelper", "rtpproxy_tout", 1)
> modparam("nathelper", "rtpproxy_retr", 5)
> modparam("nathelper", "sipping_from", "sip:[hidden email]
> <mailto:sip%[hidden email]>")
> modparam("nathelper", "sipping_method", "OPTIONS")
> modparam("nathelper", "received_avp", "$avp(i:801)")
>
> Is there something I am missing or is that feature not supported in
> OpenSER 1.3.2?
>
> Thanks in advance for your attention.
>
> Best regards.
>
> --
> Sergio Gutiérrez
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: NAT ping with options in OpenSER 1.3.2

Sergio Gutierrez
Hi Bogdan.

That was it! Now it is working.

Thanks a lot.

Regards,

Sergio

On Thu, May 21, 2009 at 11:10 AM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Sergio,

It is, but you need to configure the "sipping_bflag" (see http://www.opensips.org/html/docs/modules/1.3.x/nathelper.html#AEN215) - you will set this flag before save("location") in order to indicate you want OPTIONS ping for this contact.

Regards,
Bogdan

Sergio Gutierrez wrote:
Hello to all members.

I have configured nathelper module to send NAT ping to natted users, by means of OPTIONS method, but I see that the ping is performed by the dummy UDP packet:

These are the parameters I defined in config file:

loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 60)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
#modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "rtpproxy_disable_tout", 60)
modparam("nathelper", "rtpproxy_tout", 1)
modparam("nathelper", "rtpproxy_retr", 5)
modparam("nathelper", "sipping_from", "[hidden email] <mailto:[hidden email]>")

modparam("nathelper", "sipping_method", "OPTIONS")
modparam("nathelper", "received_avp", "$avp(i:801)")

Is there something I am missing or is that feature not supported in OpenSER 1.3.2?

Thanks in advance for your attention.

Best regards.

--
Sergio Gutiérrez
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 




--
Sergio Gutiérrez

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users