Wake-up calls do not work properly anymore

Hello!

Wake-up calls used to work, but after running distort updates and various things, wake-up calls have been broken.

What can I do?

I figured it out…

You must edit the script at /var/lib/asterisk/agi-bin/wakeup and change the following line:

if(empty($number) || strlen($number) < $config[‘extensionlength’])

to

if(empty($number) || strlen($number) > $config[‘extensionlength’])

The script was performing the wrong size check.