Changeset 6730

Show
Ignore:
Timestamp:
09/15/08 23:30:55 (5 years ago)
Author:
p_lindheimer
Message:

fixes #3200 clear CWIGNORE in dialparties, also make it infinitley inheritable at the outset as some follow-me's under a queue were not working

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/core/agi-bin/dialparties.agi

    r6596 r6730  
    5555$cwignore    = get_var( $AGI, "CWIGNORE" ); 
    5656$cwignore    = strtoupper(trim($cwignore)); 
     57 
     58// Clear it now so subsequent transfers don't honor it any longer 
     59// 
     60if ($cwignore) { 
     61  $AGI->set_variable('__CWIGNORE',""); 
     62} 
    5763$cfignore    = get_var( $AGI, "CFIGNORE" ); 
    5864$cfignore    = strtoupper(trim($cfignore)); 
  • modules/branches/2.5/core/functions.inc.php

    r6705 r6730  
    14081408      $exten = 's'; 
    14091409      $ext->add($context, $exten, '', new ext_setvar('__MACRO_RESULT','')); 
    1410       $ext->add($context, $exten, '', new ext_setvar('__CWIGNORE','')); 
    14111410      $ext->add($context, $exten, '', new ext_dbdel('${BLKVM_OVERRIDE}')); 
    14121411      $ext->add($context, $exten, '', new ext_dbdel('RG/${ARG1}/${UNIQCHAN}')); 
     
    14261425      $exten = 's'; 
    14271426      $ext->add($context, $exten, '', new ext_setvar('__MACRO_RESULT','')); 
    1428       $ext->add($context, $exten, '', new ext_setvar('__CWIGNORE','')); 
    14291427      $ext->add($context, $exten, '', new ext_dbdel('${BLKVM_OVERRIDE}')); 
    14301428       
  • modules/branches/2.5/queues/functions.inc.php

    r6655 r6730  
    321321          // stalling the ACD. 
    322322          if ($q['cwignore']) { 
    323             $ext->add('ext-queues', $exten, '', new ext_setvar('_CWIGNORE', 'TRUE')); 
     323            $ext->add('ext-queues', $exten, '', new ext_setvar('__CWIGNORE', 'TRUE')); 
    324324          } 
    325325          $agentannounce_id = (isset($q['agentannounce_id'])?$q['agentannounce_id']:''); 
  • modules/branches/2.5/ringgroups/functions.inc.php

    r6592 r6730  
    137137          } 
    138138          if ($cwignore != '') { 
    139             $ext->add($contextname, $grpnum, '', new ext_setvar('_CWIGNORE', 'TRUE')); 
     139            $ext->add($contextname, $grpnum, '', new ext_setvar('__CWIGNORE', 'TRUE')); 
    140140          } 
    141141          if ($cwignore != '') {