Hi,
I am testing Kannel 1.3.1 on Solaris. I have the LOGICA Java SMSC Simulator
running on another machine.
I am sending messages via the '/cgi-bin/sendsms' link.
As a test I shutdown the Logica SMSC Simulator, and Kannel reported this problem
as expected.
When I restarted the Simulator Kannel also reported this situation correctly.
However it did NOT send the message that failed to be sent previously. This
message appears to have disappeared!
===> Although the kannel.store does have a message in it, that (from what I can tell
when opening in in vi) appears to be the message I sent, but failed to have delivered
to SMSC.
Shouldn't Kannel recover from this situation, or am I expected to restart Kannel (or
some other thing) after the SMSC dies?
Or (even worse) are these messages gone!
-------------------------
This is a portion of the log where I would normally expect the message to be transferred
to the SMSC.
2003-06-11 14:58:23 [7] DEBUG: SMPP PDU dump ends.
2003-06-11 14:58:40 [9] DEBUG: boxc_receiver: sms received
2003-06-11 14:58:40 [7] DEBUG: SMPP[LOGICA]: Sending PDU:
2003-06-11 14:58:40 [7] DEBUG: SMPP PDU ff6d8 dump:
2003-06-11 14:58:40 [7] DEBUG: type_name: submit_sm
2003-06-11 14:58:40 [7] DEBUG: command_id: 4 = 0x00000004
2003-06-11 14:58:40 [7] DEBUG: command_status: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: sequence_number: 6 = 0x00000006
2003-06-11 14:58:40 [7] DEBUG: service_type: NULL
2003-06-11 14:58:40 [7] DEBUG: source_addr_ton: 2 = 0x00000002
2003-06-11 14:58:40 [7] DEBUG: source_addr_npi: 1 = 0x00000001
2003-06-11 14:58:40 [7] DEBUG: source_addr: "4444444444"
2003-06-11 14:58:40 [7] DEBUG: dest_addr_ton: 2 = 0x00000002
2003-06-11 14:58:40 [7] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-06-11 14:58:40 [7] DEBUG: destination_addr: "6345345353"
2003-06-11 14:58:40 [7] DEBUG: esm_class: 3 = 0x00000003
2003-06-11 14:58:40 [7] DEBUG: protocol_id: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: priority_flag: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: schedule_delivery_time: NULL
2003-06-11 14:58:40 [7] DEBUG: validity_period: NULL
2003-06-11 14:58:40 [7] DEBUG: registered_delivery: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: data_coding: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-06-11 14:58:40 [7] DEBUG: sm_length: 11 = 0x0000000b
2003-06-11 14:58:40 [7] DEBUG: short_message: "Hello World"
2003-06-11 14:58:40 [7] DEBUG: SMPP PDU dump ends.
2003-06-11 14:58:40 [7] ERROR: SMPP[LOGICA]: I/O error or other error. Re-connecting.
2003-06-11 14:58:40 [7] ERROR: connect failed
2003-06-11 14:58:40 [7] ERROR: System error 146: Connection refused
2003-06-11 14:58:40 [7] ERROR: error connecting to server `torula.its.deakin.edu.au' at port `16272'
2003-06-11 14:58:40 [7] ERROR: SMPP[LOGICA]: Couldn't connect to server.
2003-06-11 14:58:40 [7] ERROR: SMPP[LOGICA]: Couldn't connect to SMS center (retrying in 10 seconds).
Is this expected functionality, or am I missing something.
I am still fairly unsure what I am doing with Kannel, so be kind with your comments.
Thanks
Jason
