Quoting Kalle Niemitalo (2015-07-29 17:42:11) > Jonas Smedegaard <d...@jones.dk> writes: > >> Might make sense to then split into multiple binary packages, one for >> each daemon, but that could be done as a separate step later. > > Separating the daemons to different packages seems a bit risky > because, if the versions of smsbox and bearerbox do not match and > gw/msg-decl.h has been changed between the versions, then the boxes > will not be able to parse the messages sent by each other. So you > might have to set up versioned dependencies. > > OTOH it is already possible, and perhaps even typical, to run the > boxes on different computers, in which case package dependencies > cannot prevent version mismatches. And if the administrator searches > the Web for "Msg packet was invalid.", then it'll be pretty clear that > a version mismatch is the likely reason. So the risk doesn't seem too > bad.
In my opinion kannel-bearerbox should recommend (but not depend on) kannel-smsbox and suggest kannel-wapbox - exactly to allow running from separate machines. > I suppose it could be helpful to explicitly check the version at the > beginning of each connection and log an error blaming the > administrator, but that would be an upstream issue. I don't know if Kannel not already spits out sensible errors in log messages, but if not then yes, that's a good suggestion to pass upstream. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature