Changeset 7570 for modules

Show
Ignore:
Timestamp:
04/01/09 22:35:26 (4 years ago)
Author:
ethans
Message:

Strange, saw a system that had CID number set to Unknown. Added a conditional to the dialplan to accomodate.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/blacklist/functions.inc.php

    r7568 r7570  
    3434          // LookupBlackList doesn't seem to match empty astdb entry for "blacklist/", so we  
    3535          // need to check for the setting and if set, send to the blacklisted area 
     36          // The gotoif below is not a typo.  For some reason, we've seen the CID number set to Unknown 
     37                      $ext->add($id, $c, '', new ext_gotoif('$["${CALLERID(number)}" = "Unknown"]','check-blocked')); 
    3638                      $ext->add($id, $c, '', new ext_gotoif('$["${CALLERID(number)}" = ""]','check-blocked','check')); 
    3739                      $ext->add($id, $c, 'check-blocked', new ext_gotoif('$["${DB(blacklist/blocked)}" = "1"]','blacklisted'));