[SR-Users] dialog ka-timer/ka_interval results in flood op OPTIONS
Daniel Tryba
daniel at pocos.nl
Wed Jun 5 12:07:14 CEST 2013
On Tuesday 04 June 2013 18:20:19 Daniel Tryba wrote:
> > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a17a3
> > 2e 5f7a3120c200d6e48fe91d7aa1dfd28b1
> >
> > If all works fine, then I will backport.
>
> But tomorrow I'll do some more tests.
It works to send OPTIONS and detect dead endpoints, but the results are not
what you expect from the configuration:
modparam("dialog","ka_timer", 10)
modparam("dialog","ka_interval", 15)
and dlg_set_property("ka-src");
Results in the first OPTIONS being send after ka_interval time since the OK on
te INVITE. Next OPTIONS will be send after 2*ka_timer from then on:
xx:00:00 INVITE ->
xx:00:01 200 OK <-
xx:00:16 OPTIONS ->
xx:00:36 OPTIONS ->
xx:00:56 OPTIONS ->
modparam("dialog","ka_timer", 30)
modparam("dialog","ka_interval", 60)
xx:00:00 INVITE ->
xx:00:01 200 OK <-
xx:01:21 OPTIONS ->
xx:02:21 OPTIONS ->
xx:03:21 OPTIONS ->
Regardless of this doubled ka_timer: ship it :)
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/ - http://www.sipo.nl/
K.v.K. Eindhoven 17097024
More information about the sr-users
mailing list