Changeset 10160

Show
Ignore:
Timestamp:
07/15/10 18:46:20 (3 years ago)
Author:
p_lindheimer
Message:

fixes #4444 macro-dial-one not handling ALERT_INFO properly

Files:

Legend:

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

    r10103 r10160  
    30743074        //TODO: do we need to check for anything beyond auto-blkvm in this call path? 
    30753075        $ext->add($mcontext,$exten,'skiptrace', new ext_set('D_OPTIONS', '${IF($["${NODEST}"!="" & ${REGEX("(M[(]auto-blkvm[)])" ${ARG2})} != 1]?${ARG2}M(auto-blkvm):${ARG2})}')); 
    3076         $ext->add($mcontext,$exten,'', new ext_execif('$["${ALERT_INFO}"!=""]', 'SIPAddHeader', 'Alert-Info: ${CUT(ALERT_INFO,:,2-)}')); 
     3076        $ext->add($mcontext,$exten,'', new ext_execif('$["${ALERT_INFO}"!=""]', 'SIPAddHeader', 'Alert-Info: ${ALERT_INFO}')); 
    30773077        //TODO: Do I need to  re-propagage anything from ${SIPADDHEADER} ? 
    30783078        $ext->add($mcontext,$exten,'', new ext_execif('$["${SIPADDHEADER}"!=""]', 'SIPAddHeader', '${SIPADDHEADER}'));