Skip to end of banner
Go to start of banner

How to mask a phone number for outgoing/ incoming calls

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Phone number masking allows displaying a different number instead of a real caller/ called ID to a user in call dialog and CDR. The masking is implemented via the variable "force_lookup_number" added to Dialplan application "Set".

Supported starting from WMS 3.86

Created: November 2018

Permalink: https://confluence.wildix.com/x/CoLIAQ



Phone number masking ensures user privacy and is very useful in cases when revealing personal numbers of agents or customers is not preferable. The masking is implemented via a special variable "force_lookup_number" which allows displaying a specified number instead of real called / caller ID in call dialog and CDR. It is set up via Dialplan application "Set". Masking can be performed for both outgoing and incoming calls.

Useful sources:

Phone number masking for outgoing external calls

When a user dials a phone number, a different number (specified in Dialplan) is called instead of the number known to the user.

To mask a phone number of outgoing call, add the following Dialplan applications to a procedure used for making outgoing calls ("users" by default):

  • Set -> FORCE_LOOKUP_NUMBER -> XXXXX 
    where "XXXXX" is the number to be displayed to a user 
  • Dial the trunk/ Trunk group -> routes the external call through the specified trunk/ group of trunks 

Phone number masking for incoming external calls

When a user receives an incoming external call, a different number is displayed instead of a real caller's number.

To mask a phone number of an incoming call, add the following Dialplan applications to a procedure used for receiving incoming calls ("main" by default):

  • Set -> FORCE_LOOKUP_NUMBER -> XXXXX
    where "XXXXX" is the number to be displayed to a user
  • Lookup caller name in phonebook -> searches for the caller name in a specified phonebook


  • No labels