Changeset 12959

Show
Ignore:
Timestamp:
11/14/11 14:18:47 (2 years ago)
Author:
p_lindheimer
Message:

fix syntax errror from last checking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/core/functions.inc.php

    r12958 r12959  
    19751975      $ext->add($context, $exten, '', new ext_gotoif('$["${REC_POLICY_MODE}"="dontcare"]', 'caller')); 
    19761976      // 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')); 
    19781978      // 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 
    19791979      $ext->add($context, $exten, '', new ext_set('CALLER_PRI','${IF($[${LEN(${DB(AMPUSER/${FROMEXTEN}/recording/priority)})}])?"${DB(AMPUSER/${FROMEXTEN}/recording/priority)}":"0"}'));