Hi Alex, 1) Was code for this feature accepted and committed https://redmine.kannel.org/issues/567 ?
Add a new command to the kannel admin interface to delete the queued messages for certain criteria, like for SMSC connection XX or for short code YYYY or move these messages to certain directory: kannel_admin/delete-queue?smsc=XX kannel_admin/delete-queue?short-code=YYY kannel_admin/move-queue?smsc=XX&destination=URL_ENCODE('/some_directory/move d/') 2) Does the remove-message option actually work for the admin interface as mentioned in the Kannel documentation http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN9 26 I've followed the steps of Kirti and I also get http://127.0.0.1:13000/remove-message?id=UUID?password=xxxx Denied error. But lynx -dump "http://127.0.0.1:13000/store-status.xml?password=xxxx" works and gives me the UUIDs. Which means the password and admin interface is working. (I've used 13000 as the admin port.) Either the Kannel documentation is wrong or there is a bug in the code regarding remove-message. "Removes the message with the give id (an UUID) from the local storage subsystem." thanks ---------------------------------------------------------------------- Message: Date: Mon, 18 May 2015 18:59:11 +0530 From: Kirti Mandwade <kirti.mandw...@gmail.com> To: devel@kannel.org Subject: Fwd: How to remove messages from Kannel local subsystem using UUID Message-ID: <CACz0=AgQDxMbYHOA0t+w5tYbVLNRP=p+p6m4pcq6p8zuxnz...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, I need to remove specific message from kannel queue and i am testing it by using fakesmsc. So far what i did is: 1) I used this command to check the status of various smsc.This works fine lynx -dump "http://127.0.0.1:xxx/status?password=xxxx" 2) I took down fakesmsc and sent 10 sms. 3) I used the following command to check the queue. lynx -dump "http://127.0.0.1:xxx/store-status.xml?password=xxxx" And got the following output 91fc3583-761a-4e1f-8493-3f47a01e628a MT-PUSH 2015-05-18 12:33:35 1950000000000000 1876052832 fake1 dlrbox hello f8c68792-7d95-4d14-9a84-276a25aba8e4 MT-PUSH 2015-05-18 12:33:35 1950000000000000 1126022293 fake1 dlrbox hello c9f5d10e-861d-48b4-a5ae-c6a743dcff21 MT-PUSH 2015-05-18 12:33:35 1950000000000000 1638362136 fake1 dlrbox hello 202f331a-6c5a-4120-a0de-f20bf71f1da9 MT-PUSH 2015-05-18 12:33:35 1950000000000000 1903556200 fake1 dlrbox hello 0924eb0d-7a98-4e58-9fbe-e549227f93f5 MT-PUSH 2015-05-18 12:33:35 1950000000000000 1156234781 fake1 dlrbox hello a91495f9-f48f-4b2d-8c6b-3b3872bde40b MT-PUSH 2015-05-18 12:33:35 1950000000000000 1039133110 fake1 dlrbox hello d5b14df4-2025-4176-97a6-d8f034d2c024 MT-PUSH 2015-05-18 12:33:35 1950000000000000 1295345287 fake1 dlrbox hello 4) I wanted to remove these messages from the queue using the UUID's. So i tried doing lynx -dump " http://127.0.0.1:13000/remove-message?id=91fc3583-761a-4e1f-8493-3f47a01e628 a " This gave me Denied error 5) Then i tried removing using password http://127.0.0.1:13000/remove-message?id=91fc3583-761a-4e1f-8493-3f47a01e628 a?password=xxxx " Still it gave me error Denied. It should work as its given in Kannel svn-r5114 doc that we can use remove-message command for removing messages. remove-message - Removes the message with the give id (an UUID) from the local storage subsystem. Can someone explain me about how to make this to work. Also please check the following link. https://redmine.kannel.org/issues/567 I want to know is this working i cant find any related documents. Its posted a long time ago so it should be implemented till now. Thanks Kirti