Re: Messages stuck in store
"Alex Kinch" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <004f01c3a8b8$17b14c10$0501a8c0@alex> |
Hi Thomas, Version is cvs-20031103. Maybe it is a bug, and this probably now belongs on the devel-list so I've cc'd it in. Could you email me your patch? Alex ----- Original Message ----- From: Thomas Hager To: [email protected] Sent: Tuesday, November 11, 2003 10:27 AM Subject: Re: Messages stuck in store On Tue, 2003-11-11 at 00:16, Alex Kinch wrote: > Hi, hi. > Seen a couple of instances in the last few days when messages have got > "stuck" in the store - at a guess due to the relevent SMPP connection > being temporarily unavailable at the time they were submitted via > smsbox. what version, 1.2.1? i can remember i came across the same behaviour with a ppg setup. the bearerbox seemed to write messages to the store, if the smpp connection was not available, but did not send them, when the connection was successfully re-opened. i had to restart the bearerbox to get rid of the stuck messages. in fact, the bearerbox saves the sms messages into the store upon arrival, but rejects it later when checking for an available sms-c. the sms message is not added to the internal sms queue but remains in the store. thus, the sms router thread is not aware of any messages stored in the store file. my solution to this problem was patching the bearerbox to queue messages, even when the smpp connection is down. i don't know if this is the best solution, but at least it worked for my setup. i can send you the patch i applied, just drop me a note. i'm gonna check if the behaviour is still the same in current cvs and file a bug report if applicable. hth, tom. -- Thomas "Duke" Hager {duke,hager}@sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups."