[SR-Users] websocket devices keepalive not working
Daniel Tryba
d.tryba at pocos.nl
Tue Jun 30 16:05:07 CEST 2015
On Tuesday 30 June 2015 15:49:26 Yuriy Gorlichenko wrote:
> 1) nathelper
>
> modparam("nathelper", "sipping_method", "OPTIONS")
> modparam("nathelper", "natping_interval", 15)
> modparam("nathelper", "ping_nated_only", 0)
> modparam("nathelper", "sipping_bflag", 7)
> modparam("nathelper", "sipping_from", "sip:pinger at mydomain")
>
> but it didn't send keepalives to noone client
This isn't enough, you need to set the sipping_bflag on REGISTER, eg:
if (!save("location"))
{
sl_reply_error();
}
else
{
setbflag(7);
}
Did you do this and still got not OPTIONS send to the clients?
More information about the sr-users
mailing list