Hi,
I hope someone can really help
me on this. I still cannot send or receive SMS from the RH9 machine running on
gateway v1.3.1
The RH7.2 machine running on
gateway v1.0.3 is ok but it cannot send/receive SMS in
unicode.
Any help will be deeply
appreciated. Thanks in advance.
I have done a ps -ef|grep box
for the 2 RedHat machines as shown below.
ps -ef|grep box for RHv7.2 with gateway 1.0.3
root
2087 1 0 04:02
? 00:00:00
/usr/local/bin/run_kannel_box --
root 2089 1 0 04:02 ? 00:00:00 /usr/local/bin/run_kannel_box --
root 2090 2089 0 04:02 ? 00:00:00 smsbox -v 4 -- /usr/local/bin/ka
root 2096 2087 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2098 2096 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2099 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2111 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2112 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2113 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2114 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2211 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2212 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2373 2090 0 06:44 ? 00:00:00 smsbox -v 4 -- /usr/local/bin/ka
root 2089 1 0 04:02 ? 00:00:00 /usr/local/bin/run_kannel_box --
root 2090 2089 0 04:02 ? 00:00:00 smsbox -v 4 -- /usr/local/bin/ka
root 2096 2087 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2098 2096 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2099 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2111 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2112 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2113 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2114 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2211 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2212 2098 0 04:02 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin
root 2373 2090 0 06:44 ? 00:00:00 smsbox -v 4 -- /usr/local/bin/ka
Output
truncated.
ps -ef|grep box for RHv9 with
gateway 1.3.1
root 1031 1 0 08:51 ? 00:00:00 /usr/local/bin/run_kannel_box --pidfile /var/run/kannel_bearerbox.pid bearerbox -- /usr/local/bin/kannel.conf
root 1033 1031 0 08:51 ? 00:00:00 bearerbox -v 4 -- /usr/local/bin/kannel.conf
root 1041 1 0 08:51 ? 00:00:00 /usr/local/bin/run_kannel_box --pidfile /var/run/kannel_smsbox.pid smsbox -- /usr/local/bin/kannel.conf
root 1042 1041 0 08:51 ? 00:00:00 smsbox -v 4 -- /usr/local/bin/kannel.conf
I have attached the kannel.log,
smsbox.log, smsaccess.log below.
/tmp/kannel.log using smsc=at2
with gateway v1.3.1
2004-02-17 17:42:48 [0] INFO:
Added logfile `/tmp/kannel.log' with level `0'.
2004-02-17 17:42:48 [0] INFO: Started access logfile `/var/www/html/bearer.txt'.
2004-02-17 17:42:48 [0] DEBUG: HTTP: Opening server at port 13000.
2004-02-17 17:42:48 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-02-17 17:42:48 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2004-02-17 17:42:48 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2004-02-17 17:42:48 [0] DEBUG: starting smsbox connection module
2004-02-17 17:42:48 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2004-02-17 17:42:48 [0] INFO: AT2[INCOMING]: configuration shows modemtype <wavecom>
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: Reading modem definitions from </usr/local/bin/kannel.conf>
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: Found <1> modems in config
2004-02-17 17:42:48 [0] INFO: AT2[INCOMING]: read modem definition for <Wavecom>
2004-02-17 17:42:48 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread)
2004-02-17 17:42:48 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2004-02-17 17:42:48 [0] INFO: ----------------------------------------
2004-02-17 17:42:48 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2004-02-17 17:42:48 [0] INFO: MAIN: Start-up done, entering mainloop
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: start called
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: trying to use speed <9600> from modem definition
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:42:48 [0] INFO: Started access logfile `/var/www/html/bearer.txt'.
2004-02-17 17:42:48 [0] DEBUG: HTTP: Opening server at port 13000.
2004-02-17 17:42:48 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-02-17 17:42:48 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2004-02-17 17:42:48 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2004-02-17 17:42:48 [0] DEBUG: starting smsbox connection module
2004-02-17 17:42:48 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2004-02-17 17:42:48 [0] INFO: AT2[INCOMING]: configuration shows modemtype <wavecom>
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: Reading modem definitions from </usr/local/bin/kannel.conf>
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: Found <1> modems in config
2004-02-17 17:42:48 [0] INFO: AT2[INCOMING]: read modem definition for <Wavecom>
2004-02-17 17:42:48 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread)
2004-02-17 17:42:48 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2004-02-17 17:42:48 [0] INFO: ----------------------------------------
2004-02-17 17:42:48 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2004-02-17 17:42:48 [0] INFO: MAIN: Start-up done, entering mainloop
2004-02-17 17:42:48 [0] DEBUG: AT2[INCOMING]: start called
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: trying to use speed <9600> from modem definition
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:42:48 [5] DEBUG:
AT2[INCOMING]: device opened
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: speed set to 9600
2004-02-17 17:42:48 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:42:48 [6] DEBUG: sms_router: time to sleep
2004-02-17 17:42:48 [6] DEBUG: sms_router: list_len = 0
2004-02-17 17:42:50 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:42:54 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:42:58 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: speed in modem definition don't work, will autodetect
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: detecting modem speed.
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:42:48 [5] INFO: AT2[INCOMING]: speed set to 9600
2004-02-17 17:42:48 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:42:48 [6] DEBUG: sms_router: time to sleep
2004-02-17 17:42:48 [6] DEBUG: sms_router: list_len = 0
2004-02-17 17:42:50 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:42:54 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:42:58 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: speed in modem definition don't work, will autodetect
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: detecting modem speed.
2004-02-17 17:43:02 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:02 [5] INFO:
AT2[INCOMING]: speed set to 57600
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:04 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:08 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:12 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:16 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: speed set to 38400
2004-02-17 17:43:16 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:18 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:22 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:26 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:30 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: speed set to 19200
2004-02-17 17:43:30 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:32 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:36 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:40 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:44 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: speed set to 9600
2004-02-17 17:43:44 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:46 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:47 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2004-02-17 17:43:47 [7] INFO: Client connected from <127.0.0.1>
2004-02-17 17:43:47 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2004-02-17 17:43:47 [7] DEBUG: boxc_receiver: unlocking sender
2004-02-17 17:43:47 [8] DEBUG: boxc_sender: sender unlocked
2004-02-17 17:43:50 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:54 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:58 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:58 [5] INFO: AT2[INCOMING]: cannot detect speed
2004-02-17 17:43:02 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:04 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:08 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:12 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:16 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:16 [5] INFO: AT2[INCOMING]: speed set to 38400
2004-02-17 17:43:16 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:18 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:22 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:26 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:30 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:30 [5] INFO: AT2[INCOMING]: speed set to 19200
2004-02-17 17:43:30 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:32 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:36 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:40 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: opening device
2004-02-17 17:43:44 [5] DEBUG: AT2[INCOMING]: device opened
2004-02-17 17:43:44 [5] INFO: AT2[INCOMING]: speed set to 9600
2004-02-17 17:43:44 [5] DEBUG: AT2[INCOMING]: --> ^M
2004-02-17 17:43:46 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:47 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2004-02-17 17:43:47 [7] INFO: Client connected from <127.0.0.1>
2004-02-17 17:43:47 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2004-02-17 17:43:47 [7] DEBUG: boxc_receiver: unlocking sender
2004-02-17 17:43:47 [8] DEBUG: boxc_sender: sender unlocked
2004-02-17 17:43:50 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:54 [5] DEBUG: AT2[INCOMING]: --> AT^M
2004-02-17 17:43:58 [5] INFO: AT2[INCOMING]: closing device
2004-02-17 17:43:58 [5] INFO: AT2[INCOMING]: cannot detect speed
2004-02-17 17:43:58 [5] DEBUG:
Thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) terminates.
2004-02-17 17:44:55 [7] DEBUG: boxc_receiver: sms received
2004-02-17 17:44:55 [6] DEBUG: sms_router: time to sleep
2004-02-17 17:54:55 [6] DEBUG: sms_router: list_len = 1
2004-02-17 17:54:55 [6] DEBUG: sms_router: time to sleep
2004-02-17 17:44:55 [7] DEBUG: boxc_receiver: sms received
2004-02-17 17:44:55 [6] DEBUG: sms_router: time to sleep
2004-02-17 17:54:55 [6] DEBUG: sms_router: list_len = 1
2004-02-17 17:54:55 [6] DEBUG: sms_router: time to sleep
/tmp/smsbox.log:
2004-02-17 17:43:47 [0] INFO:
Added logfile `/tmp/smsbox.log' with level `0'.
2004-02-17 17:43:47 [0] INFO: Service global sender set as '123'
2004-02-17 17:43:47 [0] INFO: Logging accesses to '/tmp/smsaccess.log'.
2004-02-17 17:43:47 [0] INFO: Started access logfile `/tmp/smsaccess.log'.
2004-02-17 17:43:47 [0] DEBUG: HTTP: Opening server at port 13013.
2004-02-17 17:43:47 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-02-17 17:43:47 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2004-02-17 17:43:47 [0] INFO: Service global sender set as '123'
2004-02-17 17:43:47 [0] INFO: Logging accesses to '/tmp/smsaccess.log'.
2004-02-17 17:43:47 [0] INFO: Started access logfile `/tmp/smsaccess.log'.
2004-02-17 17:43:47 [0] DEBUG: HTTP: Opening server at port 13013.
2004-02-17 17:43:47 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-02-17 17:43:47 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2004-02-17 17:43:47 [0] INFO:
Set up send sms service at port 13013
2004-02-17 17:43:47 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2004-02-17 17:43:47 [0] DEBUG: ----------------------------------------------
2004-02-17 17:43:47 [0] DEBUG: Kannel smsbox version 1.3.1 starting
2004-02-17 17:43:47 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2004-02-17 17:43:47 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2004-02-17 17:43:47 [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2004-02-17 17:43:47 [0] INFO: Connected to bearerbox at localhost port 13001.
2004-02-17 17:43:47 [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2004-02-17 17:44:55 [2] DEBUG: HTTP: Creating HTTPClient for `10.1.1.11'.
2004-02-17 17:44:55 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <10.1.1.11>
2004-02-17 17:44:55 [3] INFO: sendsms used by <sms>
2004-02-17 17:44:55 [3] INFO: sendsms sender:<sms:123> (10.1.1.11) to:<90888182> msg:<test>
2004-02-17 17:44:55 [3] DEBUG: message length 2, sending 1 messages
2004-02-17 17:43:47 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2004-02-17 17:43:47 [0] DEBUG: ----------------------------------------------
2004-02-17 17:43:47 [0] DEBUG: Kannel smsbox version 1.3.1 starting
2004-02-17 17:43:47 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2004-02-17 17:43:47 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2004-02-17 17:43:47 [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2004-02-17 17:43:47 [0] INFO: Connected to bearerbox at localhost port 13001.
2004-02-17 17:43:47 [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2004-02-17 17:44:55 [2] DEBUG: HTTP: Creating HTTPClient for `10.1.1.11'.
2004-02-17 17:44:55 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <10.1.1.11>
2004-02-17 17:44:55 [3] INFO: sendsms used by <sms>
2004-02-17 17:44:55 [3] INFO: sendsms sender:<sms:123> (10.1.1.11) to:<90888182> msg:<test>
2004-02-17 17:44:55 [3] DEBUG: message length 2, sending 1 messages
2004-02-17 17:44:55 [3] DEBUG:
Status: 202 Answer: <Sent.>
2004-02-17 17:44:55 [3] DEBUG: HTTP: Destroying HTTPClient area 0x80db998.
2004-02-17 17:44:55 [3] DEBUG: HTTP: Destroying HTTPClient for `10.1.1.11'.
2004-02-17 17:44:55 [3] DEBUG: HTTP: Destroying HTTPClient area 0x80db998.
2004-02-17 17:44:55 [3] DEBUG: HTTP: Destroying HTTPClient for `10.1.1.11'.
/tmp/smsaccess.log:
2004-02-17 17:42:48 Log
begins
2004-02-17 17:44:55 send-SMS request added - sender:nsc:123 10.1.1.11 target:90888182 request: 'ok'
2004-02-17 17:44:55 send-SMS request added - sender:nsc:123 10.1.1.11 target:90888182 request: 'ok'
/---------------------------------------------------------------------------\
Raffles Medical Group (The Company) accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. The Company will not accept any liability in respect of such communication, and the author responsible will be personally liable for any damages or other liability arising. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. This message may contain confidential or legally privileged information and is intended solely for the use of the individual or entity to which it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copy, distribution or taking action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately, and then delete it from your system. \--------------------------------------------------------------------------/
