Changeset 2000

Show
Ignore:
Timestamp:
06/03/06 07:42:17 (2 years ago)
Author:
mheydon1973
Message:

Call trace info now only stored if is actually a number, not 100% sure this is right to change this really however calltrace-perform will fall over on SayDigits?() if it's not a number!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/agi-bin/dialparties.agi

    r1893 r2000  
    233233                        if ((strpos($k,"#")==0) && (($rgmethod != "hunt") && ($rgmethod != "memoryhunt")) ) 
    234234                        { 
    235                                 if (isset($cidnum)
     235                                if ( isset($cidnum) && is_numeric($cidnum)
    236236                                { 
    237237                                        $rc = $AGI->database_put('CALLTRACE', $k, $cidnum); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads