If you send all of those messages at once, I don't know how priority queues
behave.
If priority is the same and the time that messages are sent are within the
same second. What do priority queues do?

== Rene


-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Nikos Balkanas
Sent: Wednesday, 25 August, 2010 21:47
To: Jason Mule
Cc: users@kannel.org
Subject: Re: Kannel queue with same priority is unpredictable

Wow! Did you sent all these through a real SMSc? It must have costed a 
bundle. Use fakesmpp for the tests to avoid charges.
Will need also relevant bb logs and your configuration.

BR,
Nikos
----- Original Message ----- 
From: Jason Mule
To: Nikos Balkanas
Cc: Alejandro Guerrieri ; users@kannel.org
Sent: Wednesday, August 25, 2010 4:19 PM
Subject: Re: Kannel queue with same priority is unpredictable


I have reproduced this by sending 10000 messages in 2 sets to simulate a 
large MT-Push. Please note the sequence of messages in 'smsboxaccess0.log' 
and compare this to 'access.log'. Messages with the string 'Message 2' were 
sent after messages with the string 'Message 1'.


2010/8/25 Nikos Balkanas <nbalka...@gmail.com>

And i am saying the same thing to you:

Please share relevant log entries demonstrating this.

BR,
Nikos
----- Original Message ----- From: "Jason Mule" <jason.m...@gmail.com>
To: "Nikos Balkanas" <nbalka...@gmail.com>
Cc: "Alejandro Guerrieri" <alejandro.guerri...@gmail.com>; 
<users@kannel.org>
Sent: Tuesday, August 24, 2010 4:09 PM

Subject: Re: Kannel queue with same priority is unpredictable



Hi,

I have observed that as long as there are messages in the store file
en route to the SMSC, newer MTs to Kannel will be sent out before the
bunch of messages in the store file. Priority is not changed for the
newer messages and the messages are not retries. This is probably what
the OP was referring to.

2010/7/20 Nikos Balkanas <nbalka...@gmail.com>:

Thanks.

It turns that priority queue in kannel is dtermined both by SMS priority and
age of sms. I.e. if 2 sms have the same priority, the older one gets the
call (FIFO). It is also implemented only in SMPP, EMI & at.

BR,
Nikos
----- Original Message ----- From: Alejandro Guerrieri
To: Nikos Balkanas
Cc: Waqas Farooq ; users@kannel.org
Sent: Tuesday, July 20, 2010 4:11 PM
Subject: Re: Kannel queue with same priority is unpredictable


That's not correct. At least on SVN for a good time now, Kannel honors
priorities, being 3 the highest and 0 the lowest. That means that if you
have a big queue of priority-1 messages and send one priority-2 or 3
message, it will get delivered before the rest of the queue.


The priority is also passed to the SMSC by means of SMPP's priority flag,
but afaik most carriers ignore ESME settings for priority so do not expect
it to work.


Regards,


Alex


2010/7/20 Nikos Balkanas <nbalka...@gmail.com>

Hi,

Priority is not used by kannel. It is part of the SMPP spec and is passed to
receiving SMSc. Queue is FIFO, subject to constraints like sms-resend-freq
and sms-resend-retry. If in doubt check store-queue from http admin.

BR,
Nikos
----- Original Message ----- From: Waqas Farooq
To: users@kannel.org
Sent: Tuesday, July 20, 2010 11:48 AM
Subject: Kannel queue with same priority is unpredictable



Hi All,

I have a very large queue with all the messages in the queue and the new
incoming messages from the smsbox are with the same priority. The problem is
that new messages get delivered earlier than the ones already queued. I have
no idea what sort of queue it is? Is it a FIFO queue or the kannel just
tries to send the messages from the smsbox directly if possible and if not
then the message is queued? Please note that all the messages are at the
same priority!

Any help will be highly appreciated!

Thanks,
Waqas



Hotmail: Trusted email with powerful SPAM protection. Sign up now.




BR,
Jason





BR,
Jason 





Reply via email to