Changeset 9096
- Timestamp:
- 03/08/10 10:16:47 (2 years ago)
- Files:
-
- modules/branches/2.7/core/functions.inc.php (modified) (2 diffs)
- modules/branches/2.7/core/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.7/core/functions.inc.php
r9065 r9096 1499 1499 $ext->add($context, $exten, 'Group', new ext_set('LOOPCNT','${FIELDQTY(ARG1,-)}')); 1500 1500 $ext->add($context, $exten, '', new ext_set('ITER','1')); 1501 $ext->add($context, $exten, 'begin', new ext_set('RECSET','"${DB(AMPUSER/${CUT(ARG1,-,${ITER})}/recording)}"')); 1502 $ext->add($context, $exten, '', new ext_gotoif('$["${RECSET}"="" | "${CUT(RECSET,\\\\\|,2):3}" != "Always"]', 'continue')); 1503 $ext->add($context, $exten, '', new ext_set('TEXTEN','${CUT(ARG1,-,${ITER})')); 1501 $ext->add($context, $exten, 'begin', new ext_gotoif('$["${CUT(DB(AMPUSER/${CUT(ARG1,-,${ITER})}/recording),=,3)}" != "Always"]', 'continue')); 1502 $ext->add($context, $exten, '', new ext_set('TEXTEN','${CUT(ARG1,-,${ITER})}')); 1504 1503 $ext->add($context, $exten, '', new ext_noop('Recording enable for ${TEXTEN}')); 1505 1504 $ext->add($context, $exten, '', new ext_set('CALLFILENAME','g${TEXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}')); … … 1539 1538 // 1540 1539 if ($pri_noop) { 1541 $ext->add($outrt['application'], $exten['extension'], '', new ext_noop('Macro(user-callerid): executed in outbound-allroutes PRI 1')); 1540 // This will not get called, but it fixes some things like custom-context or other possible custom uses of these 1541 // generated contexts that don't have an 'outbound-allroutes' wrapper around them, of course in those cases the 1542 // CID part of the dialplan will not get executed 1543 $ext->add($outrt['application'], $exten['extension'], '', new ext_macro('user-callerid,SKIPTTL')); 1542 1544 $pri_noop = false; 1543 1545 } modules/branches/2.7/core/module.xml
r9067 r9096 4 4 <category>Basic</category> 5 5 <name>Core</name> 6 <version>2.7.0. 2</version>6 <version>2.7.0.3</version> 7 7 <publisher>FreePBX</publisher> 8 8 <license>GPLv2+</license> … … 10 10 <canuninstall>no</canuninstall> 11 11 <changelog> 12 *2.7.0.3* #4100, #4102 12 13 *2.7.0.2* really fix #4092 13 14 *2.7.0.1* #4093, #4094, #4095, #4092
