Am 21.10.2012 01:30, schrieb Stipe Tolj:

We split the md5 hash into 2 parts, one is for the pure "logical
connection", hence incorporating the host, port, username, password, any
SMSC relevant options etc. The other one are the "routing parameters" of
bearerbox, so, allowed-smsc-id, denied-smsc-id, etc.

This allows us to detect if the "logical connection setup" changed,
or/and the "routing setup". If it is "only" the routing setup, then we
can "move in" the new values from the reloaded group, rather then really
having to shutdown, destroy, create the smsc instance again.

ok, implemented this too, now we can change routing relevant config directives in a 'group = smsc' context, without having the connection to shutdown and restart.

If any values other then the routing relevant are changed, we will enforce a shutdown and restart.

The latest patchset is at URL:

http://www.kannel.org/~tolj/patchsets/graceful/gateway-graceful-restart.v3.diff

Stipe

--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to