Module: kamailio
Branch: master
Commit: b4a4423695eab8087de4f3ed68e21145ac1fd5d5
URL:
https://github.com/kamailio/kamailio/commit/b4a4423695eab8087de4f3ed68e2114…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)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/b4a4423695eab8087de4f3ed68e2114…
Patch:
https://github.com/kamailio/kamailio/commit/b4a4423695eab8087de4f3ed68e2114…
---
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);
}