There’s quite some different queues in Kannel. Read the architecture document at http://www.kannel.org/arch.shtml
Apart from that, you have all the source codes available. There have been some pointers given in earlier posts of where you can look. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of adil nazir Sent: Wednesday, 18 August, 2010 18:39 To: Alvaro Cornejo Cc: users@kannel.org Subject: Re: Problem of messages comes first in Bearerbox Queue ok can you guide me where i need modifications in kannel to change its queue logic? because its an urgent need. _____ From: Alvaro Cornejo <cornejo.alv...@gmail.com> To: adil nazir <adil_nazi...@yahoo.com> Cc: users@kannel.org Sent: Wed, August 18, 2010 9:33:19 PM Subject: Re: Problem of messages comes first in Bearerbox Queue Do NOT change subject of a thread. It will difficult follow up There is NOTHING you can do... other than rewrite kannel queue logic |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Aug 18, 2010 at 10:12 AM, adil nazir <adil_nazi...@yahoo.com> wrote: > yes i can understand that but tell me what i should do in the situation when > i have 8 lack messages in bearerbox queue and the messages which comes first > in bearerbox queue they will be received by SMSC after 2 to 3 days after > receiving by SMSC then it depends on SMSC that weather it follows the > message sequence or not but first its kannel responsibility to send all > messages to SMSC for delivery. so tell me how can i handle this situation in > which i have 8 lac messages in queue and first come (approx 1 lac) messages > delivered after 2 to 3 days. I am using SMPP and to test it i am using > gateway-1.4.3/test/drive_smpp. Please guide me. > > > ________________________________ > From: Alvaro Cornejo <cornejo.alv...@gmail.com> > To: adil nazir <adil_nazi...@yahoo.com> > Cc: users@kannel.org > Sent: Tue, August 17, 2010 11:49:01 PM > Subject: Re: Problem of messages with same priority > > There is no way to do that with the current architecture kannel has, > nor with any other aplication you might found/develop... unless you > send one message, wait for the dlr confirmation that the message was > delivered --if it is available-- and then send the next one.... Dlrs > can take up to a couple of days to be received. > > It wont be efficient. Period. > > Besides, unless you have a real argument/need for the messages to be > received in the same order they were sent, it wouldn't matter. Not > even in concatenated messages the phone receives the parts in the same > order. Same with TCP/IP protocols. They are designed for efficiently > TRANSPORT data, its on application side where the parts are > reassembled/ordered. > > Regards > > Alvaro > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Tue, Aug 17, 2010 at 1:29 PM, adil nazir <adil_nazi...@yahoo.com> wrote: >> then guide me how can i achieve this target that message comes first >> should >> deliver first and if queue is already full with messages then first queued >> messages should deliver then new messages. >> >> ________________________________ >> From: Rene Kluwen <rene.klu...@chimit.nl> >> To: adil nazir <adil_nazi...@yahoo.com> >> Cc: users@kannel.org >> Sent: Tue, August 17, 2010 10:07:31 PM >> Subject: RE: Problem of messages with same priority >> >> 1. I replied to your message that didn’t have users in CC. That’s >> why >> it didn’t get here. >> >> 2. What we are trying to make clear to you is that message queuing >> isn’t a Kannel issue. SMS messages are not guaranteed to arrive within a >> specific time or order.… and not even guaranteed to arrive at all. >> >> >> >> == Rene >> >> >> >> From: adil nazir [mailto:adil_nazi...@yahoo.com] >> >> Sent: Tuesday, 17 August, 2010 19:04 >> To: Rene Kluwen >> Cc: users@kannel.org >> Subject: Re: Problem of messages with same priority >> >> >> >> Please add users@kannel.org in Cc thanks >> >> That is why i am saying that if kennel can handle priority messages then >> why >> it cant handle message sequence? >> >> ________________________________ >> >> From: Rene Kluwen <rene.klu...@chimit.nl> >> To: adil nazir <adil_nazi...@yahoo.com> >> Cc: Alejandro Guerrieri <alejandro.guerri...@gmail.com> >> Sent: Tue, August 17, 2010 9:12:10 PM >> Subject: RE: Problem of messages with same priority >> >> SMS messages carrying a higher priority are sent to the smsc first. After >> that, they are on their own. >> >> >> >> == Rene >> >> >> >> From: adil nazir [mailto:adil_nazi...@yahoo.com] >> Sent: Tuesday, 17 August, 2010 18:10 >> To: Rene Kluwen >> Cc: adil nazir; Alejandro Guerrieri >> Subject: Re: Problem of messages with same priority >> >> >> >> yes i know but if kannel can send SMS having high priority before the low >> priority then it means it has the ability to send SMS in specific order. >> If >> >> SMS –by nature- uses a store-and-forward scheme then how priority works >> with >> kannel and why they implement priority queue in kannel drivers. >> >> >> >> ________________________________ >> >> From: Rene Kluwen <rene.klu...@chimit.nl> >> To: adil nazir <adil_nazi...@yahoo.com>; Alejandro Guerrieri >> <alejandro.guerri...@gmail.com> >> Cc: users@kannel.org >> Sent: Tue, August 17, 2010 9:02:59 PM >> Subject: RE: Problem of messages with same priority >> >> SMS –by nature- uses a store-and-forward scheme. Even if Kannel sends >> messages out in a specific order, it doesn’t mean that messages arrive in >> the same order. >> >> >> >> If it is important that messages arrive in a specific order, then >> implement >> a system that waits for a final dlr state and after that send the next >> message. >> >> >> >> == Rene >> >> >> >> >> >> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf >> Of adil nazir >> Sent: Tuesday, 17 August, 2010 17:39 >> To: Alejandro Guerrieri >> Cc: users@kannel.org >> Subject: Re: Problem of messages with same priority >> >> >> >> But this is not good because if we already have thousands of messages in >> our >> queue then how can is it possible to deliver new incoming message before >> queued messages. I think it is duty of Kannel to take care of message >> sequence in the same way as it take care of messages with different >> priority. Can anyone suggest the solution to solve this problem? I want >> that >> Kannel work like FIFO queue. >> Also tell me if we use sms.time field of message then can we solve this >> problem? because arrival time of messages having same priority will >> different. so we can differentiate them with there time. >> >> ________________________________ >> >> From: Alejandro Guerrieri <alejandro.guerri...@gmail.com> >> To: Alvaro Cornejo <cornejo.alv...@gmail.com> >> Cc: adil nazir <adil_nazi...@yahoo.com>; users@kannel.org >> Sent: Tue, August 17, 2010 7:26:12 PM >> Subject: Re: Problem of messages with same priority >> >> Yes, and despite Kannel honors order of arrival at first, if messages are >> queued and retried is hard to tell what the final order would be, >> specially >> if a bind or the whole service is restarted. >> >> >> >> Regards, >> >> >> >> Alex >> >> On Tue, Aug 17, 2010 at 4:03 PM, Alvaro Cornejo <cornejo.alv...@gmail.com> >> wrote: >> >> Note that is your sms provider/operator smsc who finally takes care of >> messages. If Kannel send messages in 1,2,3 order to the smsc it >> doesn't mean they will arrive in that order to your phone. >> >> >> >> |-----------------------------------------------------------------------------------------------------------------| >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier >> celular y Nextel >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via >> SMS y GPRS online >> Visitenos en www.perusms.NET www.smsglobal.com.mx y >> www.pravcom.com >> >> >> On Tue, Aug 17, 2010 at 3:11 AM, adil nazir <adil_nazi...@yahoo.com> >> wrote: >>> I have tested kannel with messages having same priorities these messages >>> should be treated like FIFO method means which message comes first should >>> be >>> reached first on particular smsc but kannel is treated all messages, >>> having >>> same priorities, equal and deliver them randomly even there arrival time >>> is >>> different why? Can anyone help me in this regard? Any solutions please? >>> >>> >> >> >> >> >> >> >> >> >> > >