Changeset 7612

Show
Ignore:
Timestamp:
05/02/09 09:52:03 (1 year ago)
Author:
p_lindheimer
Message:

fixes #3653 Skip Busy Agent ignored in some Follow-Me configurations under a queue

Files:

Legend:

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

    r6730 r7612  
    5656$cwignore    = strtoupper(trim($cwignore)); 
    5757 
    58 // Clear it now so subsequent transfers don't honor it any longer 
    59 // 
    60 if ($cwignore) { 
    61         $AGI->set_variable('__CWIGNORE',""); 
    62 } 
    6358$cfignore    = get_var( $AGI, "CFIGNORE" ); 
    6459$cfignore    = strtoupper(trim($cfignore)); 
     
    169164} 
    170165 
     166// Clear it now so subsequent transfers don't honor it any longer 
     167// unless it's a ringallv2 in which case it is going to got though 
     168// another level of local channels 
     169// 
     170if ($cwignore && $rgmethod != "ringallv2") { 
     171        $AGI->set_variable('__CWIGNORE',""); 
     172} 
     173 
    171174// call confirmation only works with ringall and ringall-prim. The javascripts in ringgroups 
    172175// and follow-me should enforce this. If that has been overridden then force ringall. 
  • modules/branches/2.5/core/etc/extensions.conf

    r7524 r7612  
    207207exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 
    208208 
     209exten => s,n,Set(CWI_TMP=${CWIGNORE}) 
    209210exten => s,n,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOCALL}) 
     211exten => s,n,Set(__CWIGNORE=${CWI_TMP}) 
    210212 
    211213exten => s,n,Set(PR_DIALSTATUS=${DIALSTATUS})