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 ; [email protected]
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 <[email protected]>

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: [email protected]
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.

Reply via email to