[sr-dev] git:master:b4a44236: modules/ims_dialog: pass reason to terminate function

jaybeepee jason.penton at gmail.com
Fri Feb 12 19:05:28 CET 2016


Module: kamailio
Branch: master
Commit: b4a4423695eab8087de4f3ed68e21145ac1fd5d5
URL: https://github.com/kamailio/kamailio/commit/b4a4423695eab8087de4f3ed68e21145ac1fd5d5

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-02-12T20:03:57+02:00

modules/ims_dialog: pass reason to terminate function

---

Modified: modules/ims_dialog/dlg_req_within.c

---

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

---

diff --git a/modules/ims_dialog/dlg_req_within.c b/modules/ims_dialog/dlg_req_within.c
index 902fbe6..2de823d 100644
--- a/modules/ims_dialog/dlg_req_within.c
+++ b/modules/ims_dialog/dlg_req_within.c
@@ -507,7 +507,7 @@ int w_api_terminate_dlg(str *callid, str *ftag, str *ttag, str *hdrs, str* reaso
 
     unref_dlg(dlg, 1);
 
-    return dlg_terminate(dlg, NULL, NULL/*reason*/, 2, hdrs);
+    return dlg_terminate(dlg, NULL, reason, 2, hdrs);
 
 }
 




More information about the sr-dev mailing list