69.19. How to configure CTISMS to send sms via emails

Suppose to have the following scheme:

Figure 69.1. Scheme for the configuration of CTISMS resource

Scheme for the configuration of CTISMS resource

The configuration of CTISMS includes a correct configuration of SMTP and DNS resources.

Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.

The following commands are useful to configure the SMTP resource:

a res:smtp

or

s act res:smtp

Add the SMTP resource.

or

If the resource already exists, set it active.

s p smtp act:yesEnable the SMTP runtime functionalities.
save confSave the configuration
warm startRestart Abilis
s p smtp local-domain:sms.lanSet local domain for local mailboxes
s p smtp relay-net:192.168.1.0/24Set the ip network for the mail relay server
s p smtp server:mail.server.comSet the FQDN name of SMTP Relay server to which all the mails for not local domain are forwarded.
s p smtp server-user:userSet user name of the account of the relay server
s p smtp server-pwd:passwordSet password of the account of the relay server
s p smtp sms-gw:yesEnable sms services
init res:smtpInitialize the SMTP resource
save confSave the configuration

The following commands are useful to configure the DNS resource:

a res:dns

or

s act res:dns

Add the DNS resource.

or

If the resource already exists, set it active.

s p dns act:yesEnable the DNS runtime functionalities.
save confSave the configuration
warm startRestart Abilis
s p dns primary:62.94.0.1 secondary:62.94.0.2Set the DNS primary and secondary server ip addresses
s dns server id:1 dir:d name:sms.lan ip:192.168.1.1Add an entry in the dns server table to translate the domain sms.lan in the corresponding ip address
init res:dnsInitialize the resource
save confSave the configuration

The following commands are useful to configure the CTISMS resource:

a res:ctisms

or

s act res:ctisms

Add the CTISMS resource.

or

If the resource already exists, set it active.

s p ctisms act:yesEnable the CTISMS runtime functionalities.
save confSave the configuration
warm startRestart Abilis
s p ctisms dft-in:smtpSet the default route for incoming sms toward smtp server
s p ctisms dft-rcpt:username@myemail.testSet the default smtp recipient for default route equal to username@myemail.test
s ctisms in pr:0 act:yesEnable CTI SMS routings for incoming messages to route an incoming email toward smtp
s ctisms out pr:0 act:yesEnable CTI SMS routings for incoming emails to route an outgoing sms toward a ctip port corresponding to the desidered sim
s ctisms out pr:1 act:yesEnable CTI SMS routings for incoming csv FILE to route outgoing sms toward a ctip port corresponding to the desidered sim
init res:ctismsInitialize CTISMS resource
save confSave the configuration

69.19.1. Instructions to send emails through sms

  1. Create an sms inserting the email address as first string;

  2. insert a blank after the email address;

  3. insert the text of message after the blank.

Example: tem@antek.it<blank>text of message.

69.19.2. Instructions to send sms through emails using a client

  1. Create an account using as smtp server the ip address of Abilis following the below steps:

    1. Open Outlook Express and click tools/accounts.

    2. Click Add/Mail.

    3. Insert the account name.

    4. Insert the email address.

    5. Configure the smtp server.

    6. Configure the account name and password.

  2. compose an email to +<country code><number>@sms.lan.

Example: +393331234567@sms.lan