Domains
Ozeki.hu
Welcome page
Products
Ozeki 10
SMS
Ozeki NG SMS Gateway
SMS router
Message Server 6
SMS for Linux
SMS to SQL gateway
Multiple instances
Try it!
Documentation
SMS Wall
IP SMS Gateway
Android SMS
Excel SMS
Bulk Messenger
Cluster
Developer tools
Robots
Hardware
Technology
Sales
Company
Common
Webphone



SMS for Linux: Multiple devices support
This page describes how to install more then one GSM device to operate simultaneously.

First you need to install the Ozeki SMS for Linux software package. After installation you have the following two files on your file system:
/etc/smsconf.ini
/usr/bin/ozksmsd

By editing the /etc/smsconf.ini, you can change the settings of the first GSM device. To attach a second GMS device, you must make a copy of /etc/smsconf.ini . You may use the following command: cp /etc/smsconf.ini /etc/smsconf2.ini

After you have made a new copy, open the newly created file with an editor (vi /etc/smsconf2.ini). Make sure you change the serial port to reflect the port, your second device is attached to and modify the spool directory setting to point to a different folder than the one you have used for the first device (e.g.: /var/sms2 is a good option).


[gsmDevice]
deviceFile = /dev/ttyS1
speed = 9600
#speed = 19200
conntype = 8N1
init1= AT+CNMI=0,0,0,0,1
init2= AT+CPMS="ME","ME"

[phoneNumbers]
phoneNumber = +36303317467
serviceCenter = +36309888000

[directories]
spool = /var/sms2


When this is done, you can start a second instance of the application by issuing the following command:

/usr/bin/ozksmsd /etc/smsconf2.ini

If you use the sms2sql gateway, you need to modify the sms2sql.pl script to use the new spool directory (/var/sms2)

Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Products > SMS > SMS for Linux > Multiple instances
Legal | Privacy policy | Terms of use
Page: 343 | Login | 34.231.247.139