[sr-dev] git:master:d6490589: pua_dialoginfo: remove DLGCB_MI_CONTEXT

Dmitri Savolainen savolainen at erinaco.ru
Tue May 23 02:47:10 CEST 2017


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

Author: Dmitri Savolainen <savolainen at erinaco.ru>
Committer: Dmitri Savolainen <savolainen at erinaco.ru>
Date: 2017-05-22T17:48:42+03:00

pua_dialoginfo: remove DLGCB_MI_CONTEXT

- DLGCB_MI_CONTEXT was deleted in dialog module

---

Modified: src/modules/pua_dialoginfo/pua_dialoginfo.c

---

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

---

diff --git a/src/modules/pua_dialoginfo/pua_dialoginfo.c b/src/modules/pua_dialoginfo/pua_dialoginfo.c
index ed1f107f28..6141e3bdec 100644
--- a/src/modules/pua_dialoginfo/pua_dialoginfo.c
+++ b/src/modules/pua_dialoginfo/pua_dialoginfo.c
@@ -238,10 +238,6 @@ __dialog_cbtest(struct dlg_cell *dlg, int type, struct dlg_cb_params *_params)
 			LM_ERR("dialog callback type 'DLGCB_RESPONSE_WITHIN' received, from=%.*s\n",
 					dlg->from_uri.len, dlg->from_uri.s);
 			break;
-		case DLGCB_MI_CONTEXT:
-			LM_ERR("dialog callback type 'DLGCB_MI_CONTEXT' received, from=%.*s\n",
-					dlg->from_uri.len, dlg->from_uri.s);
-			break;
 		case DLGCB_DESTROY:
 			LM_ERR("dialog callback type 'DLGCB_DESTROY' received, from=%.*s\n",
 					dlg->from_uri.len, dlg->from_uri.s);
@@ -605,7 +601,7 @@ struct dlginfo_cell* get_dialog_data(struct dlg_cell *dlg, int type)
 				DLGCB_FAILED| DLGCB_CONFIRMED_NA | DLGCB_CONFIRMED
 				| DLGCB_REQ_WITHIN | DLGCB_TERMINATED | DLGCB_EXPIRED
 				| DLGCB_EARLY | DLGCB_RESPONSE_FWDED | DLGCB_RESPONSE_WITHIN
-				| DLGCB_MI_CONTEXT | DLGCB_DESTROY,
+				| DLGCB_DESTROY,
 				__dialog_cbtest, NULL, NULL) != 0) {
 		LM_ERR("cannot register callback for all dialog types\n");
 		free_dlginfo_cell(dlginfo);




More information about the sr-dev mailing list