[Bug 695556] Re: Asterisk "locks up" the system when an external process is called from the 'h' extension with a lower priority than Asterisk

Fabian Schmidt 695556 at bugs.launchpad.net
Sat Sep 3 22:24:47 UTC 2011


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
Server Team, which is subscribed to asterisk in 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



More information about the Ubuntu-server-bugs mailing list