[SR-Users] Dialog module issue

Yuriy Gorlichenko ovoshlook at gmail.com
Wed Sep 9 11:29:22 CEST 2015


Hello. I try to manage by dialog module every signaling session, that goes
through my proxy.
I added newx mod params

modparam("dialog", "timeout_avp", "$avp(i:10)")
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "initial_cbs_inscript", 1)
modparam("dialog", "profiles_with_value", "caller")
modparam("dialog", "track_cseq_updates", 1)
modparam("dialog", "ka_timer", 10)
modparam("dialog", "ka_interval", 30


And at request route I added this for all invite methods

if (is_method("INVITE")){
$dlg_ctx(timeout_route) = "DIALOG_END";
$avp(i:10)=43200;
$dlg_ctx(timeout_bye) = 1;
dlg_set_property("ka-src");
                dlg_set_property("ka-dst");
dlg_manage();
xlog("L_INFO","Dialog manage is {$ct}\n");
...
}

So after this As I think every session must be dialog managed session and
every leg of call must be checked by keepalive OPTIONS packets but no one
OPTIONS request generated  wen session goes through my proxy.

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150909/19d5e747/attachment.html>


More information about the sr-users mailing list