Yes, dlg_set_property + ka_interval + ka_timer helped, thank you.

Now kamailio generates OPTIONS.

22.05.2019 16:08, Sergiu Pojoga wrote:
Haven't seen your
modparam("dialog", "ka_interval", 300)

Instead of us guessing, better send all your dialog pertaining params and functions called.

On Wed, May 22, 2019 at 8:56 AM Ildar Mukhametzhanov <[email protected] <mailto:[email protected]>> wrote:

    dlg_manage() was there from the beginning, adding of
    dlg_set_property had no effect.

    22.05.2019 15:35, Sergiu Pojoga wrote:
    Most probably you aren't calling dlg_manage()

    if(is_method("INVITE") && !has_totag()) {
       dlg_manage();
       dlg_set_property("timeout-noreset");
       dlg_set_property("ka-src");
       dlg_set_property("ka-dst");
    }

    On Wed, May 22, 2019 at 8:18 AM Ildar Mukhametzhanov
    <[email protected] <mailto:[email protected]>> wrote:

        Thanks for reply.

        I tried to use this parameter before, nothing happens.

        For example, I've added (I am using kamailio v5.2.2):

        modparam("dialog", "ka_timer", 10)

        Log samples:

        May 22 13:56:10 Dev-Deb9 /usr/sbin/kamailio[20526]: NOTICE:
        {2 2 INVITE s7awvYSXZDFsaCH9BylvKA..} acc [acc.c:279]:
        acc_log_request(): ACC: transaction answered:
        
timestamp=1558526170;method=INVITE;from_tag=357d5638;to_tag=y2knl0os65;call_id=s7awvYSXZDFsaCH9BylvKA..;code=200;reason=Ok

        ...

        May 22 13:57:22 Dev-Deb9 rtpengine[2026]: INFO:
        [s7awvYSXZDFsaCH9BylvKA..]: Closing call due to timeout

        May 22 13:57:22 Dev-Deb9 rtpengine[2026]: INFO:
        [s7awvYSXZDFsaCH9BylvKA..]: Final packet stats:

        ...

        And nothing relevant since that time.

        Dialog still considered as active, and I see no OPTIONS
        packets within this dialog (at the moment: May 22 14:07:36).

        What else I suppose to know about it?

        Thanks in advance.


        22.05.2019 14:27, Sergiu Pojoga wrote:
        Probing caller/callee periodically,
        
https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.ka_timer
        A maximum dialog timeout won't hurt,
        
https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.default_timeout

        On Wed, May 22, 2019 at 5:08 AM Ildar Mukhametzhanov
        <[email protected] <mailto:[email protected]>> wrote:

            Hello!

            I am using dialog+acc modules to write CDRs in kamailio.

            Everything works great except one test.

            During active call I switched off both UACs preventing
            them to send BYE.

            Rtpengine reported about call interruption, but kamailio
            thinks that this call is in-progress for a long time.

            What is the right way to make kamailio know about calls
            interrupted without BYE.


            Thanks.

-- Sincerely,
            *Ildar Mukhametzhanov*
            Head of software development
            VoiceON Telecom Services GmbH
            [email protected] <mailto:[email protected]>
            t. +49 30 398 20 500-77
            _______________________________________________
            Kamailio (SER) - Users Mailing List
            [email protected]
            <mailto:[email protected]>
            https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


        _______________________________________________
        Kamailio (SER) - Users Mailing List
        [email protected]  <mailto:[email protected]>
        https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

        _______________________________________________
        Kamailio (SER) - Users Mailing List
        [email protected] <mailto:[email protected]>
        https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


    _______________________________________________
    Kamailio (SER) - Users Mailing List
    [email protected]  <mailto:[email protected]>
    https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
    Sincerely,
    *Ildar Mukhametzhanov*
    Head of software development
    VoiceON Telecom Services GmbH
    [email protected] <mailto:[email protected]>
    t. +49 30 398 20 500-77
    _______________________________________________
    Kamailio (SER) - Users Mailing List
    [email protected] <mailto:[email protected]>
    https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to