dlg_set_property(attr)
Set a dialog property - an attribute that enable/disable various behaviours (e.g., sending keep alive requests).
Meaning of the parameters is as follows:
attr - name of property. It can be:
If keep alive is enabled for a dialog, the module will send SIP OPTIONS requests with CSeq lower or equal than last request within dialog, with the scope of detecting if the destination is still in the call. If the keep alive request results in a local timeout or '481 Call Leg/Transaction Does Not Exist', then the dialog is ended from the server.
If 'timeout-noreset' is set, dialog timeout won't be reset upon reception of in-dialog messages (default behavior).
This function can be used from ANY_ROUTE.
Thank Abdoul,I use your suggest config and kamailio start now but there is no message when opposite site lost connection.Thanks,NhanOn Thu, Jun 15, 2017 at 2:07 PM, Abdoul Osséni <abdoul.osseni@gmail.com> wrote:Hi,I think, you can use the following config................#!define FLT_DLG 9...............loadmodule "dialog.so"...............# ----- dialog params -----modparam("dialog", "enable_stats", 1)modparam("dialog", "dlg_flag", FLT_DLG)modparam("dialog", "send_bye", 1)modparam("dialog", "ka_timer", 5)modparam("dialog", "ka_interval", 30)...............route[RELAY] {...............if (is_method("INVITE")) {setflag(FLT_DLG);dlg_set_property("ka-src");dlg_set_property("timeout-noreset"); }dlg_manage();...............RegardsAbdoul.2017-06-15 9:00 GMT+02:00 Nguyen Tran Nhan <nguyentran@nccsoft.vn>:Thanks, I am able to install dialog module. Just add dlg_flag config for starting kamailio. But I think this flag is deprecated. It is using dlg_manage() now?Thanks,NhanOn Wed, Jun 14, 2017 at 9:29 AM, Nguyen Tran Nhan <nguyentran@nccsoft.vn> wrote:About installation dialog module, I add load dialog.so and it require to load outbound.so. After that it need to enable stcp. I think there is no stcp.so module? enable_stcp=1 does not work for me.Thanks,NhanOn Tue, Jun 13, 2017 at 8:59 AM, Nguyen Tran Nhan <nguyentran@nccsoft.vn> wrote:Thanks Daniel,I am using rtpproxy, so I think the patches is good for me. Have you got any information about patch for rtpproxy?Thanks,NhànOn Mon, Jun 12, 2017 at 10:19 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,
two options coming in my mind:
1) use dialog module and enable keepalive within the dialog
2) if you use an rtp relay (for nat traversal, etc), then thee were some patches that rtpproxy is sending an xmlrpc command to kamailio, which via dialog module can send a bye. Not sure what is the current status with that patch or if rtpengine has anything similar.
Cheers,
Daniel
On 10.06.17 06:10, Nguyen Tran Nhan wrote:
Hi all,I am working in basic call. I got common cause that opposite side (callee) lost connection and caller still hangging in the call. Is there any message to server to caller in this case?
Thanks,Nhan
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi -bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - www.asipto.com Kamailio World Conference - www.kamailioworld.com
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--Abdoul OSSENIIngénieur Réseaux et systèmes chez THALESCo-Fondateur de ON SERVICESTél : +33 601 135 167
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users