Changeset 6318
- Timestamp:
- 08/10/08 14:32:04 (5 years ago)
- Files:
-
- modules/branches/2.5/core/etc/extensions.conf (modified) (1 diff)
- modules/branches/2.5/findmefollow/functions.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/core/etc/extensions.conf
r6291 r6318 513 513 ;------------------------------------------------------------------------ 514 514 [macro-simple-dial] 515 exten => s,1,Macro(user-callerid,SKIPTTL) ; already called from follow-me 516 exten => s,n,Set(EXTTOCALL=${ARG1}) 515 exten => s,1,Set(EXTTOCALL=${ARG1}) 517 516 exten => s,n,Set(RT=${ARG2}) 518 517 exten => s,n,Set(CFUEXT=${DB(CFU/${EXTTOCALL})}) 519 518 exten => s,n,Set(CFBEXT=${DB(CFB/${EXTTOCALL})}) 520 exten => s,n,Macro(record-enable,${EXTTOCALL},IN)521 519 522 520 exten => s,n,Macro(dial,${RT},${DIAL_OPTIONS},${EXTTOCALL}) modules/branches/2.5/findmefollow/functions.inc.php
r6158 r6318 105 105 $ext->add($contextname, $grpnum, '', new ext_setvar('CALLERID(name)','${RGPREFIX}${CALLERID(name)}')); 106 106 } 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}')); 107 110 108 111 // MODIFIED (PL) … … 122 125 } 123 126 124 // recording stuff125 $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 128 127 // group dial 129 $ext->add($contextname, $grpnum, ' ', new ext_setvar('RingGroupMethod',$strategy));128 $ext->add($contextname, $grpnum, 'skipsimple', new ext_setvar('RingGroupMethod',$strategy)); 130 129 $ext->add($contextname, $grpnum, '', new ext_setvar('_FMGRP',$grpnum)); 131 130 if ((isset($annmsg_id) ? $annmsg_id : '')) { … … 461 460 //$ext->add($id, $c, '', new ext_setvar('DEVSTATE(Custom:FOLLOWME${AMPUSER})', 'NOT_INUSE')); 462 461 } 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')); 465 464 466 465 $ext->add($id, $c, 'activate', new ext_setvar('DB(AMPUSER/${AMPUSER}/followme/ddial)', 'DIRECT'));
