Package is inherently faulty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kamailio (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On ubuntu 14.04 Trusty, the stable package has bugs.
Ok, these bugs I found
/etc/init.
replace
"status_of_porc" with "status_of_proc -p"
I would submit a patch, but I'm not accustomed
(sorry I'm not accustomed to submitting patches)
Without this fix, service control is messed up..
Furthermore, when using kamctl to start kamailio, it looks for an alternative PID file.
ie.
$ sudo -u kamailio kamctl start
ERROR: PID file /var/run/
a temporary fix:
$ sudo ln -s /var/run/
It would be nice to see symmetry here inherently, rather than having to hack in symlinks like I have.
For a Kamailio config'd to use MYSQL, starting Kamailio at boot time fails. This may be due to Insserv not installed, LSB ignored afaik. Or maybe because mysql package uses Upstart, some kind of sequencing between init.d and upstart not possible. using etc/init.d sequence levels of 99 01 still failed. I had to make an Upstart wrapper so that Kamailio could run at boot-time after mysql.that is attached below.