That's to be expected in fact, if the queue is caused by retries. New messages have higher priority than retries.
Regards, Alejandro On Mon, Nov 9, 2009 at 12:36 PM, ayokunle odusanya < ayokunle.odusa...@gmail.com> wrote: > Hi Alejandro, > > Thanks for the response. > > With no priority set (meaning 0), I am observing something strange. The > queue is not processed on a first-arrived-first-served basis, with a present > large queue, when I send a new set of messages with the default priority > (0), the new message goes on top of the big queue. I am using the new > version of kannel (1.4.3). What could be the cause of this strange effect. > > > Thanks, > > > Ayokunle O. > > > > > On Fri, Nov 6, 2009 at 6:00 PM, Alejandro Guerrieri < > alejandro.guerri...@gmail.com> wrote: > >> If not set, the priority used is 0. >> >> Kannel uses an "a la Robert Sedgewick" algorithm. If no other priorities >> are present, the queue is processed as usual, on a >> first-arrived-first-served basis. >> >> Regards, >> >> Alejandro >> >> On Fri, Nov 6, 2009 at 2:39 PM, ayokunle odusanya < >> ayokunle.odusa...@gmail.com> wrote: >> >>> Hi Alejandro, >>> >>> Thanks for this. >>> >>> What is the default priority set by kannel incase no value is set. And >>> does it mean a value of 0 (lowest priority) will make a message sent queue >>> after the big queue? >>> >>> Thanks, >>> >>> >>> >>> >>> On Fri, Nov 6, 2009 at 2:26 PM, Alejandro Guerrieri < >>> alejandro.guerri...@gmail.com> wrote: >>> >>>> Yes, priority works on SMPP as expected. Valid values are 0..3, being 0 >>>> the lowest priority and 3 the highest. >>>> >>>> Kannel will honor the priority internally (e.g., if you have a big queue >>>> or priority 0 messages and you send a priority 1 message, it will go on top >>>> despite the big queue). It will also set the priority value on the SMPP >>>> pdu, >>>> though it depends on the carrier to honor it or not. >>>> >>>> I think the documentation is not clear enough on this subject, but I've >>>> tested and used this feature with no problems for a long time. >>>> >>>> Hope it helps, >>>> >>>> Alejandro >>>> >>>> On Fri, Nov 6, 2009 at 2:18 PM, ayokunle odusanya < >>>> ayokunle.odusa...@gmail.com> wrote: >>>> >>>>> It will be nice to see someone who can help tackle this issue. I am >>>>> also having similar problem with setting SMS priority. I use the latest >>>>> version of kannel. >>>>> >>>>> Hope to hear from someone soon. >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, Nov 6, 2009 at 1:51 PM, kiran.re...@mpowerglobal.in < >>>>> kiran.re...@mpowerglobal.in> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> I set the priority for sending messages from kannel but it is not >>>>>> working please check the url. Please tell me how to set the priority for >>>>>> sending message. do i need to add any extra parameter in kannel.conf >>>>>> >>>>>> >>>>>> http://192.168.1.9:13013/cgi-bin/sendsms?username=kannel&password=xxxxx&to=919xxxxxxxxx&from=xxxxx&text=priority%20Testing&priority=2 >>>>>> >>>>>> http://192.168.1.9:13013/cgi-bin/sendsms?username=kannel&password=xxxxx&to=919xxxxxxxxx&from=xxxxx&text=priority%20Testing&priority=0 >>>>>> >>>>>> http://192.168.1.9:13013/cgi-bin/sendsms?username=kannel&password=xxxxx&to=919xxxxxxxxx&from=xxxxx&text=priority%20Testing&priority=1 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>> >