I've got Kannel set up and running; however, I've got a bunch of messages
in the queue, no way of getting them out, and even from the debug messages
I cannot tell if I am actually connected to the SMSC. Can anyone tell me
what I'm doing wrong, or if I'm just doomed to fail?
The debug log:
2004-04-28 14:52:54 [7] DEBUG: SMPP[xxx]: Sending PDU:
2004-04-28 14:52:54 [7] DEBUG: SMPP PDU 0x80e3a70 dump:
2004-04-28 14:52:54 [7] DEBUG: type_name: bind_transmitter
2004-04-28 14:52:54 [7] DEBUG: command_id: 2 = 0x00000002
2004-04-28 14:52:54 [7] DEBUG: command_status: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: sequence_number: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: system_id: "operatelec"
2004-04-28 14:52:54 [7] DEBUG: password: "eJ97vBS3"
2004-04-28 14:52:54 [7] DEBUG: system_type: "SMPP"
2004-04-28 14:52:54 [7] DEBUG: interface_version: 52 = 0x00000034
2004-04-28 14:52:54 [7] DEBUG: addr_ton: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: addr_npi: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: address_range: NULL
2004-04-28 14:52:54 [7] DEBUG: SMPP PDU dump ends.
2004-04-28 14:52:54 [7] DEBUG: Optional parameter tag (0x0210)
2004-04-28 14:52:54 [7] DEBUG: Optional parameter length read as 1
2004-04-28 14:52:54 [7] DEBUG: Optional parameter value (4)
2004-04-28 14:52:54 [7] DEBUG: SMPP[xxx]: Got PDU:
2004-04-28 14:52:54 [7] DEBUG: SMPP PDU 0x80e3a70 dump:
2004-04-28 14:52:54 [7] DEBUG: type_name: bind_transmitter_resp
2004-04-28 14:52:54 [7] DEBUG: command_id: 2147483650 = 0x80000002
2004-04-28 14:52:54 [7] DEBUG: command_status: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: sequence_number: 0 = 0x00000000
2004-04-28 14:52:54 [7] DEBUG: system_id: "Xxx"
2004-04-28 14:52:54 [7] DEBUG: SMPP_SC_interface_version: "4"
2004-04-28 14:52:54 [7] DEBUG: SMPP PDU dump ends.
2004-04-28 14:52:54 [8] DEBUG: sms_router: list_len = 4
2004-04-28 14:52:54 [8] DEBUG: sms_router: time to sleep
2004-04-28 14:53:00 [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2004-04-28 14:53:00 [9] INFO: Client connected from <127.0.0.1>
2004-04-28 14:53:00 [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
2004-04-28 14:53:00 [9] DEBUG: boxc_receiver: got boxc_id <default> from
<127.0.0.1>
2004-04-28 14:53:00 [9] DEBUG: boxc_receiver: unlocking sender
2004-04-28 14:53:00 [10] DEBUG: boxc_sender: sender unlocked
2004-04-28 14:53:24 [7] DEBUG: SMPP[xxx]: Sending enquire link:
etc, get enquire_replies...
The SMSC config:
group = smsc
smsc = smpp
smsc-id = xxx
allowed-smsc-id = "yyy; zzz; aaa; bbb"
host = xx.xx.xxx.xxx
port = xxxx
receive-port = 0
#interface-version = 34
smsc-username = "username"
smsc-password = "password"
system-type = SMPP
#address-range = ""
The Status:
Kannel bearerbox version `1.3.1'. System Linux, release 2.4.21-4.ELsmp,
version #1 SMP Fri Oct 3 17:52:56 EDT 2003, machine i686. Hostname
opera-stg, IP xxx.xx.xxx.xxx. Libxml version 20609. Using native
malloc.
Status: running, uptime 0d 1h 8m 11s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (4 queued), store size 4
SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:default, IP 127.0.0.1 (on-line 0d 1h 8m 5s)
SMSC connections:
fake FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
xxx SMPP:xx.xx.xxx.xxx:xxxx/xxxx:username:SMPP (online 4091s, rcvd 0, sent
0, failed 0, queued 0 msgs)
The Queue:
[SMS ID] [Sender] [Receiver] [SMSC ID] [UDH] [Message] [Time]
[1] [xxxxxxxxxx] [xxxxxxxxxx] [] [] [You suck!] [2004-04-28 14:01:45]
[1] [+1xxxxxxxxxx] [+1xxxxxxxxxx] [xxx] [] [Hey] [2004-04-28 14:24:01]
[2] [+1xxxxxxxxxx] [+1xxxxxxxxxx] [xxx] [] [Hey] [2004-04-28 14:24:01]
[2] [+1xxxxxxxxxx] [+1xxxxxxxxxx] [xxx] [] [Hey Dude!] [2004-04-28 14:02:46]
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------