Re: [PATCH] http admin commands

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <000701c9ff08$6b4958c0$02b2a8c0@tardis>
Hi Alex M,

IMHO any service (aka server, gateway) in any serious installation, should be able to run uninterruptible. This includes dynamic  reconfiguration. While this step doesn't cover all bases, it certainly is in the right direction. Is there any benefit in forcing service unavailability?

BR,
Nikos

----- Original Message ----- 
  From: Alexander Malysh 
  To: Alejandro Guerrieri 
  Cc: Kannel Devel 
  Sent: Tuesday, July 07, 2009 4:13 PM
  Subject: Re: [PATCH] http admin commands


  Hi Alex,


  patch looks ok but I don't really see why you should be unable to restart the whole bearerbox...
  and I think reload should work for all bearerbox parts...


  therefore I'm +0 for this patch.


  Thanks,
  Alex


  Am 07.07.2009 um 08:14 schrieb Alejandro Guerrieri:


    This patch improves the http-based admin commands and fixes some quirks:


    1. It adds 2 new commands: add-smsc and remove-smsc that allows for dynamic adding/removing of smsc's without restarting kannel nor any other smsc bind.


    2. start-smsc now reloads the smsc list from the config file, so you can stop-smsc and then start-smsc to reload the configuration. The only caveat is: do not change the id or admin-id (in that case you'll have to remove-smsc with the old id/admin-id and add-smsc with the new one instead).


    3. Fixes a bug on stop-smsc and start-smsc. Before, you could start/stop non-existant smsc's, and despite the request would be ignored, the interface would say that the smsc was stopped/started. Now it will return an error and log the reason.


    4. Fixes a bug on the id/admin-id functionality when stopping/starting a group with 2 or more entries with the same id and different admin-id's. Before, the list would get corrupted when trying to start again, now it works as expected.


    Userguide patch coming soon :)


    Please review in the meantime.


    Regards,
    --
    Alejandro Guerrieri
    [email protected]




    <kannel-http-admin.patch.zip>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.