Difference between revisions of "SMS Addon - provider api configuration"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
This manual shows how to configure SMS sending through MOR with SMS Addon with Clickatell.  
This manual shows how to configure SMS sending through MOR with SMS Addon with Clickatell.  


Go Addons -> SMS -> Providers, create a name for your provider, choose tarrif and type: API, fill API string with providers url and authorization params and Good keywords.
Go to '''ADDONS''' block -> '''SMS''' -> '''Providers''' and select ''Provider Type'': ''API''. You will see this window:


Example : http://sms_providers_api_url?sms_login_user=username&password=userpassword&api_id=ID&to=<%= DST %>&sms_message=<%= MSG %>
 
[[File:Sms apiprovider.png]]
 
 
Fill in the fields. Above is an example of correctly filled in fields.





Revision as of 12:58, 23 April 2012

This manual shows how to configure SMS sending through MOR with SMS Addon with Clickatell.

Go to ADDONS block -> SMS -> Providers and select Provider Type: API. You will see this window:


Sms apiprovider.png


Fill in the fields. Above is an example of correctly filled in fields.


Variables

You can use variables :

  • DST - MOR will put destination number.
  • MSG - MOR will put sms message.
  • USRFIRSTNAME - MOR will put user first name.
  • USRLASTNAME - MOR will put user last name.
  • CALLERID - MOR will put user primary device callerID.

MOR SMS variables must be put in '<%= %>' string. Example : <%= DST %>

Good keywords

We check SMS providers response for Good keywords. If we have found, sms will be charged.

If Good keywords are set and in providers response not found the keywords sms status set to :

  • 6 - failed, api returns no good keywords.

Notice: this feature available from MOR 12.