Sorry for the delay


I tried that but no luck.


============================================

Here is the debug log when I try to send to 3 numbers at the same time.

--------------------------------------------------------------------------------------------------------------

2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced source addr ton = 5, source add npi = 0
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced dest addr ton = 1, dest add npi = 1
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Sending PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 4 = 0x00000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 11 = 0x0000000b
2009-02-02 17:59:40 [12135] [6] DEBUG:   service_type: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr: "SomeT"
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   destination_addr: "35*******"
2009-02-02 17:59:40 [12135] [6] DEBUG:   esm_class: 3 = 0x00000003
2009-02-02 17:59:40 [12135] [6] DEBUG:   protocol_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   priority_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   schedule_delivery_time: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   validity_period: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   data_coding: 8 = 0x00000008
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_length: 18 = 0x00000012
2009-02-02 17:59:40 [12135] [6] DEBUG:   short_message:
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string at 0xb4102730:
2009-02-02 17:59:40 [12135] [6] DEBUG:      len:  18
2009-02-02 17:59:40 [12135] [6] DEBUG:      size: 19
2009-02-02 17:59:40 [12135] [6] DEBUG:      immutable: 0
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 72 00 65 00 73 00 74 00 20 00 6f 00 66 00 20   .r.e.s.t. .o.f.
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 35                                             .5
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced source addr ton = 5, source add npi = 0
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced dest addr ton = 1, dest add npi = 1
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Sending PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 4 = 0x00000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 12 = 0x0000000c
2009-02-02 17:59:40 [12135] [6] DEBUG:   service_type: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr: "XMASITS"
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   destination_addr: "35*********"
2009-02-02 17:59:40 [12135] [6] DEBUG:   esm_class: 3 = 0x00000003
2009-02-02 17:59:40 [12135] [6] DEBUG:   protocol_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   priority_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   schedule_delivery_time: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   validity_period: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   data_coding: 8 = 0x00000008
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_length: 18 = 0x00000012
2009-02-02 17:59:40 [12135] [6] DEBUG:   short_message:
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string at 0xb4102730:
2009-02-02 17:59:40 [12135] [6] DEBUG:      len:  18
2009-02-02 17:59:40 [12135] [6] DEBUG:      size: 19
2009-02-02 17:59:40 [12135] [6] DEBUG:      immutable: 0
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 72 00 65 00 73 00 74 00 20 00 6f 00 66 00 20   .r.e.s.t. .o.f.
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 35                                             .5
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced source addr ton = 5, source add npi = 0
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Manually forced dest addr ton = 1, dest add npi = 1
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Sending PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 4 = 0x00000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2009-02-02 17:59:40 [12135] [6] DEBUG:   service_type: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   source_addr: "someT"
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-02-02 17:59:40 [12135] [6] DEBUG:   destination_addr: "35********"
2009-02-02 17:59:40 [12135] [6] DEBUG:   esm_class: 3 = 0x00000003
2009-02-02 17:59:40 [12135] [6] DEBUG:   protocol_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   priority_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   schedule_delivery_time: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   validity_period: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   data_coding: 8 = 0x00000008
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sm_length: 18 = 0x00000012
2009-02-02 17:59:40 [12135] [6] DEBUG:   short_message:
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string at 0xb4102730:
2009-02-02 17:59:40 [12135] [6] DEBUG:      len:  18
2009-02-02 17:59:40 [12135] [6] DEBUG:      size: 19
2009-02-02 17:59:40 [12135] [6] DEBUG:      immutable: 0
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 72 00 65 00 73 00 74 00 20 00 6f 00 66 00 20   .r.e.s.t. .o.f.
2009-02-02 17:59:40 [12135] [6] DEBUG:      data: 00 35                                             .5
2009-02-02 17:59:40 [12135] [6] DEBUG:    Octet string dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm_resp
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 11 = 0x0000000b
2009-02-02 17:59:40 [12135] [6] DEBUG:   message_id: "4"
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm_resp
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 12 = 0x0000000c
2009-02-02 17:59:40 [12135] [6] DEBUG:   message_id: "5"
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:40 [12135] [6] DEBUG:   type_name: submit_sm_resp
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2009-02-02 17:59:40 [12135] [6] DEBUG:   command_status: 88 = 0x00000058
2009-02-02 17:59:40 [12135] [6] DEBUG:   sequence_number: 13 = 0x0000000d
2009-02-02 17:59:40 [12135] [6] DEBUG:   message_id: NULL
2009-02-02 17:59:40 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:40 [12135] [6] ERROR: SMPP[MTN]: SMSC returned error code 0x00000058 (Throttling error) in response to submit_sm.
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP[MTN]: Sending enquire link:
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:44 [12135] [6] DEBUG:   type_name: enquire_link
2009-02-02 17:59:44 [12135] [6] DEBUG:   command_id: 21 = 0x00000015
2009-02-02 17:59:44 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:44 [12135] [6] DEBUG:   sequence_number: 14 = 0x0000000e
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 17:59:44 [12135] [6] DEBUG:   type_name: enquire_link_resp
2009-02-02 17:59:44 [12135] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2009-02-02 17:59:44 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 17:59:44 [12135] [6] DEBUG:   sequence_number: 14 = 0x0000000e
2009-02-02 17:59:44 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP[MTN]: Sending enquire link:
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 18:00:14 [12135] [6] DEBUG:   type_name: enquire_link
2009-02-02 18:00:14 [12135] [6] DEBUG:   command_id: 21 = 0x00000015
2009-02-02 18:00:14 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   sequence_number: 15 = 0x0000000f
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP[MTN]: Manually forced source addr ton = 5, source add npi = 0
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP[MTN]: Manually forced dest addr ton = 1, dest add npi = 1
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP[MTN]: Sending PDU:
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 18:00:14 [12135] [6] DEBUG:   type_name: submit_sm
2009-02-02 18:00:14 [12135] [6] DEBUG:   command_id: 4 = 0x00000004
2009-02-02 18:00:14 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   sequence_number: 16 = 0x00000010
2009-02-02 18:00:14 [12135] [6] DEBUG:   service_type: NULL
2009-02-02 18:00:14 [12135] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2009-02-02 18:00:14 [12135] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   source_addr: "SomeT"
2009-02-02 18:00:14 [12135] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2009-02-02 18:00:14 [12135] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-02-02 18:00:14 [12135] [6] DEBUG:   destination_addr: "35********"
2009-02-02 18:00:14 [12135] [6] DEBUG:   esm_class: 3 = 0x00000003
2009-02-02 18:00:14 [12135] [6] DEBUG:   protocol_id: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   priority_flag: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   schedule_delivery_time: NULL
2009-02-02 18:00:14 [12135] [6] DEBUG:   validity_period: NULL
2009-02-02 18:00:14 [12135] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   data_coding: 8 = 0x00000008
2009-02-02 18:00:14 [12135] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2009-02-02 18:00:14 [12135] [6] DEBUG:   sm_length: 18 = 0x00000012
2009-02-02 18:00:14 [12135] [6] DEBUG:   short_message:
2009-02-02 18:00:14 [12135] [6] DEBUG:    Octet string at 0xb4102740:
2009-02-02 18:00:14 [12135] [6] DEBUG:      len:  18
2009-02-02 18:00:14 [12135] [6] DEBUG:      size: 19
2009-02-02 18:00:14 [12135] [6] DEBUG:      immutable: 0
2009-02-02 18:00:14 [12135] [6] DEBUG:      data: 00 72 00 65 00 73 00 74 00 20 00 6f 00 66 00 20   .r.e.s.t. .o.f.
2009-02-02 18:00:14 [12135] [6] DEBUG:      data: 00 35                                             .5
2009-02-02 18:00:14 [12135] [6] DEBUG:    Octet string dump ends.
2009-02-02 18:00:14 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 18:00:15 [12135] [6] DEBUG:   type_name: enquire_link_resp
2009-02-02 18:00:15 [12135] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2009-02-02 18:00:15 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 18:00:15 [12135] [6] DEBUG:   sequence_number: 15 = 0x0000000f
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP PDU dump ends.
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP[MTN]: Got PDU:
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP PDU 0xb4102658 dump:
2009-02-02 18:00:15 [12135] [6] DEBUG:   type_name: submit_sm_resp
2009-02-02 18:00:15 [12135] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2009-02-02 18:00:15 [12135] [6] DEBUG:   command_status: 0 = 0x00000000
2009-02-02 18:00:15 [12135] [6] DEBUG:   sequence_number: 16 = 0x00000010
2009-02-02 18:00:15 [12135] [6] DEBUG:   message_id: "6"
2009-02-02 18:00:15 [12135] [6] DEBUG: SMPP PDU dump ends.
================================================================


Thank you


Chris





Ishtiaq Ahmed wrote:

Hi Chris,


It would be better if you can attach some debug log with it... But In my opinion you should try the bigger value for wait-ack....

something like

throughput = 2
wait-ack = 600

Regards,


Ishtiaq Ahmed

Christos Karaviotis wrote:
Hi people,

I know that this must have been asked dozen of times.  I have checked the last 2 years archives but found nothing.

OK here is my problem,
I have upgraded Kannel from 1.4.1 to 1.4.2 and now I have the need due to 'throughput error' to limit the messages per second that Kannel sends to the SMPP.  Our provider limits us to 2 m/sec.  I have added under the specific SMSC configuration the 'throughput = 2' but no luck.  Kannel still tries to send the entire queue at once.

_Here is the configuration
_
group = smsc
smsc = smpp
smsc-id = A
host = 213.***.***.***
port = 6200
bind-addr-ton = 1
bind-addr-npi = 1
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
smsc-username = "*******"
smsc-password = *******
system-type = "kannel"
throughput = 2
wait-ack = 1
max-pending-submits = 1
address-range = "91.***.***.***"


Did I have to compile Kannel with some special parameters or did I have to do something and I did not do?

Thank you

Chris


Reply via email to