Some of the SMS service providers ask to approve the template and those approved templates can ONLY be used in the system otherwise SMS will NOT be delivered.  


Now, if you are using special characters while making template, see the example of template below.  


Your booking has been Confirmed.  (. used at the end)
Resv #: #RSNumber#  (# used in caption)
Name: #GuestName#
A: #ArrivalDate#
D: #DepartureDate#
Room: $Room$
Remarks: #Remark#
Hotel JIVA Jamshedpur
+91.657.6606060   (+ and . used in the number)
+91.920.4606060  (+ and . used in the number)

Your


So all the +, #, DOT, %, ! signs are special characters and if we use same template with this special characters, SMS will NOT work.  So we need to replace this Symbols with ASCII value (refer the link:   https://grox.net/utils/encoding.html)


So after replacing this characters, it will look like below and same will be used in our system as template.   



Your booking has been Confirmed#2E  (. used at the end)

Resv %23: #RSNumber#  (# used in caption)

Name: #GuestName# 

A: #ArrivalDate# 

D: #DepartureDate# 

Room: $Room$ 

Remarks: #Remark#

Hotel JIVA Jamshedpur 

%2B91#2E657#2E6606060   (+ and . used in the number)

%2B91#2E920#2E4606060  (+ and . used in the number)



Also, refer the screenshot.