asterisk-config is running asterisk_fix from package asterisk.
diego.iastrubni at xorcom.com
Wed Jul 19 08:51:34 UTC 2006
Just for anyone who fails to understand the "asterisk_fix" hack we did, I will
try to explain it briefly:
We found that there are several package which need to make the initial setups
on the systems (asterisk, asterisk-config, asterisk-config-freepbx... etc).
The way it was done before, was having the same code in every package that
had to mess with asterisk, sometimes by copying code from one postinst script
The solution we found, is having this code inside a special script, and every
postinst package would call it (if it exists). This script is part of the
package asterisk. This means that the main package (asterisk) is no longer a
virtual package and does provide some "code" (the init scripts, the default
config, see the code for more details).
The asterisk_fix script creates the asterisk user and group, and chmods all
the needed directories. The script has been coded in such way that
(hopefully) it will not mess a system by being run twice in a row. In
practice, it will be run several time (asterisk-config.postinst and then
There are some problems with this code, but they will be fixed soon,
hopefully... anyway, if anyone knows a better solution, please shout.
On Tuesday 18 July 2006 15:46, Thiago Martins wrote:
More information about the Pkg-voip-maintainers