Userguide is wrong. 3 is the highest priority.
== Rene -----Original Message----- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Hillel Sent: Friday, 03 September, 2010 12:09 To: 'Nikos Balkanas' Cc: users@kannel.org Subject: top priority queue Hi Nikos, If you look at the latest SVN of the Kannel docs http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html you will see that under the section "Using the HTTP interface to send SMS messages" it mentions: "priority number Optional. Sets the Priority value (range 0-3 is allowed)" but does not say if 0 or 3 is the top priority. Then under the section "SM/ASI (for CriticalPath InVoke SMS Center 4.x)" the user guide mentions: "priority number Optional, sets the default priority of messages transmitted over this smsc link. (Defaults to 0, which is the highest priority)" This would imply that Kannel sets 0 to be the highest priority queue, as why would Kannel have a 0 as top priority for one service and not for the others. You mention below in your email that "being 3 the highest and 0 the lowest" Please confirm what is the top and the lowest priority queue? thanks >>> ----- 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 >>> >>>