System information
-00, 0 and + prefixes are not allowed in the billing (this should be avoided anyway)
-instead of * you should use -1
In this mode the _int version of the stored procedures are used (v_getprice_int and fgetprice_int)
5.116. Shared DID’s
You can provide shared DID numbers for your users in the following way:
-Add a few DID number from the “Users and devices” form. These are like normal endusers but their username is a DID number and the “Shared DID”
option is checked on the “Functions” tab (this way the “ispublic” field will be set to 4 for these numbers/users)
-Set the “feature_shareddidnumbers” configuration option to 1 (the default is -1 which means that will be automatically enabled once you have added a few
DID numbers, otherwise automatically disabled)
-Once this is done, users can assign DID numbers for their Phonebook entries from the web enduser interface. (stored in the “udid” field in the
“tb_speeddial” table)
5.117. Server supervisor
The mserver process has a builtin supervisor wich will do some integrity and whelth tests periodically and will do the required action on test failure.
In addition to this builtin procedure, you can start the vsupervisor service.
The following settings are defined in the "supervisor" section:
canrestartformalfunctions: if supervisor can do restarts (othervise only logs or emails the error). set to 0 to disable restarts default is 1
checklogs: if to check logs. if set to false, then "maxnologival" will have no effect. Default is true.
checkcpu: if to check cpu ussage
checkcallerids: check only cdr records that belongs to this caller. Example: 123,124
checkprefixes: check only cdr records only with this techprefix. Example: '333','555'
maxnocdrmin: restart if no cdr records for this number of minutes. Default is 20 (minutes).
minacd or minacl: min ACD treshold. Default is 15 sec.
minasr: min ASR treshold. Default is 3%.
maxnologival: maximum number of minutes without new record in tb_logs. Default is 15 min.
minactivesims: minumum number of active simcards. Default value is 0.
minactiveendusers: min active endusers (with statusdate set in the last 20 min). Default value is 1.
minactiveusers: min active users (some activity in the last 2 hour). Default value is 1.










