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();
.....
.....
.....

Regards

Abdoul.




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,
Nhan

On 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,
Nhan 

On 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àn

On 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 OSSENI
Ingénieur Réseaux et systèmes chez THALES
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167