Hi Tibin,
Raphael's approach should work, provided the incoming value is already in E.164 format with only the tel: prefix added.
You may need to use slice(..., 4) rather than slice(..., 7), since tel: is four characters. For example, tel:+1234567890 would return +1234567890.
The exact index depends on the value Genesys is supplying, so it would be worth checking the original format first.
------------------------------
Phaneendra
Technical Solutions Consultant
------------------------------
Original Message:
Sent: 07-21-2026 01:22
From: Tibin Thomas
Subject: Outbound Campaign currently dialing phone number identification
Thanks Raphael,
I need the phone number in a clean E.164 format without the 'tel:' prefix. I hope your suggestion will help achieve that. Let me try it out, and I'll share the results with you.
Best Regards,
------------------------------
Tibin Thomas
------------------------------
Original Message:
Sent: 07-20-2026 15:47
From: Raphael Poliesi
Subject: Outbound Campaign currently dialing phone number identification
In one of our customers, we handle this directly in the agent script during page load.
We create a Set Variable action that runs as soon as the script is loaded and use the built-in variable {{Scripter.Customer Formatted Number}}. Then we apply a slice() function to extract only the portion of the phone number we need.
For example:

slice({{Scripter.Customer Formatted Number}}, 7)
In this case, slice(7) returns the number starting from the 7th character, but you can adjust the index depending on your phone number format or what you need to keep.
We save the result into a custom script variable and reuse it later in the script for our business logic. This approach has worked well for us and avoids having to capture the value elsewhere.
------------------------------
Raphael Poliesi
------------------------------