In SMS Gateway setting, you should see the following fields
Let us talk about the easier one first.: "Characters to remove from phone numbers"
You may write your mobile phone as, numbers as +44 9876-123-456, or or 44 9876 (123) (456), but you always dial it with 449876123456. As you can see, some characters normally non numeric characters such as dash or white space have to be removed.
With this pattern string "In the "Characters to remove from phone numbers" field, you enter the characters that have to be removed from phone numbers. For instance, "\s+-()" as the second field "Characters to remove from phone numbers", we can achieve the purpose, as \s means white space. Remind you, some SMS provider needs tells the system to remove white spaces (\s represents a white space), and +, -, (, ), [, ] from a phone number before it dials the number.
Please do note that, some SMS gateways may require the plus sign as the leading character of for international call, so . So don't just copy and paste the above pattern string.Dial Prefix is a bit
harder to explain. It tries to standardize the mobile phone format. For instance, Clickatell requires an international format "44xxxxxxxxxxx". In you Active Directory, Alice Now, let us talk about the harder one: "Dial Prefix"
In your user database,such as your AD, the users' phone numbers might be stored with or without the country code. For instances, Alice may have her mobile number as as 07955512345, but Bob has has 447944467890 (it already has (44 is the UK country code 44). Then the prefix "44|0" will do the job, it will add 44 (the part before the pipe character) if the original one doesn't have 44, the leading zero in original will be removed, as we have zero after the pipe in the prefix definitionSome SMS gateways such as Clickatell requires the so-called international phone format which requires the country code in the phone number. Without having to change phone numbers in your user database, you can use the "Dial Prefix" field to tell the system to automatically prefix a country code phone number. For instances, "1" tells the system to prefix all phone numbers with 1 (so, "7145285644" will become "17145285644"), and "44|0" tells the system to replace the leading 0 with 44 (so, "07955512345" will become "447955512345").