Re: SMPP problems - Queued messages not received automatically on reconnect

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

Ambar Roy wrote:

> Hi,
> 
> I am using Kannel CVS snapshot from 28th June 2004. I am facing the
> following problems with SMPP connections to a Logica/CMG SMSC:
> 1. Whenever I reconnect to the SMSC, Kannel does not automatically
> retrieve stored messages, but when a new sms is sent to the smsc, all the
> pending messages are retrieved by Kannel.

hmm, if smsc_smpp did reconnect to smsc then it's a bug... if not then no
bug there... please check in kannel log file whether smpp module did
reconnect?!

> 2. Due to some reason, the SMSC crashed today and had to be restarted.
> After this messages sent to the SMPP large account were not received by
> Kannel but were getting accumulated in the SMSC queue.

I don't see here a kannel fault... when enquire_link PDU's are sent and
responses for those received than it's a SMSC fault. All MO messages are
SMSC-initiated.

> 
> Since I have been testing this version of Kannel, I had kannel running on
> a console window with debug log level and I was able to see that kannel
> was able to send and receie enquire_link/enquire_link_resp PDUs.
> 
> I am using a receive only link to connect to the SMSC and the SMSC admin
> has asked me to use a fixed port from my end when connecting! SMSC
> connection is via LAN with the SMSC in the same subnet as the machine
> running Kannel.
> 
> The system running kannel is a AMD Athlon box running RH 8.0.
> 
> I have another installation of Kannel running with the same smsc from the
> same computer, and that also showed this exact same behaviour. The other
> installation is a 1.0.3 version of Kannel installed from rpm.
> 
> Here is a part of the log after the SMSC was restarted:
> 2004-07-06 14:51:49 [4624] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Got PDU:
> 2004-07-06 14:51:49 [4624] [7] DEBUG: SMPP PDU 0x81cff70 dump:
> 2004-07-06 14:51:49 [4624] [7] DEBUG:   type_name: enquire_link_resp
> 2004-07-06 14:51:49 [4624] [7] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2004-07-06 14:51:49 [4624] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-06 14:51:49 [4624] [7] DEBUG:   sequence_number: 5409 = 0x00001521
> 2004-07-06 14:51:49 [4624] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Sending
> enquire link:
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP PDU 0x81cff70 dump:
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   type_name: enquire_link
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   command_id: 21 = 0x00000015
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   sequence_number: 5410 = 0x00001522
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Got PDU:
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP PDU 0x81cff70 dump:
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   type_name: enquire_link_resp
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-06 14:52:04 [4624] [7] DEBUG:   sequence_number: 5410 = 0x00001522
> 2004-07-06 14:52:04 [4624] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-06 14:52:19 [4624] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Sending
> enquire link:
> 2004-07-06 14:52:19 [4624] [7] DEBUG: SMPP PDU 0x81cff70 dump:
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   type_name: enquire_link
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   command_id: 21 = 0x00000015
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   sequence_number: 5411 = 0x00001523
> 2004-07-06 14:52:19 [4624] [7] DEBUG: SMPP PDU dump ends.
> 2004-07-06 14:52:19 [4624] [7] DEBUG: SMPP[xxxxxxxxxxxxxxx]: Got PDU:
> 2004-07-06 14:52:19 [4624] [7] DEBUG: SMPP PDU 0x81cff70 dump:
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   type_name: enquire_link_resp
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   command_status: 0 = 0x00000000
> 2004-07-06 14:52:19 [4624] [7] DEBUG:   sequence_number: 5411 = 0x00001523
> 2004-07-06 14:52:19 [4624] [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.