Displaying 1 result from an estimated 1 matches for "fonetast".
Did you mean:
fonetastic
2006 Jun 13
1
calleridname.agi patch to only overwrite name if it is missing
...t;CALLERID IS: $calleridfull\n");
+$AGI->verbose("CALLERID IS: $calleridfull\n");
+$AGI->verbose("CALLERID Name IS: $calleridname\n");
if ($callerid =~ /^(\d{3})(\d{3})(\d{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>\"&qu...