Scroll export button | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Starting from WMS version 5.03.20210826.1, the feature is activated by default for PBXs with the USA Country Code. Prior to WMS version 5.03.20210826.1, you need to activate it by adding the following line to the config file /rw2/etc/pbx/groupChat.confenv.custom.ini:
Code Block |
---|
smsEnabled=yes SERVICE_SMS_ENABLED="yes" |
Usage
Two-way SMS via CLASSOUND is possible for US/ Canadian DIDs for sending and receiving SMS within the USA or Canada respectively:
...
- Use CLASSOUND DID as a called number
Add Call group Dialplan application
Note Note: All the Call group members should be static and assigned a UC-Business license (or higher) and have CLASSOUND DID as Office number.
Note |
---|
You can create a separate Dialplan procedure for managing SMS exchange, but messages can be delivered even without it, because initially the system finds the full match for the CLASSOUND DID (including +) and static Call group members with at least UC-Business license. If at least one user is found, a group chat is automatically created. Otherwise, the system searches users in the LDAP who have the CLASSOUND DID specified as their Office number. |
...
How to block incoming SMS
To block incoming SMS (e.g. in case of spam), send a message STOP as an answer to the undesired number to block any incoming messages from that number.
Two-way SMS for UK DIDs
Requirements
- Min. supported versions:
- WMS: 5.03.20210826.1
- iOS mobile app: 8.1.45805
- Android mobile app: 5.02.06
- The UK Country Code (+44) set in WMS Settings -> PBX -> Language and Region
Available for new mobile number +447: United Kingdom (2-way SMS) CLASSOUND DIDs
Usage
Two-way SMS via CLASSOUND allows both sending and receiving SMS within the UK:
...
- Use CLASSOUND DID as a called number
Add Call group Dialplan application
Note Note: All the Call group members should be static and assigned a UC-Business license (or higher) and have CLASSOUND DID as Office number.
Note |
---|
You can create a separate Dialplan procedure for managing SMS exchange, but messages can be delivered even without it, because initially the system finds the full match for the CLASSOUND DID (including +) and static Call group members with at least UC-Business license. If at least one user is found, a group chat is automatically created. Otherwise, the system searches users in the LDAP who have the CLASSOUND DID specified as their Office number. |
...
How to block incoming SMS
To block incoming SMS (e.g. in case of spam), open a Customer Ticket with the request to block the specific DIDs.
Outgoing SMS
Prerequisites
...
Note |
---|
Note: To access APIs Online Documentation (WMS 5.0X/ 4.0X), use the following URL: https://<pbx-host>/api/v1/doc/#operation/addOriginateSms (available only for admin user/ users with admin rights!) |
...
To send SMS from Dialplan, apply the following configuration:
- 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
...