Re: SMPP DATA_SM stops kannel from receiving further messages

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

unfortunately Kannel doesn't handle data_sm pdu...
as a workaround you can try to force kannel to 3.3 version, as long no
properly support for data_sm added...


Ambar Roy wrote:

> Hi,
> 
> I have Kannel connected to a LogicaCMG SMSC via SMPP 3.4. SMSC sends a
> DATA_SM PDU and Kannel responds with a GENERIC_NACK PDU. At this point,
> the SMSC stops sending any further queued messages and Kannel is stuck :(
> 
> I am using a receiver only connection to the SMSC with no transmit
> connections from Kannel.
> 
> Here is a dump from the relavent section of the log file:
> 
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter tag (0x000e)
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter length read as 1
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter tag (0x0424)
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter length read as 2
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter tag (0x000d)
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter length read as 1
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter tag (0x0426)
> 2004-07-07 20:02:31 [4069] [7] DEBUG: Optional parameter length read as 1
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Got PDU:
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP PDU 0x81d16e0 dump:
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   type_name: data_sm
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   command_id: 259 = 0x00000103
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   service_type: NULL
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   source_addr_ton: 2 = 0x00000002
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   source_addr: "xxxxxxxxxx"
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   dest_addr_ton: 0 = 0x00000000
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   destination_addr: "xxx"
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   esm_class: 0 = 0x00000000
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   registered_delivery: 17 =
> 0x00000011
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   data_coding: 0 = 0x00000000
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   source_addr_subunit: 2 =
> 0x00000002
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   source_network_type: 1 =
> 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   more_messages_to_send: 1 =
> 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   message_payload: "99"
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-07 20:02:31 [4069] [7] ERROR: SMPP[xxxxxxxxxxxxxxx]: Unknown PDU
> type 0x00000103, ignored.
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Sending PDU:
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP PDU 0x81d20d8 dump:
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   type_name: generic_nack
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   command_id: 2147483648 =
> 0x80000000
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   command_status: 3 = 0x00000003
> 2004-07-07 20:02:31 [4069] [7] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-07-07 20:02:31 [4069] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Sending
> enquire link:
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP PDU 0x81d16a0 dump:
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   type_name: enquire_link
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   command_id: 21 = 0x00000015
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   sequence_number: 7 = 0x00000007
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Got PDU:
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP PDU 0x81d16a0 dump:
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   type_name: enquire_link_resp
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-07 20:02:38 [4069] [7] DEBUG:   sequence_number: 7 = 0x00000007
> 2004-07-07 20:02:38 [4069] [7] DEBUG: SMPP PDU dump ends.
> 
> 
> Ambar Roy
> 
> One97 Communications (P) Ltd.
> 701-702, Arunachal Building,
> 19 Barakhamba Road,
> New Delhi - 110 001
> 
> 98100-94479
> [email protected]
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.