Startup mode for SMSC’s

When you start Kannel, it attempts to start all the configured SMSC binds. While this is usually what most people needs, there might be some cases when you don’t want all your binds to come up at once:

  • Failover routes that you manually enable when needed.
  • New binds being worked out, not ready for production.
  • Test binds you use only from time to time.
  • Etc.

This patch allows you to configure in which state a bind will start when booting (or when adding it with the add-smsc command). This is done by a new parameter on the smsc group called start-at-boot, which defaults to true if not present.

In short: just add the following line to an smsc group:

start-at-boot = false

and that smsc will start as “dead” and will require a start-smsc command to activate it.

Download the patch from here.

As usual, this is fairly untested code and should be used with caution.

Please try it and let me know if you encounter any issues.

Alex

Comments (1)

AghbariFebruary 19th, 2012 at 2:41 pm

Hi Alex,

Now Kannel and SQLBox are working well together with me…Thanks.

I need a piece of advice on MySQL pooling and number of connections and other configuration.
I am about to broadcast a service short code and worrying about load on DB.

Thanks

Leave a comment

Your comment