Go to https://github.com/IssabelFoundation/issabel/issues Login and click on new issue. Basically to work they or you need to add in either: macro-user-callerid or macro-parked-call a bunch of SET commands to populate the following vars in the PHP script(the variables are the ones between quotes):
$pickupExten = getVariable($channel, "PICKUP_EXTEN");
$callFileName = getVariable($channel, "CALLFILENAME");
$thisExtension = getVariable($channel, "THISEXTEN");
$realCallerIdNum = getVariable($channel, "REALCALLERIDNUM");
$fromExten = getVariable($channel, "FROMEXTEN");
$mixMonDir = getVariable($channel, "MIXMON_DIR");
$year = getVariable($channel, "YEAR");
$month = getVariable($channel, "MONTH");
$day = getVariable($channel, "DAY");
$mixMonFormat = getVariable($channel, "MIXMON_FORMAT");
$mixMonPost = getVariable($channel, "MIXMON_POST");
Most of it is defined in the sub-record-check context.