Changeset 7612
- Timestamp:
- 05/02/09 12:52:03 (4 years ago)
- Files:
-
- modules/branches/2.5/core/agi-bin/dialparties.agi (modified) (2 diffs)
- modules/branches/2.5/core/etc/extensions.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/core/agi-bin/dialparties.agi
r6730 r7612 56 56 $cwignore = strtoupper(trim($cwignore)); 57 57 58 // Clear it now so subsequent transfers don't honor it any longer59 //60 if ($cwignore) {61 $AGI->set_variable('__CWIGNORE',"");62 }63 58 $cfignore = get_var( $AGI, "CFIGNORE" ); 64 59 $cfignore = strtoupper(trim($cfignore)); … … 169 164 } 170 165 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 // 170 if ($cwignore && $rgmethod != "ringallv2") { 171 $AGI->set_variable('__CWIGNORE',""); 172 } 173 171 174 // call confirmation only works with ringall and ringall-prim. The javascripts in ringgroups 172 175 // and follow-me should enforce this. If that has been overridden then force ringall. modules/branches/2.5/core/etc/extensions.conf
r7524 r7612 207 207 exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 208 208 209 exten => s,n,Set(CWI_TMP=${CWIGNORE}) 209 210 exten => s,n,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOCALL}) 211 exten => s,n,Set(__CWIGNORE=${CWI_TMP}) 210 212 211 213 exten => s,n,Set(PR_DIALSTATUS=${DIALSTATUS})
