[OpenSIPS-Users] NAT ping with options in OpenSER 1.3.2

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu May 21 18:10:33 CEST 2009


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:pinger at une.net.co 
> <mailto:sip%3Apinger at une.net.co>")
> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list