Dlr counters on the status page

This patch adds separate dlr counters on the status page.

If you use dlrs (Delivery Receipts) with Kannel, you’ve noticed that they’re counted along with MO traffic as incoming messages.

This leads to misunderstandings on how much incoming traffic you’re really sustaining: For example on SMPP, if you request dlrs, depending on the carrier having it enabled or not, you’ll get one or two more “incoming” messages counted (dlrs are very similar to mo messages in structure).

After applying this patch, the status page will display incoming and dlr traffic on separate counter, either for the total amouns as in each and every defined smsc connection. It will also display separate load indicators, so you’ll know at all times if your inbound traffic is actually traffic or just old/delayed dlrs.

Here’s the patch:

kannel-dlr-status

As usual, please try it and let me know what you think.

Alex

Comments (5)

BenaiadNovember 14th, 2009 at 12:48 AM

Nice job Alex, I really needed this change.
keep doing the best.

BashirFebruary 8th, 2010 at 11:19 AM

Hi Alex,

I am assuming I would need to patch the installation files then do a re-install of kannel to get this functionality?

alexFebruary 10th, 2010 at 8:09 PM

Yes of course. Please note that this patch is already accepted and committed to CVS HEAD, so if you get the latest code from CVS you’ll get this functionality included.

BashirFebruary 16th, 2010 at 7:41 AM

Great stuff, thanks Alex will upgrade to latest CVS…

MarisApril 12th, 2010 at 3:29 PM

I am interested in the opportunity to keep all the kannel configuration of MySQL or other DB