[sr-dev] git:master:586fe44c: dialog: removing unused DMQ variables

Ivan Myalkin thereisnomorefreelogins at gmail.com
Fri Oct 28 15:48:34 CEST 2016


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

Author: Ivan Myalkin <thereisnomorefreelogins at gmail.com>
Committer: Ivan Myalkin <thereisnomorefreelogins at gmail.com>
Date: 2016-10-28T14:02:15+03:00

dialog: removing unused DMQ variables

Removing unused variables, early created for DMQ sync purposes.

---

Modified: modules/dialog/dialog.c
Modified: modules/dialog/dlg_hash.c

---

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

---

diff --git a/modules/dialog/dialog.c b/modules/dialog/dialog.c
index f3abb04..bbe8e6f 100644
--- a/modules/dialog/dialog.c
+++ b/modules/dialog/dialog.c
@@ -109,8 +109,6 @@ static int _dlg_track_cseq_updates = 0;
 int dlg_ka_failed_limit = 1;
 
 int dlg_enable_dmq = 0;
-int dlg_id_offset = 1;
-int dlg_id_increment = 1;
 
 int dlg_event_rt[DLG_EVENTRT_MAX];
 
@@ -302,9 +300,6 @@ static param_export_t mod_params[]={
 	{ "db_skip_load",          INT_PARAM, &db_skip_load             },
 	{ "ka_failed_limit",       INT_PARAM, &dlg_ka_failed_limit      },
 	{ "enable_dmq",            INT_PARAM, &dlg_enable_dmq           },
-	{ "id_offset",             INT_PARAM, &dlg_id_offset            },
-	{ "id_increment",          INT_PARAM, &dlg_id_increment         },
-
 	{ 0,0,0 }
 };
 
diff --git a/modules/dialog/dlg_hash.c b/modules/dialog/dlg_hash.c
index aede715..7652560 100644
--- a/modules/dialog/dlg_hash.c
+++ b/modules/dialog/dlg_hash.c
@@ -48,8 +48,6 @@
 extern int dlg_ka_interval;
 
 extern int dlg_enable_dmq;
-extern int dlg_id_offset;
-extern int dlg_id_increment;
 
 /*! global dialog table */
 struct dlg_table *d_table = 0;




More information about the sr-dev mailing list