I'm tryng to do what described here:
http://www.openser.org/docs/modules/1.3 ... tml#AEN218
loadmodule "/lib/openser/modules/mediaproxy.so"
loadmodule "/lib/openser/modules/nathelper.so"
modparam("mediaproxy", "natping_interval", 0)
modparam("nathelper", "rtpproxy_disable", 1)
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "sipping_from", "sip:ping@sipserver.net")
modparam("registrar", "nat_flag", 6)
modparam("registrar", "sip_natping_flag", 2)
....
....
if (method=="REGISTER") {
setflag(6); # nat
setflag(2); # sip_ping
if (!save("location")) {
sl_reply_error();
}
}
But 'sip_natping_flag' doesn't exist anymore in 1.3 ,so I think I have to use modparam("nathelper", "sipping_bflag", 7).
Can you suggest me the better way to use mediaproxy in conjunction with nathelper in order to detect and fix the NAT properly and ping (i.e. send OPTION or NOTIFY) natted clients?
Thanks in advance,
C.