Changeset 12959
- Timestamp:
- 11/14/11 14:18:47 (2 years ago)
- Files:
-
- modules/branches/2.10/core/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/core/functions.inc.php
r12958 r12959 1975 1975 $ext->add($context, $exten, '', new ext_gotoif('$["${REC_POLICY_MODE}"="dontcare"]', 'caller')); 1976 1976 // If FROM_DID is set it's external so it's always the callee policy that rules 1977 $ext->add($context, $exten, '', new ext_gotoif('$["${DB(AMPUSER/${FROMEXTEN}/recording/out/internal)}"="dontcare" | $["${FROM_DID}"!=""]', 'callee'));1977 $ext->add($context, $exten, '', new ext_gotoif('$["${DB(AMPUSER/${FROMEXTEN}/recording/out/internal)}"="dontcare" | "${FROM_DID}"!=""]', 'callee')); 1978 1978 // the IF funciton does not like nulls so sourrond with quotes, if this ends up breaking the priority check below then we need to tweak, could be 2 layered quotes 1979 1979 $ext->add($context, $exten, '', new ext_set('CALLER_PRI','${IF($[${LEN(${DB(AMPUSER/${FROMEXTEN}/recording/priority)})}])?"${DB(AMPUSER/${FROMEXTEN}/recording/priority)}":"0"}'));
