[sr-dev] git:4.2:b73897a2: dialog: fixed backport conflict for keepalive dialog state check

Daniel-Constantin Mierla miconda at gmail.com
Tue May 12 20:18:42 CEST 2015


Module: kamailio
Branch: 4.2
Commit: b73897a21afec416195c159858a20fc35f6889f0
URL: https://github.com/kamailio/kamailio/commit/b73897a21afec416195c159858a20fc35f6889f0

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-05-12T20:18:04+02:00

dialog: fixed backport conflict for keepalive dialog state check

---

Modified: modules/dialog/dlg_hash.c

---

Diff:  https://github.com/kamailio/kamailio/commit/b73897a21afec416195c159858a20fc35f6889f0.diff
Patch: https://github.com/kamailio/kamailio/commit/b73897a21afec416195c159858a20fc35f6889f0.patch

---

diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c
index c1bbbd6..f98207b 100644
--- a/modules/dialog/dlg_hash.c
+++ b/modules/dialog/dlg_hash.c
@@ -203,10 +203,10 @@ int dlg_ka_run(ticks_t ti)
 		} else {
 			if((dka->iflags & DLG_IFLAG_KA_SRC)
 					&& (dlg->state==DLG_STATE_CONFIRMED))
-				dlg_send_ka(dlg, DLG_CALLER_LEG);
+				dlg_send_ka(dlg, DLG_CALLER_LEG, 0);
 			if((dka->iflags & DLG_IFLAG_KA_DST)
 					&& (dlg->state==DLG_STATE_CONFIRMED))
-				dlg_send_ka(dlg, DLG_CALLEE_LEG);
+				dlg_send_ka(dlg, DLG_CALLEE_LEG, 0);
 			if(dlg->state==DLG_STATE_DELETED) {
 				shm_free(dka);
 				dka = NULL;




More information about the sr-dev mailing list