Transform outbound addresses with regular expressions
AI-generated summary
Genesys Cloud provides the ability to transform outbound addresses using regular expressions. You can configure regular expressions for both the Calling and Called fields to format numbers to meet carrier requirements, such as converting to E.164 format. This is configured under the Outbound section of the Trunk configuration and applies to outbound calls only. You specify a Match Regular Expression to identify patterns and a Format Regular Expression to define the output format. You can also configure the number of trailing digits sent and whether to omit the + prefix. This allows you to customize the outbound addresses to meet the needs of your carrier.
External trunk configuration
Telephony > Plugin > All permission
You can use regular expressions to transform the number sent on an outbound call. The normal practice is to enter the same expressions in both the Calling and Called fields. The reason being that you’re formatting the numbers to meet the requirements of your carrier. So, for example, if your carrier requires numbers in E.164 format, you would use the regular expression to force both numbers to be in E.164 format.
As you make these configuration settings, keep in mind the following points:
These settings apply to outbound ONLY and the are actually sub-settings under the Outbound section of the Trunk configuration.
The Calling address is the number that is calling.
The Called address is the number that was called.
Note: You can only use regular expressions to transform the number sent on an outbound call if you are using a BYOC Cloud trunk or a BYOC Premises external trunk. For more information, see About BYOC Cloud or About BYOC Premises.