Strange smsbox/bearerbox problem : SMS messages not being sent

Rory Campbell-Lange <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
My smsbox/bearerbox setup has been working flawlessly for about a month.
However recently I have had to restart the system after a number of
messages are shown as queued but not sent. On restarting bearerbox the
messages flood through.

The problems start with a message I sent myself at 7.30am in the morning
(a "sys_chk" message). Although this gets recorded in bearerbox it
wasn't in fact sent. See *a*. Then, as about 100 scheduled messages are rapidly
fired off at 8am, the first through are sent through (see *b*), then  the next lot
(about 54) are _not_ sent, but show up as queued. See *c*.

I'd be most grateful to know the reasons for this problem, if it can be
identified, and ways of troubleshooting. So I need to put in a loop on
the perl message sending program (its for a medical trial for diabetic
kids).

Many thanks,
Rory 

*a*
2003-06-07 07:30:08 [15] DEBUG: boxc_receiver: sms received
2003-06-07 07:30:08 [6] DEBUG: SMPP[orangeshort]: Manually forced source addr ton = 3, source add npi = 1 2003-06-07 07:30:08 [6] DEBUG: SMPP[orangeshort]: Manually forced dest addr ton = 1, dest add npi = 1
2003-06-07 07:30:08 [6] DEBUG: SMPP[orangeshort]: Sending PDU:
2003-06-07 07:30:08 [6] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 07:30:08 [6] DEBUG:   type_name: submit_sm
2003-06-07 07:30:08 [6] DEBUG:   command_id: 4 = 0x00000004
2003-06-07 07:30:08 [6] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   sequence_number: 10823 = 0x00002a47
2003-06-07 07:30:08 [6] DEBUG:   service_type: NULL
2003-06-07 07:30:08 [6] DEBUG:   source_addr_ton: 3 = 0x00000003
2003-06-07 07:30:08 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2003-06-07 07:30:08 [6] DEBUG:   source_addr: "xxxxx"
2003-06-07 07:30:08 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2003-06-07 07:30:08 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2003-06-07 07:30:08 [6] DEBUG:   destination_addr: "xxxxxxxxxxxx"
2003-06-07 07:30:08 [6] DEBUG:   esm_class: 3 = 0x00000003
2003-06-07 07:30:08 [6] DEBUG:   protocol_id: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   priority_flag: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   schedule_delivery_time: NULL
2003-06-07 07:30:08 [6] DEBUG:   validity_period: NULL
2003-06-07 07:30:08 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   data_coding: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2003-06-07 07:30:08 [6] DEBUG:   sm_length: 7 = 0x00000007
2003-06-07 07:30:08 [6] DEBUG:   short_message:
2003-06-07 07:30:08 [6] DEBUG:    Octet string at 0x812f4d8:
2003-06-07 07:30:08 [6] DEBUG:      len:  7
2003-06-07 07:30:08 [6] DEBUG:      size: 8
2003-06-07 07:30:08 [6] DEBUG:      immutable: 0
2003-06-07 07:30:08 [6] DEBUG:      data: 73 79 73 11 63 68 6b      sys.chk
2003-06-07 07:30:08 [6] DEBUG:    Octet string dump ends.
2003-06-07 07:30:08 [6] DEBUG: SMPP PDU dump ends.
2003-06-07 07:30:11 [7] DEBUG: SMPP[orangeshort]: Sending enquire link:
2003-06-07 07:30:11 [7] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 07:30:11 [7] DEBUG:   type_name: enquire_link
2003-06-07 07:30:11 [7] DEBUG:   command_id: 21 = 0x00000015
2003-06-07 07:30:11 [7] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 07:30:11 [7] DEBUG:   sequence_number: 10824 = 0x00002a48
2003-06-07 07:30:11 [7] DEBUG: SMPP PDU dump ends.
*b*
2003-06-07 08:00:23 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Manually forced source addr ton = 3, source add npi = 1
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Manually forced dest addr ton = 1, dest add npi = 1
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Sending PDU:
2003-06-07 08:00:23 [6] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 08:00:23 [6] DEBUG:   type_name: submit_sm
2003-06-07 08:00:23 [6] DEBUG:   command_id: 4 = 0x00000004
2003-06-07 08:00:23 [6] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sequence_number: 10945 = 0x00002ac1
2003-06-07 08:00:23 [6] DEBUG:   service_type: NULL
2003-06-07 08:00:23 [6] DEBUG:   source_addr_ton: 3 = 0x00000003
2003-06-07 08:00:23 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   source_addr: "xxxxx"
2003-06-07 08:00:23 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   destination_addr: "xxxxxxxxxxxx"
2003-06-07 08:00:23 [6] DEBUG:   esm_class: 3 = 0x00000003
2003-06-07 08:00:23 [6] DEBUG:   protocol_id: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   priority_flag: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   schedule_delivery_time: NULL
2003-06-07 08:00:23 [6] DEBUG:   validity_period: NULL
2003-06-07 08:00:23 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   data_coding: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sm_length: 18 = 0x00000012
2003-06-07 08:00:23 [6] DEBUG:   short_message: "Don't Guess - Test"
2003-06-07 08:00:23 [6] DEBUG: SMPP PDU dump ends.
2003-06-07 08:00:23 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Manually forced source addr ton = 3, source add npi = 1
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Manually forced dest addr ton = 1, dest add npi = 1
2003-06-07 08:00:23 [6] DEBUG: SMPP[orangeshort]: Sending PDU:
2003-06-07 08:00:23 [6] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 08:00:23 [6] DEBUG:   type_name: submit_sm
2003-06-07 08:00:23 [6] DEBUG:   command_id: 4 = 0x00000004
2003-06-07 08:00:23 [6] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sequence_number: 10946 = 0x00002ac2
2003-06-07 08:00:23 [6] DEBUG:   service_type: NULL
2003-06-07 08:00:23 [6] DEBUG:   source_addr_ton: 3 = 0x00000003
2003-06-07 08:00:23 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   source_addr: "xxxxx"
2003-06-07 08:00:23 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2003-06-07 08:00:23 [6] DEBUG:   destination_addr: "44xxxxxx8821"
2003-06-07 08:00:23 [6] DEBUG:   esm_class: 3 = 0x00000003
2003-06-07 08:00:23 [6] DEBUG:   protocol_id: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   priority_flag: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   schedule_delivery_time: NULL
2003-06-07 08:00:23 [6] DEBUG:   validity_period: NULL
2003-06-07 08:00:23 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   data_coding: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2003-06-07 08:00:23 [6] DEBUG:   sm_length: 47 = 0x0000002f
2003-06-07 08:00:23 [6] DEBUG:   short_message:
2003-06-07 08:00:23 [6] DEBUG:    Octet string at 0x8130438:
2003-06-07 08:00:23 [6] DEBUG:      len:  47
2003-06-07 08:00:23 [6] DEBUG:      size: 48
2003-06-07 08:00:23 [6] DEBUG:      immutable: 0
2003-06-07 08:00:23 [6] DEBUG:      data: 45 78 65 72 63 69 73 65   Exercise
2003-06-07 08:00:23 [6] DEBUG:      data: 20 69 73 20 66 75 6e 20    is fun 
2003-06-07 08:00:23 [6] DEBUG:      data: 61 6e 64 20 69 74 20 6b   and it k
2003-06-07 08:00:23 [6] DEBUG:      data: 65 65 70 73 20 6f 75 72   eeps our
2003-06-07 08:00:23 [6] DEBUG:      data: 20 62 6f 64 69 65 73 20    bodies 
2003-06-07 08:00:23 [6] DEBUG:      data: 68 65 61 6c 74 68 79      healthy
2003-06-07 08:00:23 [6] DEBUG:    Octet string dump ends.
2003-06-07 08:00:23 [6] DEBUG: SMPP PDU dump ends.
*c*
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:24 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:25 [15] DEBUG: boxc_receiver: sms received
2003-06-07 08:00:41 [7] DEBUG: SMPP[orangeshort]: Sending enquire link:
2003-06-07 08:00:41 [7] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 08:00:41 [7] DEBUG:   type_name: enquire_link
2003-06-07 08:00:41 [7] DEBUG:   command_id: 21 = 0x00000015
2003-06-07 08:00:41 [7] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 08:00:41 [7] DEBUG:   sequence_number: 10955 = 0x00002acb
2003-06-07 08:00:41 [7] DEBUG: SMPP PDU dump ends.
2003-06-07 08:00:46 [8] DEBUG: SMPP[orangelong]: Sending enquire link:
2003-06-07 08:00:46 [8] DEBUG: SMPP PDU 0x81358a0 dump:
2003-06-07 08:00:46 [8] DEBUG:   type_name: enquire_link
2003-06-07 08:00:46 [8] DEBUG:   command_id: 21 = 0x00000015
2003-06-07 08:00:46 [8] DEBUG:   command_status: 0 = 0x00000000
2003-06-07 08:00:46 [8] DEBUG:   sequence_number: 5448 = 0x00001548
2003-06-07 08:00:46 [8] DEBUG: SMPP PDU dump ends.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.