06.05.2013 Views

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring the <strong>eG</strong> Manager to Send SMS Alerts<br />

<strong>The</strong> default service<br />

name of the <strong>eG</strong> SMS<br />

manager<br />

Command to be executed<br />

<strong>The</strong> default port of<br />

the <strong>eG</strong> SMS<br />

manager<br />

Figure 7.8: <strong>The</strong> contents of the <strong>eG</strong>SMSMgr.properties file<br />

2. As indicated by Figure 7.8, note that the egSMSMgr.properties file consists of the default<br />

RMIServerPort and the RMIServiceName values. <strong>The</strong>se values can be changed, if required.<br />

3. Also, note that a Command parameter exists in the <strong>eG</strong>SMSMgr.properties file of Figure 7.8. In some<br />

environments, GSM modems may support a command line interface through which SMS<br />

messages can be sent. <strong>The</strong> <strong>eG</strong> SMS manager can be configured to use the command line<br />

interface using the Command specification in the <strong>eG</strong>SMSMgr.properties file of Figure 7.8. By default,<br />

the Command specification is disabled in the <strong>eG</strong>SMSMgr.properties file. A sample command<br />

specification has been provided in this file for your benefit. In this example, the command is:<br />

echo #MSG#$message;$mobile; > $port. When the SMS message is sent by the <strong>eG</strong> SMS<br />

manager, it replaces $message with the actual message to be sent, $mobile represents the<br />

mobile number to which the SMS should be sent, and $port is the port number that should be<br />

used for sending the SMS message.<br />

4. Now, open the eg_services.ini file in the /manager/config directory (see Figure 7.9).<br />

435

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!