diff --git a/src/modules/dialog/doc/dialog_admin.xml b/src/modules/dialog/doc/dialog_admin.xml index 3a5a348abce..d231d9a2f6d 100644 --- a/src/modules/dialog/doc/dialog_admin.xml +++ b/src/modules/dialog/doc/dialog_admin.xml @@ -1520,6 +1520,60 @@ end +
+ <varname>h_id_start</varname> (int) + + Set the offset to be used for generating dialog internal hash id. + If set to -1, the h_id_start is set to the value of the server_id + global parameter. + + + + Default value is 0. + + + + Set <varname>h_id_start</varname> parameter + +... +modparam("dialog", "h_id_start", 5) +... + + +
+ +
+ <varname>h_id_step</varname> (int) + + Set the step to increment the dialog internal hash id. + + + If the value is greater than 1, the internal hash id is generated + with the rule: h_id_start + N * h_id_step. The first value of N is + randomly selected at startup, then incremented by 1 for each new + dialog. Setting h_id_start and h_id_step to non-default values + should be done when using dlg_db_load_callid(...) to load dialog + records generated by another &kamailio; instance, making also sure + that those &kamailio; instances are not going to generate + overalapping dialog hash id values by using different h_id_start + and the same h_id_step (h_id_step has to be greater than the + maximum value of h_id_start). + + + + Default value is 1. + + + + Set <varname>h_id_step</varname> parameter + +... +modparam("dialog", "h_id_step", 10) +... + + +
+