do you have config sms-outgoing-disable-on-no-smsc set ? if enabled, if smsc is disconnected, outgoing messaged get failed with the DISCARDED attribute otherwise, messages that were on that smscconnection queue get re-queued to the "outgoing_sms" (main outgoing) queue. When you say "restarted the bind" do you mean restarted the bearerbox process or the http command to stop/start the smsc connection ? (just to clarify)
----- Original Message ----- From: "Hillel" <[EMAIL PROTECTED]> To: "Kannel Devel" <[email protected]> Sent: Wednesday, February 08, 2006 9:27 PM Subject: restarting bind causes SMS to be DISCARDED > Hi, > > Here is more info, on the error, smsc1 was down and so we restarted the bind > but then the SMS was rejected. > > (I've changed the confidential information so as not to give out client > details.) > > Any ideas appreciated. > > 2006-02-08 07:40:34 [16456] [6] DEBUG: SMPP[smsc1]: Manually forced source > addr ton = 1, source add npi = 1 > 2006-02-08 07:40:34 [16456] [6] DEBUG: SMPP[smsc1]: Manually forced dest > addr ton = 1, dest add npi = 1 > 2006-02-08 07:40:34 [16456] [6] DEBUG: SMPP[smsc1]: Sending PDU: > 2006-02-08 07:40:34 [16456] [6] DEBUG: SMPP PDU 0x9430f80 dump: > 2006-02-08 07:40:34 [16456] [6] DEBUG: type_name: submit_sm > 2006-02-08 07:40:34 [16456] [6] DEBUG: command_id: 4 = 0x00000004 > 2006-02-08 07:40:34 [16456] [6] DEBUG: command_status: 0 = 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: sequence_number: 28994 = 0x00007142 > 2006-02-08 07:40:34 [16456] [6] DEBUG: service_type: NULL > 2006-02-08 07:40:34 [16456] [6] DEBUG: source_addr_ton: 1 = 0x00000001 > 2006-02-08 07:40:34 [16456] [6] DEBUG: source_addr_npi: 1 = 0x00000001 > 2006-02-08 07:40:34 [16456] [6] DEBUG: source_addr: "2783008035067308" > 2006-02-08 07:40:34 [16456] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 > 2006-02-08 07:40:34 [16456] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2006-02-08 07:40:34 [16456] [6] DEBUG: destination_addr: "27847882003" > 2006-02-08 07:40:34 [16456] [6] DEBUG: esm_class: 3 = 0x00000003 > 2006-02-08 07:40:34 [16456] [6] DEBUG: protocol_id: 0 = 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: priority_flag: 0 = 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: schedule_delivery_time: NULL > 2006-02-08 07:40:34 [16456] [6] DEBUG: validity_period: "060211054034000+" > 2006-02-08 07:40:34 [16456] [6] DEBUG: registered_delivery: 1 = 0x00000001 > 2006-02-08 07:40:34 [16456] [6] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: data_coding: 0 = 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2006-02-08 07:40:34 [16456] [6] DEBUG: sm_length: 8 = 0x00000008 > 2006-02-08 07:40:34 [16456] [6] DEBUG: short_message: "details for client" > 2006-02-08 07:40:34 [16456] [6] DEBUG: SMPP PDU dump ends. > 2006-02-08 07:40:37 [16456] [7] DEBUG: SMPP[smsc1]: Sending enquire link: > 2006-02-08 07:40:37 [16456] [7] DEBUG: SMPP PDU 0xafc090f0 dump: > 2006-02-08 07:40:37 [16456] [7] DEBUG: type_name: enquire_link > 2006-02-08 07:40:37 [16456] [7] DEBUG: command_id: 21 = 0x00000015 > 2006-02-08 07:40:37 [16456] [7] DEBUG: command_status: 0 = 0x00000000 > 2006-02-08 07:40:37 [16456] [7] DEBUG: sequence_number: 28995 = 0x00007143 > 2006-02-08 07:40:37 [16456] [7] DEBUG: SMPP PDU dump ends. > 2006-02-08 07:40:45 [16456] [11] DEBUG: Dumping 1 messages to store > > 2006-02-08 08:05:11 [16456] [7] DEBUG: SMPP PDU 0xafc09ba0 dump: > 2006-02-08 08:05:11 [16456] [7] DEBUG: type_name: unbind_resp > 2006-02-08 08:05:11 [16456] [7] DEBUG: command_id: 2147483654 = 0x80000006 > 2006-02-08 08:05:11 [16456] [7] DEBUG: command_status: 0 = 0x00000000 > 2006-02-08 08:05:11 [16456] [7] DEBUG: sequence_number: 29188 = 0x00007204 > 2006-02-08 08:05:11 [16456] [7] DEBUG: SMPP PDU dump ends. > 2006-02-08 08:05:11 [16456] [7] DEBUG: SMPP[smsc1]: io_thread: break and > shutting down > 2006-02-08 08:05:11 [16456] [7] DEBUG: Thread 7 > (gw/smsc/smsc_smpp.c:io_thread) terminates. > 2006-02-08 08:05:12 [16456] [6] DEBUG: SMPP[smsc1]: io_thread: break and > shutting down > 2006-02-08 08:05:12 [16456] [6] DEBUG: Thread 6 > (gw/smsc/smsc_smpp.c:io_thread) terminates. > 2006-02-08 08:05:12 [16456] [3] DEBUG: SMSCConn > SMPP:196.10.10.10:5018/5018:username:SMPP shut down. > 2006-02-08 08:05:12 [16456] [3] DEBUG: HTTP: Destroying HTTPClient area > 0x942dd08. > 2006-02-08 08:05:12 [16456] [3] DEBUG: HTTP: Destroying HTTPClient for > `127.0.0.1'. > 2006-02-08 08:05:18 [16456] [10] DEBUG: sms_router: gwlist_len = 2 > 2006-02-08 08:05:18 [16456] [10] DEBUG: sms_router: handling message > (0xafc090f0 vs 0xafc090f0) > 2006-02-08 08:05:18 [16456] [10] WARNING: Cannot find SMSCConn for message > to <27847882003>, rejected. > 2006-02-08 08:05:18 [16456] [10] WARNING: No SMSCes to receive message, > discarding it! > 2006-02-08 08:05:18 [16456] [10] DEBUG: SMSC[UNKNOWN]: creating DLR message > 2006-02-08 08:05:18 [16456] [10] DEBUG: SMSC[UNKNOWN]: DLR = > http://localhost/smsbatch/batchReceipts?smsId=30440&status=%d&smsc=%i&timeDa > te=%t&destination=%p&delivInfo=%a&source=%P&msgid=%k > > > >
