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.
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.