How-To configure SMS Gateway for the Application Service
Introduction
The CoreOne Application Service has the capability to send SMS messages. For instance, you can send SMS messages from within any workflow. This how to describes how you can configure the various available methods.
Step 1 - Decide on the provider type
The CoreOne Application Service supports two ways of sending SMS. Depending on your needs, you will need the appropriate GUID:
RestSmsProvider
/EC0D6B9E-F1A7-4B85-B21C-02BB4B94183A
AwsSmsProvider
/3D46060F-833B-434B-AA09-58C6792EA141
Step 2 - Add the appropriate setting value
In the CoreOne Application Service setting values table, you have to add the appropriate configuration depending on the selected type.
RestSmsProvider
An example configuration for REST looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<ArrayOfSmsProviderSettingValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SmsProviderSettingValue Id="0">
<Value xsi:type="xsd:string">https://messagingproxy.swisscom.ch:4300/rest/1.0.0/submit_sm/50345</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="1">
<Value xsi:type="xsd:string">GET</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="2">
<Value xsi:type="xsd:string">{
"destination_addr": "{receiver}",
"short_message": "{message}"
}</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="3">
<Value xsi:type="xsd:string">application/json</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="4">
<Value xsi:type="xsd:string">ISO-8859-1</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="5">
<Value xsi:type="xsd:string">JSON</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="8">
<Value xsi:type="xsd:string">username</Value>
</SmsProviderSettingValue>
<SmsProviderSettingValue Id="9">
<Value xsi:type="xsd:string">password</Value>
</SmsProviderSettingValue>
</ArrayOfSmsProviderSettingValue>
Whereas the setting IDs are defined as following:
Url = 0,
Method = 1,
Content = 2,
ContentType = 3,
ContentEncoding = 4,
ContentPlaceholderConverter = 5,
MaxMessageLength = 6,
SupportsAlphanumericSenders = 7,
BasicAuthenticationUserName = 8,
BasicAuthenticationUserPassword = 9
And the following replacements are available in the Url
and Content
settings: {receiver}
, {sender}
, {message}
AwsSmsProvider
An example configuration for AWS SNS looks like this:
© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.