Browse code

pua_dialoginfo: remove DLGCB_MI_CONTEXT

- DLGCB_MI_CONTEXT was deleted in dialog module

Dmitri Savolainen authored on 22/05/2017 14:48:42
Showing 1 changed files
... ...
@@ -238,10 +238,6 @@ __dialog_cbtest(struct dlg_cell *dlg, int type, struct dlg_cb_params *_params)
238 238
 			LM_ERR("dialog callback type 'DLGCB_RESPONSE_WITHIN' received, from=%.*s\n",
239 239
 					dlg->from_uri.len, dlg->from_uri.s);
240 240
 			break;
241
-		case DLGCB_MI_CONTEXT:
242
-			LM_ERR("dialog callback type 'DLGCB_MI_CONTEXT' received, from=%.*s\n",
243
-					dlg->from_uri.len, dlg->from_uri.s);
244
-			break;
245 241
 		case DLGCB_DESTROY:
246 242
 			LM_ERR("dialog callback type 'DLGCB_DESTROY' received, from=%.*s\n",
247 243
 					dlg->from_uri.len, dlg->from_uri.s);
... ...
@@ -605,7 +601,7 @@ struct dlginfo_cell* get_dialog_data(struct dlg_cell *dlg, int type)
605 601
 				DLGCB_FAILED| DLGCB_CONFIRMED_NA | DLGCB_CONFIRMED
606 602
 				| DLGCB_REQ_WITHIN | DLGCB_TERMINATED | DLGCB_EXPIRED
607 603
 				| DLGCB_EARLY | DLGCB_RESPONSE_FWDED | DLGCB_RESPONSE_WITHIN
608
-				| DLGCB_MI_CONTEXT | DLGCB_DESTROY,
604
+				| DLGCB_DESTROY,
609 605
 				__dialog_cbtest, NULL, NULL) != 0) {
610 606
 		LM_ERR("cannot register callback for all dialog types\n");
611 607
 		free_dlginfo_cell(dlginfo);