The List of custom config parameters that allow changing various settings in config files.

Created: August 2018

Updated: May 2024

Permalink: https://wildix.atlassian.net/wiki/x/Fh3OAQ


To make any changes to config files, access them via SSH as root:

nano-tiny /etc/<sub-directory>/<config file name>

Call Groups

Check registration status of Call group members during call distribution

The feature is enabled by default and it prevents unavailable Call group members (means no registered devices or no push for mobile apps) from receiving calls from a queue. The logic is applied only for Call group calls!

To disable it:


Allow overriding of Global Call groups settings 

The option allows overriding of Global Call groups settings (see the chapter below) and saving custom parameters after each system upgrade.

To override Global Call group settings, you need to edit queues-general-custom.conf which is included in file queues.conf.

Global Call groups settings

Global Call group settings are defined and configured in [general] section of the configuration filqueues.conf (the path to the file: /rw2/etc/callweaver/queues.conf).

[general] section

The section contains global settings that are applied to all Call groups.

With persistentmembers enabled, all dynamically added Call group members (via Feature code "Call group management" 97, WebAPI "Call group login" and Contact center feature in Collaboration) are stored in their Call groups and therefore saved after the system restart. 

With autofill disabled, a Call group attempts to deliver calls to members in a serial manner. This means only one call is attempted to be distributed to members at a time. Additional callers are not distributed to members until that caller is connected to a member. With autofill enabled, callers are distributed to available agents simultaneously. The parameter allows you to more efficiently distribute calls between Call group members, especially if there are several callers in a queue and several members can accept a call. 

Collaboration 

Disable file transfer in Collaboration chat messages 

The support starts from WMS 5.03.


This feature blocks the possibility of transferring files in Collaboration chat messages for all PBX users. 

To disable file transfer, edit the file /rw2/etc/env.custom.ini by adding the following line: 

COLLABORATION_FILE_TRANSFER_ALLOW=false

Disable Chat and Post-It functionality in Collaboration 

The support starts from WMS 5.03.


This feature disables access to Chat and Post-It functionality throughout Collaboration. It removes the Chat tab and disables Chat and Post-It options in Colleagues, Fn keys, History tabs, as well as in Search and via Add button. With disabled chats, users also don't receive Kite chat requests.

To disable Chat and Post-It, edit the config file /rw2/etc/env.custom.ini by adding the following line: 

COLLABORATION_CHAT_ALLOW=false


Use case: This feature is useful for teams4Wildix integration, as long as Microsoft Teams offers its own chat. Disabling chat functionality in Collaboration helps users to avoid confusion between these two systems and use one chat instead of two. 

Change the default Departments tree separator

Starting from WMS 5.04.20220309.1, the Colleagues tab in Collaboration shows only the list of Departments and there is possibility to create a multilevel hierarchy of Departments and display them in a tree view. 

When indicating the Department path in WMS -> Users -> Edit User -> Department field, the default separator "/" should be used. For example: Department: UK/ Marketing.

To change the default separator to another character ("\" or "|"), edit the following parameter in the /rw2/etc/env.custom.ini:

DEPARTMENTS_TREE_SEPARATOR=\

Documentation: How to configure Departments tree.

Display all PBX users on the Colleagues tab 

The support starts from WMS 5.04.20220309.1

By default, only people added to roster are shown on the Colleagues tab. To display all users registered on the PBX, add the following line to the /rw2/etc/env.custom.ini file:

COLLABORATION_SHOW_ALL_COLLEAGUES=true


Current limitation: 

The status of users that are not added to the roster is not displayed.

Enable Noise suppression on the PBX level

Starting from WMS 6.04, Collaboration users can enable Noise suppression in Collaboration Settings -> Web Phone. To enable Noise suppression on the PBX level for all users, edit the following parameter in the /rw2/etc/env.custom.ini file:

COLLABORATION_NOISE_SUPPRESSION=true


Note: The settings are applied to all PBX users except for those, who enabled/ disabled Noise suppression in Collaboration settings.


Collaboration Mobile App

Configure which numbers on mobile should be directed to native dialler

Starting from WMS v. 6.02.20230306.1, it is possible to configure that certain numbers dialled via mobile Collaboration app are automatically forwarded to native dialler (call via Mobile network) for all PBX users.  

Note: The support of the feature on mobile starts from Android Collaboration app v. 5.11; iOS Collaboration app v. 8.11.

Add the following parameter to /rw2/etc/env.custom.ini file:

COLLABORATION_MOBILE_DIRECT_CALL=xxx,yyy

 Where xxx, yyy are the extensions/ numbers, calls to which should be automatically forwarded to the native dialler. By default, the field is empty.

Configure Advanced settings in Collaboration app on mobile (Android)

Starting from Android app v. 5.13.05, it is possible to predefine on PBX the values for Advanced settings in Collaboration mobile app (Android). 


Note: The support starts from WMS Beta 6.04.20230724.1. 


For this, set the following parameters in the /rw2/etc/env.custom.ini file: 

Setting on mobileParameterDefault valuePossible values
Disable SIP modeCOLLABORATION_MOBILE_DISABLE_SIP_MODEfalsetrue | false
Enable WebRTCCOLLABORATION_MOBILE_ENABLE_WEBRTCfalsetrue | false
Firewall bypass (beta)COLLABORATION_MOBILE_FIREWALL_BYPASSoffauto | on | off
Outgoing calls via WildixCOLLABORATION_MOBILE_OUTGOING_CALLS_VIA_WILDIXfalsetrue | false
Run in backgroundCOLLABORATION_MOBILE_RUN_IN_BACKGROUNDfalsetrue | false
User status when talking on mobileCOLLABORATION_MOBILE_USER_STATUS_WHEN_TALKING_ON_MOBILEfalsetrue | false
Native Calls SupportCOLLABORATION_MOBILE_NATIVE_CALLS_SUPPORTfalsetrue | false
Mic gainCOLLABORATION_MOBILE_MIC_GAIN0-4..12
Activate DND modeCOLLABORATION_MOBILE_ACTIVATE_DND_MODEfalsetrue | false

More about advanced settings on mobile: Appendix 3: Advanced Settings

Devices

Modify devices sync

Important: By default, the sync is enabled. It is necessary to disable it in case of FAILOVER scenario on Failover PBXs!

To disable the sync:

Modify g729 transcoding for web phone calls to trunks which do not support g711

Important:

  • It’s not recommended to enable this feature as it reduces call quality and generates useless load on CPU!
  • It must be enabled only if the operator doesn’t support g711a/u for some calls
  • It can generate CPU overload and problems if too many calls use it; in this case it is recommended to use another operator which supports all the needed codecs ( g711a / g711u / g729)


Note: Feature is supported only on PBXs with modern CPU or Cloud.


To enable g729 transcoding:

Modify HD codecs on PBX 

Supported devices:

  • Collaboration
  • Android / iOS apps
  • WorkForce / WelcomeConsole /  WP480 r3 /  WP490 r3

The feature also works for PBXs in WMS Network.


The feature is enabled by default. To disable it:

Manage wideband codecs usage

Starting from WMS 5.04.20220309.1, there is custom provisioning parameter WideNarrowbandUse, which allows to manage wideband codecs usage. By default, the parameter is disabled and wideband codecs are forced for all devices. When the parameter is enabled (WideNarrowbandUse=yes), the previous behaviour remains: all devices use wideband codec priority or narrowband codec priority and remote codecs priority or local codecs.

In case of WideNarrowbandUse=yes, you need to add relevant lines to /etc/callweaver/sip-wideband.conf to set the parameters 

Modify presence status monitoring via BLF keys

Detailed information about the feature: Presence status monitoring.


The feature is enabled by default. To disable it:


Modify the behaviour of Colleague BLF keys if a colleague is a Call group member

The feature is disabled by default . There are two options for its configuration:

1. Disable updates for "ringing" status for "Call All 10" strategy. To enable such behavior: 

Once it is enabled, Colleague BLF keys do not switch to an active state for incoming calls to Call Group before call answer (only Call group BLF turns on).

2. (available in WMS 5.02) Disable updates for all early statuses including "ringing", "check who is calling", "cancelled" etc for "Call All 10/32" strategies (check the separate Article regarding the feature). To enable the behaviour:



If the feature is enabled, the default devices mask is:


modparam("pv", "varset", "device_presence_skip_event_dialog=s:(Wildix WP490GR[3|4])")



It can be changed in the config file /etc/kamailio/cfg.d/host_specific_custom.cfg.

3. Avoid an issue in which WP phones of Call group members continue to ring after the call was answered

Such an issue may occur in case of large amount of call group members with "Colleague" BLF buttons configured.

2. Reload PBX engine:

callweaver -rx "sip reload"

Modify direct SDES-SRTP  

Supported devices:

  • WorkForce / WelcomeConsole / WP480G r3/ WP490G r3/ Start
  • BRI / PRI Media gateways (EOL)
  • FXS Media gateways

The feature is enabled by default. To disable it:


During ongoing calls, a lock on a phone's screen indicates that Direct SDES-SRTP is established.

Select a specific GSM gateway 

The option allows setting a specific GSM gateway for SMS sending for each separate user:

Modify geolocation sharing on PBX

The support starts from WMS 5.02.


Specifically this option can be used to block geolocation on Vision/ SuperVision phones since the ACL "Can/cannot - View geolocation via Collaboration - Group"  can't be applied.

To block geolocation sharing:


Notes:

  • Users in Collaboration can still view their own statuses
  • If geolocation is blocked only on PBX A and not blocked on PBX B in WMS Network, users from PBX A are still able to view geolocation of PBX B users

Configure FXS to recognize pulse dialing

Note: The support starts from WMS 6.06.20240425.1.

It is possible to configure FXS to recognize pulse dialing to avoid an issue when phones using pulse dialing only could not make calls. For this, add the following parameter to the /rw2/etc/provision.conf file, indicating the MAC address of the necessary FXS device(s) and minimum and maximum flash hook time:

 UseFlashHookTime={"9C750430060a": {"min": 150,"max": 400},"9C71153200DC": {"min": 300,"max": 500}}

You can set as many devices as you need. 

Note: 

  • The minimum time can be 60.
  • The maximum time is 1500.
  • The minimum time cannot be bigger than the maximum time.

Security

Enable SSL connection to remote MySQL server

It is possible to configure SSL connection for sending CDR data to external MySQL server. 

  1. Upload the following three files to the PBX:

    Note: The files should be generated by server CA file on MySQL server. For MySQL v. 5.7, you can refer to the following instruction.

  2. Place the files into the directory /etc/callweaver/certs (the directory should be created beforehand) or any other directory on the PBX.
  3. Make changes in the file /etc/callweaver/cdr_mysql.conf by adding/ editing the following rows: 

    ssl_cert = /etc/callweaver/certs/client-cert.pem
    ssl_key = /etc/callweaver/certs/client-key.pem
    ssl_ca = /etc/callweaver/certs/ca.pem


  4. Run the following command:

    callweaver -x'reload cdr_mysql.so'


  5. In the file /rw2/etc/ejabberd/ejabberd_mod_mam.yml, edit the following line:

    sql_ssl: true


Enable location-based MFA 

The support starts from WMS 6.03.


It is possible to enable the location-based multi-factor authentication that requests user to confirm IP address via email when logging in to Collaboration or using basic authorization from a new IP address.

The feature is disabled by default. To activate it, set the following parameter in /rw2/etc/env.custom.ini file:

MFA_SERVICE_ENABLE=true 


Note: Starting from WMS 6.04.20231020.2, it is possible to manage location-based MFA via WMS -> PBX -> Features. 

Documentation: WMS Settings Menu - Admin Guide


Dialplan

Exit code 0 from voicemail 

Support for exit code 0 from voicemail allowing caller to speak with an operator was added.

How to use:

How to enable:

Use online streaming of mp3 http/ https sources as music on hold 

The support starts from WMS 5.02.


The feature is disabled by default. When enabled, it allows setting online streaming of mp3 http/ https sources as music on hold.

To enable:


Note: Starting from WMS 5.04.20220309.1, in case you have several streams, modify the parameter [radio] to [radio1], [radio2], etc. in the config file and choose the corresponding option ("radio1", "radio2") when setting music on hold in the Dialplan. 

x-caracal

Change time range limit for reports

Starting from WMS 5.04, depending on the PBX load, some limits of allowed days range apply when generating x-caracal reports. Learn more in x-caracal documentation.

To set custom limit (for example 50 days), add the following parameter to /var/www/x-caracal/.env file:

MAX_ALLOWED_DAY_RANGE=50

Modify Inactivity Timer

By default, after 10 minutes of inactivity, x-caracal page needs to be refreshed. Starting from WMS 6.03, it is possible to modify its inactivity timeout.

To modify the timeout, add the following parameter to /var/www/x-caracal/.env file:

INACTIVITY_TIMEOUT_MINUTES = 120 

The Maximum value is 600 (10 hours). In case you set the inactivity timeout to 0, it gets disabled. 

Integrations

Hotel PMS

WHoteld package supports some custom configuration parameters that can be changed by editing the file /etc/wildix/whoteld_manager_custom.conf.

List of the available parameters:

Note: Information about hotel integration: Hotel Integration - FIAS protocol - Guide.

Integrate custom HTML code by using Google Tag Manager

The feature is available only for Cloud PBXs!

Supported services:

  • Collaboration (starting from WMS 5.02)
  • x-caracal (starting from WMS 5.03)


Google Tag Manager allows integrating custom HTML code into Collaboration and x-caracal. To integrate the code, take the following steps


  1. after the <HEAD> section:

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-XXXX');</script>
    <!-- End Google Tag Manager -->


  2. after the <BODY> section: 

    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXX"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->


Feelingstream

Wildix supports integration with the Feelingstream platform for voice recognition and call recordings in stereo format. Feelingstream allows to conduct STT analysis of stereo recordings received from Wildix PBX.

Requirements:

To enable the integration, create the config file /etc/feelingstream.conf with the following parameters: 

host=wildix.feelingstream.com
apikey=fcd4206d-aaab-56cb-bdc8-a33dc4611a4b_ab30ac63-1234-1234-1234-123456789012
bucket=call
lang=en

Where:

To enable stereo mode on the PBX side and improve the quality of recognition, go to WMS -> Dialplan -> General Settings -> Set dialplan variables and add the following Global Dialplan variable: STEREO_RECORDINGS=yes.

Note: Stereo recordings can be activated and used separately on any PBX, without Feelingstream integration, consult the documentation Custom Global Dialplan Variables List.

Enable sending presence events to support Microsoft Teams 2-way presence sync 

For the correct user presence sync, it is necessary to enable sending of presence events to Analytics on PBXs with UC licenses (for x-bees licenses, it is enabled by default). For this, follow the steps described below:

Fax Server

Adjust the resolution of outgoing faxes 

Note: The default resolution is 204x196 (fine).


To adjust the resolution:

Disable Error Correction Mode (ECM) 

Note: The support starts from WMS 5.04.20220309.1

ECM is enabled by default. To disable it, add the following line in /etc/callweaver/res_fax_custom.conf:

ecm=no

Set maximum/ minimum fax transmission speed

Note: The support starts from WMS 5.04.20220309.1.

Maximum transmission speed

To change the maximum transmission speed, modify the following parameter in the /etc/callweaver/res_fax_custom.conf file:

maxrate=14400

The default value is 14400

Possible values: 2400 | 4800 | 7200 | 9600 | 12000 | 14400

Minimum transmission speed

To change the minimum transmission speed, modify the following parameter in the /etc/callweaver/res_fax_custom.conf file:

minrate=2400

The default value is 2400

Possible values: 2400 | 4800 | 7200 | 9600 | 12000 | 14400

Kite

Deliver Kite chat requests to all Call group members 

The support starts from WMS 5.03.


In some cases, Kite chat requests may not be equally distributed within the group. 

To deliver chat requests to all Call group members simultaneously, edit the config file /rw2/etc/ejabberd/ejabberd_mod_wildix_kite.yml by changing the value of the pickup_strategy parameter:

pickup_strategy: sendall

Available values:

Trunks

Enable Q-value (serial forking) for trunk registration

To enable q-value (serial forking) parameter via custom register string:


Modify sending keep-alive packets via UDP packets to keep RTP ports opened

The option improves symmetric RTP/ NAT by allowing keep-alive packets to be sent via UDP packets for PBXs located behind NAT. 

To send UDP packets (by default, RTP packets are sent), proceed with the following:

Include the session-expires timer in UPDATE message

The feature is disabled by default. It is applied for some specific carriers when calls can drop due to the missing session-expires timer in UPDATE messages.

If you encounter such issue, follow these steps to include the session-expires timer:


Allow calls from users with same public IP address as a static trunk

Note: The support starts from WMS 6.01.20221019.4.

The option is disabled by default. To enable it and allow calls from users that have the same public IP address as a static trunk, do the following:

Users

2 PBXs in WMS Network, each with its own Active Directory for users

You need admin access to Active Directory server.

To make it work, proceed as follows:

  1. Make import of users via Active Directory on Server PBX
  2. Access Client PBX and move users from Server PBX to Client PBX
  3. Enable Active Directory sync on Client PBX: connect as root via SSH to Client PBX and create the file /rw2/etc/ad_connect.conf
  4. Copy the contents of the file ad_connect.conf from Server PBX to Client PBX

Result: Single Sign-On for Active Directory works for users on Client PBX.

Limitation: the option "Remove existing users which are not received from the backend" does not work in this configuration; do not enable it.

Other 

Extend the limit of Voicemails per user

By default, the maximum number of Voicemails per user is 100. Starting from WMS 6.01.20220621.2, it is possible to extend the number. For this, change the value of the following parameter in the /etc/callweaver/voicemail-custom.conf file:

maxmsg=200

Where 200 is the desired number of allowed voicemails.

Notes:

  • The parameter is commented out. Make sure to remove ; when changing it
  • The maximum limit is 9999

Change type of reconnection to the database in case connection was lost 

It is possible to change type of reconnection to the database in case the connection was lost. For this, add the following custom parameter to /etc/callweaver/cdr_mysql.conf configuration file:

reconnect_mode=ping

The “reconnect_mode” parameter has the following values:

Avoid no media issue on some iOS versions


Note: The support starts from WMS 6.05.20240119.1.

On some iOS versions, there is an occasional issue of in which there can be no media after answering a call, in case the phone was locked and it is an API call by an external CRM or a call from Collaboration with Any selected as a device. If you encounter such an issue, to avoid it, you can add the following line to the /rw2/etc/env.custom.ini file:

ORIGINATE_VIA_ANY_DEVICE_TRANSFER=false

Prevent obsolete repeaters from upgrade

Starting from W-AIR firmware v.07.30.xx.xx and higher, old Wildix repeaters are no longer supported and need additional configuration to stay on previous firmwares to continue working. For old repeaters to work, you need to add the following parameter to the /rw2/etc/provision.conf file:

SupportObsoleteRepeater = yes 

The default value is “no”. When the parameter is enabled, the base stations automatically switch to the previous firmware on which the obsolete repeaters are supported (v. 06.xx.xx.xx)  


Note: To differentiate between obsolete and supported repeaters, check out the document How to Identify Obsolete Wildix Repeaters