I'm using a Sony Ericsson gc83 card with the latest kannel binary. I
have a feeling Kannel isn't fully communicating with the card, but it
doesn't error. Any ideas would be appreciated.
If I send Kannel an sms (Kannel is the receiver) it doesn't notice it
and when I try to send an outgoing sms using the cgi-bin it attempts to
send a blank response.
I think that's what's happening. Check below where the log shows
Answer: <Sent.>
Any ideas?
Here's a piece of all my logs and confs:
-----------
kannel.conf
# Default kannel configuration file
group = core
admin-port = 13000
admin-password = changemenow
status-password = changemetoo
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;10.80.4.*"
smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
unified-prefix = "+001,001,0;+;00"
# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = gc83
port = 10000
connect-allow-ip = "127.0.0.1;10.80.4.*"
modemtype = gc83
device = /dev/ttyS0
preferred-smsc-id = gc83
allowed-smsc-id = gc83
log-file = "/var/log/kannel/smsc.log"
log-level = 0
keepalive = 5
group = modems
broken = true
detect-string = "gc83"
name = "Ericsson GC83"
id = gc83
init-string = "AT+CFUN=1+CNMI=2,2,0,1,1"
reset-string = "AT+CFUN=1"
need-sleep = true
speed = 9600
#enable-mms = true
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 1234567890
access-log = "/var/log/kannel/access.log"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
sendsms-chars = "0123456789 "
reply-couldnotfetch = "You did something right and something wrong"
reply-emptymessage = "You shouldn't get empty messages"
http-request-retry = 0
group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;10.80.4.*"
#name = default
#forced-smsc = ID
default-smsc = gc83
forced-smsc = gc83
# SMS SERVICES
group = sms-service
keyword = www
get-url = "http://%S"
group = sms-service
keyword = default
text = "unkown"
-----------
status from admin:
Kannel bearerbox version `1.4.0'.
Build `Mar 6 2006 12:00:01', compiler `4.1.0 20060304 (Red Hat 4.1.0-2)'.
System Linux, release 2.6.15-1.2054_FC5, version #1 Tue Mar 14 15:48:33
EST 2006, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.6.23.
Using OpenSSL 0.9.8a 11 Oct 2005.
Using SQLite 2.8.16.
Using native malloc.
Status: running, uptime 0d 0h 4m 6s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (3 queued), store size -1
SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 4m 3s)
SMSC connections:
gc83 AT2[gc83] (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
-----------
bearerbox:
[EMAIL PROTECTED] ~]# bearerbox /etc/kannel.conf
2006-09-12 17:59:07 [4723] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2006-09-12 17:59:07 [4723] [0] WARNING: DLR: using default 'internal'
for storage type.
2006-09-12 17:59:07 [4723] [0] INFO: DLR using storage type: internal
2006-09-12 17:59:07 [4723] [0] DEBUG: Kannel bearerbox version `1.4.0'.
Build `Mar 6 2006 12:00:01', compiler `4.1.0 20060304 (Red Hat 4.1.0-2)'.
System Linux, release 2.6.15-1.2054_FC5, version #1 Tue Mar 14 15:48:33
EST 2006, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.6.23.
Using OpenSSL 0.9.8a 11 Oct 2005.
Using SQLite 2.8.16.
Using native malloc.
2006-09-12 17:59:07 [4723] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2006-09-12 17:59:07 [4723] [0] INFO: HTTP: Opening server at port 13000.
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2006-09-12 17:59:07 [4723] [0] DEBUG: starting smsbox connection module
2006-09-12 17:59:07 [4723] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2006-09-12 17:59:07 [4723] [0] INFO: DLR rerouting for smsc id <gc83>
disabled.
2006-09-12 17:59:07 [4723] [0] INFO: AT2[gc83]: configuration shows
modemtype <gc83>
2006-09-12 17:59:07 [4723] [0] DEBUG: AT2[gc83]: Reading modem
definitions from </etc/kannel.conf>
2006-09-12 17:59:07 [4723] [0] DEBUG: AT2[gc83]: Found <1> modems in config
2006-09-12 17:59:07 [4723] [0] INFO: AT2[gc83]: read modem definition
for <Ericsson GC83>
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2006-09-12 17:59:07 [4723] [0] DEBUG: starting UDP sender/receiver module
2006-09-12 17:59:07 [4723] [0] INFO: Adding interface *
2006-09-12 17:59:07 [4723] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)
2006-09-12 17:59:07 [4723] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2006-09-12 17:59:07 [4723] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 4723.
2006-09-12 17:59:07 [4723] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 4723.
2006-09-12 17:59:07 [4723] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 4723.
2006-09-12 17:59:07 [4723] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4723.
2006-09-12 17:59:07 [4723] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 4723.
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2006-09-12 17:59:07 [4723] [0] DEBUG: starting wapbox connection module
2006-09-12 17:59:07 [4723] [0] ERROR: Missing wapbox-port variable,
cannot start WAP
2006-09-12 17:59:07 [4723] [0] DEBUG: starting WDP router
2006-09-12 17:59:07 [4723] [0] DEBUG: Started thread 12
(gw/bearerbox.c:wdp_router)
2006-09-12 17:59:07 [4723] [0] INFO:
----------------------------------------
2006-09-12 17:59:07 [4723] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-09-12 17:59:07 [4723] [0] INFO: MAIN: Start-up done, entering mainloop
2006-09-12 17:59:07 [4723] [0] DEBUG: AT2[gc83]: start called
2006-09-12 17:59:07 [4723] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4723.
2006-09-12 17:59:07 [4723] [6] INFO: AT2[gc83]: trying to use speed
<9600> from modem definition
2006-09-12 17:59:07 [4723] [6] INFO: AT2[gc83]: opening device
2006-09-12 17:59:07 [4723] [6] DEBUG: AT2[gc83]: device opened
2006-09-12 17:59:07 [4723] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 4723.
2006-09-12 17:59:07 [4723] [7] DEBUG: sms_router: time to sleep
2006-09-12 17:59:07 [4723] [7] DEBUG: sms_router: list_len = 0
2006-09-12 17:59:07 [4723] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) maps to pid 4723.
2006-09-12 17:59:07 [4723] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) maps to pid 4723.
2006-09-12 17:59:07 [4723] [12] DEBUG: udp_die: removing producers from
udp-lists
2006-09-12 17:59:07 [4723] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) terminates.
2006-09-12 17:59:07 [4723] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) maps to pid 4723.
2006-09-12 17:59:07 [4723] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 4723.
2006-09-12 17:59:07 [4723] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) maps to pid 4723.
2006-09-12 17:59:08 [4723] [6] DEBUG: AT2[gc83]: device opened
2006-09-12 17:59:08 [4723] [6] INFO: AT2[gc83]: speed set to 9600
2006-09-12 17:59:08 [4723] [6] DEBUG: AT2[gc83]: --> ^M
2006-09-12 17:59:09 [4723] [5] DEBUG: Started thread 13
(gw/bb_boxc.c:function)
2006-09-12 17:59:09 [4723] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
maps to pid 4723.
2006-09-12 17:59:09 [4723] [13] INFO: Client connected from <127.0.0.1>
2006-09-12 17:59:09 [4723] [13] DEBUG: Started thread 14
(gw/bb_boxc.c:boxc_sender)
2006-09-12 17:59:09 [4723] [14] DEBUG: Thread 14
(gw/bb_boxc.c:boxc_sender) maps to pid 4723.
2006-09-12 18:00:43 [4723] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:00:43 [4723] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:00:43 [4723] [7] DEBUG: sms_router: time to sleep
2006-09-12 18:00:52 [4723] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:00:52 [4723] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:01:03 [4723] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:01:03 [4723] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:02:57 [4723] [2] DEBUG: HTTP: Creating HTTPClient for
`10.80.4.100'.
2006-09-12 18:02:57 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:05:31 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:05:40 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:05:45 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:06:04 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:06:19 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:06:21 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:08:38 [4723] [0] WARNING: Killing signal or HTTP admin
command received, shutting down...
2006-09-12 18:08:38 [4723] [0] DEBUG: Shutting down Kannel...
2006-09-12 18:08:38 [4723] [0] DEBUG: shutting down smsc
2006-09-12 18:08:38 [4723] [0] DEBUG: AT2[gc83]: Shutting down SMSCConn,
slow
2006-09-12 18:08:38 [4723] [0] DEBUG: shutting down udp
2006-09-12 18:08:38 [4723] [7] DEBUG: sms_router: list_len = 3
2006-09-12 18:08:38 [4723] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) terminates.
2006-09-12 18:08:38 [4723] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) terminates.
2006-09-12 18:08:38 [4723] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
terminates.
2006-09-12 18:08:38 [4723] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) terminates.
2006-09-12 18:08:39 [4723] [14] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:08:39 [4723] [14] DEBUG: Thread 14
(gw/bb_boxc.c:boxc_sender) terminates.
2006-09-12 18:08:39 [4723] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
terminates.
2006-09-12 18:08:39 [4723] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) terminates.
2006-09-12 18:09:44 [4723] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:09:44 [4723] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) terminates.
2006-09-12 18:09:53 [4723] [0] PANIC: Cannot die by its own will
2006-09-12 18:09:53 [4723] [0] PANIC: bearerbox(gw_panic+0x107) [0x80beb87]
2006-09-12 18:09:53 [4723] [0] PANIC: bearerbox [0x805226c]
2006-09-12 18:09:53 [4723] [0] PANIC: [0x6c6420]
2006-09-12 18:09:53 [4723] [0] PANIC: [0x6c6402]
2006-09-12 18:09:53 [4723] [0] PANIC:
/lib/libpthread.so.0(pthread_cond_wait+0x86) [0x2ec216]
2006-09-12 18:09:53 [4723] [0] PANIC: bearerbox(list_consume+0x43)
[0x80bd153]
2006-09-12 18:09:53 [4723] [0] PANIC: bearerbox(main+0x8bd) [0x8052e9d]
2006-09-12 18:09:53 [4723] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xdc) [0xca67e4]
2006-09-12 18:09:53 [4723] [0] PANIC: bearerbox [0x8051881]
[EMAIL PROTECTED] ~]# bearerbox /etc/kannel.conf
2006-09-12 18:34:44 [4908] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2006-09-12 18:34:44 [4908] [0] WARNING: DLR: using default 'internal'
for storage type.
2006-09-12 18:34:44 [4908] [0] INFO: DLR using storage type: internal
2006-09-12 18:34:44 [4908] [0] DEBUG: Kannel bearerbox version `1.4.0'.
Build `Mar 6 2006 12:00:01', compiler `4.1.0 20060304 (Red Hat 4.1.0-2)'.
System Linux, release 2.6.15-1.2054_FC5, version #1 Tue Mar 14 15:48:33
EST 2006, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.6.23.
Using OpenSSL 0.9.8a 11 Oct 2005.
Using SQLite 2.8.16.
Using native malloc.
2006-09-12 18:34:44 [4908] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.
2006-09-12 18:34:44 [4908] [0] INFO: HTTP: Opening server at port 13000.
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2006-09-12 18:34:44 [4908] [0] DEBUG: starting smsbox connection module
2006-09-12 18:34:44 [4908] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2006-09-12 18:34:44 [4908] [0] INFO: DLR rerouting for smsc id <gc83>
disabled.
2006-09-12 18:34:44 [4908] [0] INFO: Added logfile
`/var/log/kannel/smsc.log' with level `0'.
2006-09-12 18:34:44 [4908] [0] INFO: AT2[gc83]: configuration shows
modemtype <gc83>
2006-09-12 18:34:44 [4908] [0] DEBUG: AT2[gc83]: Reading modem
definitions from </etc/kannel.conf>
2006-09-12 18:34:44 [4908] [0] DEBUG: AT2[gc83]: Found <1> modems in config
2006-09-12 18:34:44 [4908] [0] INFO: AT2[gc83]: read modem definition
for <Ericsson GC83>
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2006-09-12 18:34:44 [4908] [0] DEBUG: starting UDP sender/receiver module
2006-09-12 18:34:44 [4908] [0] INFO: Adding interface *
2006-09-12 18:34:44 [4908] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)
2006-09-12 18:34:44 [4908] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2006-09-12 18:34:44 [4908] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 4908.
2006-09-12 18:34:44 [4908] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 4908.
2006-09-12 18:34:44 [4908] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 4908.
2006-09-12 18:34:44 [4908] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4908.
2006-09-12 18:34:44 [4908] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 4908.
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2006-09-12 18:34:44 [4908] [0] DEBUG: starting wapbox connection module
2006-09-12 18:34:44 [4908] [0] ERROR: Missing wapbox-port variable,
cannot start WAP
2006-09-12 18:34:44 [4908] [0] DEBUG: starting WDP router
2006-09-12 18:34:44 [4908] [0] DEBUG: Started thread 12
(gw/bearerbox.c:wdp_router)
2006-09-12 18:34:44 [4908] [0] INFO:
----------------------------------------
2006-09-12 18:34:44 [4908] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-09-12 18:34:44 [4908] [0] INFO: MAIN: Start-up done, entering mainloop
2006-09-12 18:34:44 [4908] [0] DEBUG: AT2[gc83]: start called
2006-09-12 18:34:44 [4908] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4908.
2006-09-12 18:34:44 [4908] [6] INFO: Logging thread `6' to logfile
`/var/log/kannel/smsc.log' with level `0'.
2006-09-12 18:34:44 [4908] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 4908.
2006-09-12 18:34:44 [4908] [7] DEBUG: sms_router: time to sleep
2006-09-12 18:34:44 [4908] [7] DEBUG: sms_router: list_len = 0
2006-09-12 18:34:44 [4908] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) maps to pid 4908.
2006-09-12 18:34:44 [4908] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) maps to pid 4908.
2006-09-12 18:34:44 [4908] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 4908.
2006-09-12 18:34:44 [4908] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) maps to pid 4908.
2006-09-12 18:34:44 [4908] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) maps to pid 4908.
2006-09-12 18:34:44 [4908] [12] DEBUG: udp_die: removing producers from
udp-lists
2006-09-12 18:34:44 [4908] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) terminates.
2006-09-12 18:34:47 [4908] [5] DEBUG: Started thread 13
(gw/bb_boxc.c:function)
2006-09-12 18:34:47 [4908] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
maps to pid 4908.
2006-09-12 18:34:47 [4908] [13] INFO: Client connected from <127.0.0.1>
2006-09-12 18:34:47 [4908] [13] DEBUG: Started thread 14
(gw/bb_boxc.c:boxc_sender)
2006-09-12 18:34:47 [4908] [14] DEBUG: Thread 14
(gw/bb_boxc.c:boxc_sender) maps to pid 4908.
2006-09-12 18:36:23 [4908] [2] DEBUG: HTTP: Creating HTTPClient for
`10.80.4.100'.
2006-09-12 18:36:23 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:36:26 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:37:22 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:37:48 [4908] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:37:48 [4908] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:37:48 [4908] [7] DEBUG: sms_router: time to sleep
2006-09-12 18:38:11 [4908] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:38:11 [4908] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:38:24 [4908] [13] DEBUG: boxc_receiver: sms received
2006-09-12 18:38:24 [4908] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2006-09-12 18:38:50 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:38:50 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
2006-09-12 18:38:50 [4908] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.80.4.100'.
----------
smsbox:
[EMAIL PROTECTED] ~]# smsbox /etc/kannel.conf
2006-09-12 17:59:09 [4736] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2006-09-12 17:59:09 [4736] [0] DEBUG: Kannel smsbox version `1.4.0'.
Build `Mar 6 2006 12:00:01', compiler `4.1.0 20060304 (Red Hat 4.1.0-2)'.
System Linux, release 2.6.15-1.2054_FC5, version #1 Tue Mar 14 15:48:33
EST 2006, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.6.23.
Using OpenSSL 0.9.8a 11 Oct 2005.
Using SQLite 2.8.16.
Using native malloc.
2006-09-12 17:59:09 [4736] [0] INFO: Starting to log to file
/var/log/kannel/smsbox.log level 0
2006-09-12 17:59:09 [4736] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2006-09-12 17:59:09 [4736] [0] INFO: Service global sender set as
'5555555555'
2006-09-12 17:59:09 [4736] [0] INFO: Logging accesses to
'/var/log/kannel/access.log'.
2006-09-12 17:59:09 [4736] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2006-09-12 17:59:09 [4736] [0] INFO: HTTP: Opening server at port 13013.
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-09-12 17:59:09 [4736] [0] INFO: Set up send sms service at port 13013
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2006-09-12 17:59:09 [4736] [0] DEBUG:
----------------------------------------------
2006-09-12 17:59:09 [4736] [0] DEBUG: Kannel smsbox version 1.4.0 starting
2006-09-12 17:59:09 [4736] [0] INFO: Redundant default-smsc for send-sms
user kannel
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2006-09-12 17:59:09 [4736] [0] INFO: Connected to bearerbox at localhost
port 13001.
2006-09-12 17:59:09 [4736] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2006-09-12 17:59:09 [4736] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 4736.
2006-09-12 17:59:09 [4736] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 4736.
2006-09-12 17:59:09 [4736] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) maps to pid 4736.
2006-09-12 17:59:09 [4736] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 4736.
2006-09-12 17:59:09 [4736] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 4736.
2006-09-12 17:59:09 [4736] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 4736.
2006-09-12 17:59:09 [4736] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 4736.
2006-09-12 18:00:43 [4736] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:00:43 [4736] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:00:43 [4736] [3] INFO: sendsms used by <kannel>
2006-09-12 18:00:43 [4736] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<www>
2006-09-12 18:00:43 [4736] [3] DEBUG: message length 3, sending 1 messages
2006-09-12 18:00:43 [4736] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:00:43 [4736] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:00:43 [4736] [1] DEBUG: HTTP: Destroying HTTPClient area
0x8341c68.
2006-09-12 18:00:43 [4736] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2006-09-12 18:00:52 [4736] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:00:52 [4736] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:00:52 [4736] [3] INFO: sendsms used by <kannel>
2006-09-12 18:00:52 [4736] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<www abc>
2006-09-12 18:00:52 [4736] [3] DEBUG: message length 7, sending 1 messages
2006-09-12 18:00:52 [4736] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:00:52 [4736] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:00:52 [4736] [1] DEBUG: HTTP: Destroying HTTPClient area
0x8343750.
2006-09-12 18:00:52 [4736] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2006-09-12 18:01:03 [4736] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:01:03 [4736] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:01:03 [4736] [3] INFO: sendsms used by <kannel>
2006-09-12 18:01:03 [4736] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<www google.com>
2006-09-12 18:01:03 [4736] [3] DEBUG: message length 14, sending 1 messages
2006-09-12 18:01:03 [4736] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:01:03 [4736] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:01:03 [4736] [1] DEBUG: HTTP: Destroying HTTPClient area
0x8343738.
2006-09-12 18:01:03 [4736] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
dd2006-09-12 18:08:39 [4736] [0] ERROR: SIGINT received, aborting program...
2006-09-12 18:08:39 [4736] [0] INFO: Received (and handled?) 0 requests
in 570 seconds (0.00 per second)
2006-09-12 18:08:39 [4736] [0] INFO: Kannel smsbox terminating.
2006-09-12 18:08:39 [4736] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) terminates.
2006-09-12 18:08:39 [4736] [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate
2006-09-12 18:08:39 [4736] [3] DEBUG: HTTP: No clients with requests,
quitting.
2006-09-12 18:08:39 [4736] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) terminates.
2006-09-12 18:08:39 [4736] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) terminates.
2006-09-12 18:08:39 [4736] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
terminates.
2006-09-12 18:08:39 [4736] [0] DEBUG: Waiting for 4
(gw/smsbox.c:obey_request_thread) to terminate
2006-09-12 18:08:39 [4736] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) terminates.
2006-09-12 18:08:39 [4736] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) terminates.
2006-09-12 18:08:39 [4736] [0] DEBUG: Waiting for 5
(gw/smsbox.c:url_result_thread) to terminate
2006-09-12 18:08:39 [4736] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) terminates.
2006-09-12 18:08:39 [4736] [0] DEBUG: Immutable octet strings: 179.
[EMAIL PROTECTED] ~]#
[EMAIL PROTECTED] ~]# smsbox /etc/kannel.conf
2006-09-12 18:34:47 [4921] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2006-09-12 18:34:47 [4921] [0] DEBUG: Kannel smsbox version `1.4.0'.
Build `Mar 6 2006 12:00:01', compiler `4.1.0 20060304 (Red Hat 4.1.0-2)'.
System Linux, release 2.6.15-1.2054_FC5, version #1 Tue Mar 14 15:48:33
EST 2006, machine i686.
Hostname localhost.localdomain, IP 127.0.0.1.
Libxml version 2.6.23.
Using OpenSSL 0.9.8a 11 Oct 2005.
Using SQLite 2.8.16.
Using native malloc.
2006-09-12 18:34:47 [4921] [0] INFO: Starting to log to file
/var/log/kannel/smsbox.log level 0
2006-09-12 18:34:47 [4921] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.
2006-09-12 18:34:47 [4921] [0] INFO: Service global sender set as
'5555555555'
2006-09-12 18:34:47 [4921] [0] INFO: Logging accesses to
'/var/log/kannel/access.log'.
2006-09-12 18:34:47 [4921] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2006-09-12 18:34:47 [4921] [0] INFO: HTTP: Opening server at port 13013.
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-09-12 18:34:47 [4921] [0] INFO: Set up send sms service at port 13013
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2006-09-12 18:34:47 [4921] [0] DEBUG:
----------------------------------------------
2006-09-12 18:34:47 [4921] [0] DEBUG: Kannel smsbox version 1.4.0 starting
2006-09-12 18:34:47 [4921] [0] INFO: Redundant default-smsc for send-sms
user kannel
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2006-09-12 18:34:47 [4921] [0] INFO: Connected to bearerbox at localhost
port 13001.
2006-09-12 18:34:47 [4921] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2006-09-12 18:34:47 [4921] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 4921.
2006-09-12 18:34:47 [4921] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 4921.
2006-09-12 18:34:47 [4921] [3] DEBUG: Thread 3
(gw/smsbox.c:sendsms_thread) maps to pid 4921.
2006-09-12 18:34:47 [4921] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 4921.
2006-09-12 18:34:47 [4921] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 4921.
2006-09-12 18:34:47 [4921] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 4921.
2006-09-12 18:34:47 [4921] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 4921.
2006-09-12 18:37:48 [4921] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:37:48 [4921] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:37:48 [4921] [3] INFO: sendsms used by <kannel>
2006-09-12 18:37:48 [4921] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<www google.com>
2006-09-12 18:37:48 [4921] [3] DEBUG: message length 14, sending 1 messages
2006-09-12 18:37:48 [4921] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:37:48 [4921] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:37:48 [4921] [1] DEBUG: HTTP: Destroying HTTPClient area
0xa0a11b0.
2006-09-12 18:37:48 [4921] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:11 [4921] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:11 [4921] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:38:11 [4921] [3] INFO: sendsms used by <kannel>
2006-09-12 18:38:11 [4921] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<abc>
2006-09-12 18:38:11 [4921] [3] DEBUG: message length 3, sending 1 messages
2006-09-12 18:38:11 [4921] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:38:11 [4921] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:11 [4921] [1] DEBUG: HTTP: Destroying HTTPClient area
0xa0a2c98.
2006-09-12 18:38:11 [4921] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:24 [4921] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:24 [4921] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2006-09-12 18:38:24 [4921] [3] INFO: sendsms used by <kannel>
2006-09-12 18:38:24 [4921] [3] INFO: sendsms sender:<kannel:5550000000>
(127.0.0.1) to:<5555555555> msg:<abc>
2006-09-12 18:38:24 [4921] [3] DEBUG: message length 3, sending 1 messages
2006-09-12 18:38:24 [4921] [3] DEBUG: Status: 202 Answer: <Sent.>
2006-09-12 18:38:24 [4921] [3] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2006-09-12 18:38:24 [4921] [1] DEBUG: HTTP: Destroying HTTPClient area
0xa0a2d00.
2006-09-12 18:38:24 [4921] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
------