SMS Addon - provider api configuration

From Kolmisoft Wiki
Jump to navigationJump to search

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.

Example : http://sms_providers_api_url?sms_login_user=username&password=userpassword&api_id=ID&to=<%= DST %>&sms_message=<%= MSG %>


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.