Hi,

we use Kannel as SMSC for some thousand messages per day.

Thanks for all! However, I have reproduced two times a bug
leading to a "hanging" Kannel. "Hanging" means, all SMSes
are queued instead of delivered. This happens, if - for any
reason - an EMI2 SMSC closes its connection, before the
response is read. 

After reestablishing the connection, the driver seems still
to wait for the response. Some kind of internal state seems
to be not resetted.

The typical last messages of successful transmissions looks
like that:

2003-03-10 11:23:19 [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
2003-03-10 11:23:19 [15] DEBUG: boxc_receiver: sms received
2003-03-10 11:23:19 [6] DEBUG: EMI2[10.1.7.67:2003]: clear_sent called
2003-03-10 11:23:19 [6] INFO: EMI2[10.1.7.67:2003]: connecting to Primary SMSC
?emi2 send
2003-03-07 22:27:52 [6] DEBUG: EMI2[10.1.7.67:2003]: emi2 sending packet: <^B62/
00394/O/51/004917XXXXXXXX/14D720B4156E41C3727A1E/////////////////3//447520686173
742065696E6520416E74776F727420766F6E20616E20616C6C652064616D656E20696E206E626720
77656C6368652073696520286D3238293A0A6269747465206D656C64652064696368206D65696E20
737465726E6368656E202130313733343037363731310A2841636874756E673A204475206B616E6E
7374206E7572207065722057415020616E74776F7274656E2129////////5039/////B0^C>
2003-03-07 22:27:52 [6] INFO: EMI2[10.1.7.67:2003]: Main connection closed by SM
SC
2003-03-07 22:27:52 [6] DEBUG: EMI2[10.1.7.67:2003]: clear_sent called
2003-03-07 22:27:52 [6] INFO: EMI2[10.1.7.67:2003]: connecting to Primary SMSC
... (nothing will be sent here anymore)

The configuration lines are:

group = smsc
smsc = emi2
host = 10.X.Y.Z
port = 2003
phone = 0
idle-timeout = 60
keepalive = 50
flow-control = 1
alt-charset = 3
wait-ack = 60
wait-ack-expire = 1

The bug occured both with 1.3.0 as with 1.3.1.
Kannel is running on a Solaris 2.8, 220R machine.

I took a quick glance at the driver and decided, it might
be the better idea to ask the guys who coded the lines :-)

Regards,


Georg v.Zezschwitz


Reply via email to