|
@@ -35,6 +35,8 @@
|
|
|
/* terminate_dlg function prototype */
|
|
|
typedef int (*terminate_dlg_f)(str *callid, str *ftag, str *ttag, str *hdrs, str *reason);
|
|
|
|
|
|
+typedef int (*lookup_terminate_dlg_f)(unsigned int h_entry, unsigned int h_id, str *hdrs);
|
|
|
+
|
|
|
/* get the current dialog based on message function prototype */
|
|
|
typedef struct dlg_cell *(*get_dlg_f)(struct sip_msg *msg);
|
|
|
|
|
@@ -45,6 +47,7 @@ struct dlg_binds {
|
|
|
register_dlgcb_f register_dlgcb;
|
|
|
register_dlgcb_nodlg_f register_dlgcb_nodlg;
|
|
|
terminate_dlg_f terminate_dlg;
|
|
|
+ lookup_terminate_dlg_f lookup_terminate_dlg;
|
|
|
set_dlg_variable_f set_dlg_var;
|
|
|
get_dlg_variable_f get_dlg_var;
|
|
|
get_dlg_expires_f get_dlg_expires;
|