SMS alerting using the Telstra MC
I have configured servers check 6.5.0 (Evaluation version) to use a modem to send sms alerts. I have set it up to use the TELSTRA MC using TAP protocol. I know this works as I have sent tests using the text2gsm software (v3.7) which you recommend.
When I run a test using the alert_sms.exe CLI application everything appears to work fine yet I do not receive the SMS at all. With text2gsm the message comes through in about 60 sec.
Here is the output of the alert_sms.exe /DEBUG
C:Program FilesServersCheck_Monitoringalerts>alert_sms.exe 0404XXXXXX test /D
EBUG
17/07/2006 10:36:35 AM License file is valid
17/07/2006 10:36:35 AM PROFESSIONAL VERSION - Registered to : serverscheck
17/07/2006 10:36:35 AM Sms Number : 0404XXXXXX
17/07/2006 10:36:35 AM Sms Message : test - msg from ServersCheck
17/07/2006 10:36:35 AM
17/07/2006 10:36:35 AM Using the following configuration settings:
17/07/2006 10:36:35 AM Provider Id : 7
17/07/2006 10:36:35 AM Protocol : TAP
17/07/2006 10:36:35 AM SmsCenterNumber : 125107
17/07/2006 10:36:35 AM OpType : 30
17/07/2006 10:36:35 AM Authentication : mnmail
17/07/2006 10:36:35 AM CommSettings : 7,e,1
17/07/2006 10:36:35 AM BaudRate : 9600
17/07/2006 10:36:35 AM TextLength : 160
17/07/2006 10:36:35 AM Port : 1
17/07/2006 10:36:35 AM SenderNumber : 0404XXXXXX
17/07/2006 10:36:35 AM ConnectionTimeout : 60
17/07/2006 10:36:35 AM
17/07/2006 10:36:35 AM Initializing modem.
17/07/2006 10:36:35 AM Dialing sms center (125107)
17/07/2006 10:36:36 AM Sending : ATDT125107<CR>
17/07/2006 10:36:36 AM Comm Event: Sending data
17/07/2006 10:36:36 AM Comm Event: Receiving data
17/07/2006 10:36:36 AM Received : ATDT125107<CR>
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : <CR><LF>CONNEC
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : T 28800/
17/07/2006 10:37:01 AM Comm Event: Change in carrier detect line.
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : V42<CR><LF>
17/07/2006 10:37:01 AM Provider successfully connected.
17/07/2006 10:37:01 AM Starting tap login.
17/07/2006 10:37:07 AM Sending : <CR>
17/07/2006 10:37:07 AM Comm Event: Sending data
17/07/2006 10:37:07 AM Comm Event: Receiving data
17/07/2006 10:37:07 AM Received : ID=<CR>
17/07/2006 10:37:08 AM Requesting login.
17/07/2006 10:37:09 AM Sending : <ESC>PG1mnmail<CR>
17/07/2006 10:37:09 AM Comm Event: Sending data
17/07/2006 10:37:10 AM Requesting login.
17/07/2006 10:37:11 AM Sending : <ESC>PG1mnmail<CR>
17/07/2006 10:37:11 AM Comm Event: Receiving data
17/07/2006 10:37:11 AM Received : <CR><ACK><CR><ESC>[p<CR>
17/07/2006 10:37:11 AM Comm Event: Sending data
17/07/2006 10:37:12 AM TAP authentication succesful
17/07/2006 10:37:12 AM Sending TAP message.
17/07/2006 10:37:13 AM Sending : <STX>0404809357<CR>test - msg from ServersChec
k<CR><ETX><57<CR>
17/07/2006 10:37:13 AM Comm Event: Sending data
17/07/2006 10:37:14 AM Message was accepted by the provider.
17/07/2006 10:37:15 AM Sending : ATH
Successfully sent message <test - msg from ServersCheck> to recipient <0404XXXXX
X>
Here is my smscommand.ini
[Provider]
Protocol=TAP
SmsCenterNumber=125107
CommSettings=7,e,1
BaudRate=9600
Authentication=mnmail
TextLength=160
Id=7
OpType=30
[Modem]
Port=1
ConnectionTimeout=60
[User]
SenderNumber=0404XXXXXX
Does anyone know what the options for the ini file are and what they mean?
I have entered my mobile as the sending number. I have sent to my number and to other numbers and none of them work.
Can someone please help me to modify my config so that I can send sms's using my modem?
When I run a test using the alert_sms.exe CLI application everything appears to work fine yet I do not receive the SMS at all. With text2gsm the message comes through in about 60 sec.
Here is the output of the alert_sms.exe /DEBUG
C:Program FilesServersCheck_Monitoringalerts>alert_sms.exe 0404XXXXXX test /D
EBUG
17/07/2006 10:36:35 AM License file is valid
17/07/2006 10:36:35 AM PROFESSIONAL VERSION - Registered to : serverscheck
17/07/2006 10:36:35 AM Sms Number : 0404XXXXXX
17/07/2006 10:36:35 AM Sms Message : test - msg from ServersCheck
17/07/2006 10:36:35 AM
17/07/2006 10:36:35 AM Using the following configuration settings:
17/07/2006 10:36:35 AM Provider Id : 7
17/07/2006 10:36:35 AM Protocol : TAP
17/07/2006 10:36:35 AM SmsCenterNumber : 125107
17/07/2006 10:36:35 AM OpType : 30
17/07/2006 10:36:35 AM Authentication : mnmail
17/07/2006 10:36:35 AM CommSettings : 7,e,1
17/07/2006 10:36:35 AM BaudRate : 9600
17/07/2006 10:36:35 AM TextLength : 160
17/07/2006 10:36:35 AM Port : 1
17/07/2006 10:36:35 AM SenderNumber : 0404XXXXXX
17/07/2006 10:36:35 AM ConnectionTimeout : 60
17/07/2006 10:36:35 AM
17/07/2006 10:36:35 AM Initializing modem.
17/07/2006 10:36:35 AM Dialing sms center (125107)
17/07/2006 10:36:36 AM Sending : ATDT125107<CR>
17/07/2006 10:36:36 AM Comm Event: Sending data
17/07/2006 10:36:36 AM Comm Event: Receiving data
17/07/2006 10:36:36 AM Received : ATDT125107<CR>
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : <CR><LF>CONNEC
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : T 28800/
17/07/2006 10:37:01 AM Comm Event: Change in carrier detect line.
17/07/2006 10:37:01 AM Comm Event: Receiving data
17/07/2006 10:37:01 AM Received : V42<CR><LF>
17/07/2006 10:37:01 AM Provider successfully connected.
17/07/2006 10:37:01 AM Starting tap login.
17/07/2006 10:37:07 AM Sending : <CR>
17/07/2006 10:37:07 AM Comm Event: Sending data
17/07/2006 10:37:07 AM Comm Event: Receiving data
17/07/2006 10:37:07 AM Received : ID=<CR>
17/07/2006 10:37:08 AM Requesting login.
17/07/2006 10:37:09 AM Sending : <ESC>PG1mnmail<CR>
17/07/2006 10:37:09 AM Comm Event: Sending data
17/07/2006 10:37:10 AM Requesting login.
17/07/2006 10:37:11 AM Sending : <ESC>PG1mnmail<CR>
17/07/2006 10:37:11 AM Comm Event: Receiving data
17/07/2006 10:37:11 AM Received : <CR><ACK><CR><ESC>[p<CR>
17/07/2006 10:37:11 AM Comm Event: Sending data
17/07/2006 10:37:12 AM TAP authentication succesful
17/07/2006 10:37:12 AM Sending TAP message.
17/07/2006 10:37:13 AM Sending : <STX>0404809357<CR>test - msg from ServersChec
k<CR><ETX><57<CR>
17/07/2006 10:37:13 AM Comm Event: Sending data
17/07/2006 10:37:14 AM Message was accepted by the provider.
17/07/2006 10:37:15 AM Sending : ATH
Successfully sent message <test - msg from ServersCheck> to recipient <0404XXXXX
X>
Here is my smscommand.ini
[Provider]
Protocol=TAP
SmsCenterNumber=125107
CommSettings=7,e,1
BaudRate=9600
Authentication=mnmail
TextLength=160
Id=7
OpType=30
[Modem]
Port=1
ConnectionTimeout=60
[User]
SenderNumber=0404XXXXXX
Does anyone know what the options for the ini file are and what they mean?
I have entered my mobile as the sending number. I have sent to my number and to other numbers and none of them work.
Can someone please help me to modify my config so that I can send sms's using my modem?
This discussion has been closed.
Comments
In ServersCheck, if we select "Mobile Messenger Software" and setup the Text2gsm software to monitor the ServersCheck outbox folder, the SMS alerts work without any problems.
As you can see from the log above, everything seems to work when running alert_sms.exe in debug mode, but no messages are received.
Also, is it possible to remove the "msg from ServersChec
k" text from the SMS message?
If it works with text2gsm then I can only think that the data modem, in the way we send it is being refused.
Typically this type of error occurs when people are trying to using the alert_sms.exe component to send text messages connecting to the same SMSC as on their mobile phone. Those SMSC are typically configured to refuse land line calls to the SMSC (not delivering the message)
Do you have the connection configuration of the text2gsm application. That will help in providing the settings.
For most operators the default parameters are sufficient.