PlaySMS Connector
by Walther Barnett https://github.com/waltherB/sms-playsms-http/playsms-connectorAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Community Apps Dependencies | Show |
Lines of code | 308 |
Technical Name |
playsms-connector |
License | AGPL-3 |
Website | https://github.com/waltherB/sms-playsms-http/playsms-connector |
PlaySMS Connector
This module implements the PlaySMS webservices api, and replaces the Odoo sms IAP.
Odoo app requirements are: iap_alternative_provider and phone_validation Python requirements are: phonenumbers and requests
Configuration
Go to: Settings > Technical > IAP > IAP Accounts
When you set the Provider of an IAP account to PlaySMS, the following section will appear.
Service Name must be sms.
Url of PlaySMS server, Username, Webtoken and From fields are required, and are based on your
PlaySMS
account.The URL should be e.g.: https://playsms.example.com/index.php?op=wsAfter filling out the required fields, it is recommended to Test Connection. Result will be displayed in the Connection status field.
If you would like to be notified when your credits/tokens start running low, set a desired minumum ammount of tokens. To disable notifications or if you have unlimited credits set the field to a negative number e.g. -1. This field is only used for notification purposes. If you decide to fill this field Token notification action field will appear. This field can accept any server action which will be executed daily(by default) via cron job, if your current token level is lower than the minumum amount you have set.
If you would like to change the interval of the credit balance check you can access the action by:
- Settings > Technical > Automation > Scheduled action
- Select the action named âPlaySMS: Check credit balanceâ.
We have prepared a default notification action that creates an activity for the admin under the SMS IAP, notifying him to âBuy more credits".
This module is strongly inspired by the following module https://github.com/rokpremrl/smsapisi-odoo
Please log in to comment on this module