[SR-Users] dialog keep-alive don't work

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 11 10:26:43 CEST 2017


Hello,


On 08.09.17 21:32, Yu Boot wrote:
> Hello.
>
> I'm using following dialog module settings:
>
> modparam("dialog", "db_url", DBURL)
> modparam("dialog", "db_mode", 1)
> modparam("dialog", "dlg_flag", 4)
> modparam("dialog", "dlg_match_mode", 1)
> modparam("dialog", "profiles_with_value", "limithash ; caller")
> modparam("dialog", "ka_timer", 10)
> modparam("dialog", "ka_interval", 300)
> modparam("dialog", "send_bye", 1)
>
>
> and I expect some OPTIONS within dialogs. But that don't happen. I
> don't see any OPTIONS messages in sngrep in established calls. What's
> wrong? I call dlg_manage() right before main t_relay, everything
> including CDRs are working fine...
>
you also need to set the KA property for src or dst:

  -
https://www.kamailio.org/docs/modules/stable/modules/dialog.html#dialog.f.dlg_set_property

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com




More information about the sr-users mailing list