The pattern in callme_hangup function is not correct
Before
$chan_pat = ‘/[\s]Local/’ . preg_quote(trim($exten)) . '@from-internal-[a-zA-Z0-9],(1|2)[\s]*/’;
Change
$chan_pat = ‘/[\s]Local/’ . preg_quote(trim($exten)) . '@from-internal-[a-zA-Z0-9];(1|2)[\s]*/’;
can you please file a bug on that and indicate what version of FreePBX you are running.
Also, if you know, can you indicate in the bug report if the current version is correct for Asterisk 1.4 or not - is this just a 1.6+ change in format?