cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
355
Views
2
Helpful
0
Replies

ISE 3.2 patch 4 - Remove HTML from SMS gateway $message$ variable.

Jeremy179
Level 1
Level 1

Posting this here to hopefully save someone some time when configuring their SMS gateway provider in ISE 3.2 patch 4. May also apply to other ISE versions.

When configuring our SMS gateway provider to send guest credentials , we discovered that the $message$ variable contained HTML code, causing our provider to reject the message. Screenshot below of the guest portal debug, showing the HTML code sent as part of the SMS message body.

Jeremy179_4-1699932726479.png

After some trial and error, we discovered a way to remove the HTML code from the $message$ variable.

1. Navigate to your guest portal configuration and select the "Portal page customisation" tab.

2. Click on Notifications / SMS.

3. Under the "Approval message for Self-Registration guests" message text , remove all the text and variables that are there, and type in any text, such as "test", and click save.

4. Now remove the text you entered, and rebuild the message by manually typing it out, and choosing the variables you need from the "fx" dropdown, and click save. 

Jeremy179_1-1699932110473.png

5. HTML should now be removed from the $message$ variable when it is called by the SMS gateway provider config. Debug screenshot below showing $message$ now has no HTML code present, and the message will now be accepted by the provider.

Jeremy179_3-1699932629419.png

 

 

 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: