Displaying 1 result from an estimated 1 matches for "phonespamfilter".
2010 Apr 04
1
[OT] phpagi help
...$agi->database_get("blacklist", "$cidnum");
if ($r["result"] == 1)
{
$agi->verbose("Call blocked by blacklist.");
$agi->exec('Set','CDR(userfield)="Blocked call by blacklist"');
$agi->set_variable("PHONESPAMFILTER", "2");
} else {
exit(0);
}
Any ideas ? I have tried searching and looked at some examples and my syntax looks correct ?
--
Thanks, Phil