...
message: the body SMS messages, length of no more than 300 characters
Note Note:
- Starting from WMS Beta 6.02.20221026.2, the max. number of characters was increased to 670.
- In case SMS sent via CURL contains the following characters, they are replaced with a space: ' (single quote), “ (double quotes), \ (backslash), / (slash).
- number: the phone number or several numbers separated by a comma. Example: +391234567890 or +391234567890,+391234567891,+391234567892,...
...
- Set -> CURLOPT(userpwd) -> 101:sms101api (user credentials) - allows sending API request
Custom application -> Set(message=${CURL(http://127.0.0.1/api/v1/originate/sms, message=the message body&number=%2B39333123456)}); - SMS API is applied
Note Note: You need to specify GSM gateway's MAC address if the option Curl SMS send enabled in WMS Settings -> System -> FAX/ SMS server is activated since it has priority over GSM gateway:
- Set(message=${CURL(http://127.0.0.1/api/v1/originate/sms, message=the messagebody&number=%2B33611121314&gsm=9c7514330001)});
By adding MAC address, you can also select a specific GSM gateway if there are > 2 gateways.
Note |
---|
Note:
|
Note |
---|
Note: the same way you can send SMS using http SMS server. For this purpose, another PBX with a configured GSM trunk can be used. How to configure:
|
...