Displaying 1 result from an estimated 1 matches for "fonetastic_lookup".
2006 Jun 13
1
calleridname.agi patch to only overwrite name if it is missing
...{4})$/) {
$npa = $1;
@@ -54,7 +56,7 @@
#$nxx='892';
#$station='8019';
-if ($Fonetastic > '0') {
+if (($Fonetastic > '0') && ($calleridname != 'unknown')){
$AGI->verbose("Ready for Fonetastic.US lookup... \n");
if ($name = &fonetastic_lookup ($npa, $nxx)) {
$newcallerid = "\"$name <$npa$nxx$station>\"";
@@ -68,7 +70,7 @@
$AGI->verbose("Fonetastic.US lookup disabled.");
}
-if ($AnyWho > '0') {
+if (($AnyWho > '0') && ($calleridname != 'unknown')){
$AGI-&g...