The problem always arises if I try to execute a skript in the 'h' extension.
In my case i wanted to sent out an email when somone called and nobody picked
up the phone:
h => {
if ( "${DIALSTATUS}" == "CANCEL" ) {
System(/etc/asterisk/scripts/mail-missed.sh "${CALLERID(name)}"
"${CALLERID(num)}" "${CALLEDNUMBER}");
};
};
This totally locks up my system as the asterisk process gets in a busy loop
until the external process finishes.
Sometimes the system recovers after several minutes with asterisk at 100% cpu
usage, sometimes i have to reboot to regain control of the system.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/695556
Title:
Asterisk "locks up" the system when an external process is called from
the 'h' extension with a lower priority than Asterisk
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asterisk/+bug/695556/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs