Changeset 6318

Show
Ignore:
Timestamp:
08/10/08 14:32:04 (5 years ago)
Author:
p_lindheimer
Message:

fixes #3029 remove call to macro-user-callerid from macro-simple-dial, also removes extra call to recordingcheck agi script which helps performance

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/core/etc/extensions.conf

    r6291 r6318  
    513513;------------------------------------------------------------------------ 
    514514[macro-simple-dial] 
    515 exten => s,1,Macro(user-callerid,SKIPTTL) ; already called from follow-me 
    516 exten => s,n,Set(EXTTOCALL=${ARG1}) 
     515exten => s,1,Set(EXTTOCALL=${ARG1}) 
    517516exten => s,n,Set(RT=${ARG2}) 
    518517exten => s,n,Set(CFUEXT=${DB(CFU/${EXTTOCALL})}) 
    519518exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 
    520 exten => s,n,Macro(record-enable,${EXTTOCALL},IN) 
    521519 
    522520exten => s,n,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOCALL}) 
  • modules/branches/2.5/findmefollow/functions.inc.php

    r6158 r6318  
    105105            $ext->add($contextname, $grpnum, '', new ext_setvar('CALLERID(name)','${RGPREFIX}${CALLERID(name)}')); 
    106106          } 
     107          // recording stuff 
     108          $ext->add($contextname, $grpnum, '', new ext_setvar('RecordMethod','Group')); 
     109          $ext->add($contextname, $grpnum, '', new ext_macro('record-enable','${DB(AMPUSER/'."$grpnum/followme/grplist)}".',${RecordMethod}')); 
    107110 
    108111          // MODIFIED (PL) 
     
    122125          } 
    123126 
    124           // recording stuff 
    125           $ext->add($contextname, $grpnum, 'skipsimple', new ext_setvar('RecordMethod','Group')); 
    126           $ext->add($contextname, $grpnum, '', new ext_macro('record-enable','${DB(AMPUSER/'."$grpnum/followme/grplist)}".',${RecordMethod}')); 
    127  
    128127          // group dial 
    129           $ext->add($contextname, $grpnum, '', new ext_setvar('RingGroupMethod',$strategy)); 
     128          $ext->add($contextname, $grpnum, 'skipsimple', new ext_setvar('RingGroupMethod',$strategy)); 
    130129          $ext->add($contextname, $grpnum, '', new ext_setvar('_FMGRP',$grpnum)); 
    131130          if ((isset($annmsg_id) ? $annmsg_id : '')) { 
     
    461460    //$ext->add($id, $c, '', new ext_setvar('DEVSTATE(Custom:FOLLOWME${AMPUSER})', 'NOT_INUSE')); 
    462461  } 
    463   $ext->add($id, $c, 'end', new ext_playback('followme&de-activated')); 
    464   $ext->add($id, $c, '', new ext_macro('hangupcall')); 
     462  $ext->add($id, $c, '', new ext_playback('followme&de-activated')); 
     463  $ext->add($id, $c, 'end', new ext_macro('hangupcall')); 
    465464 
    466465  $ext->add($id, $c, 'activate', new ext_setvar('DB(AMPUSER/${AMPUSER}/followme/ddial)', 'DIRECT'));