Show
Ignore:
Timestamp:
07/25/08 22:59:25 (5 years ago)
Author:
p_lindheimer
Message:

fixes #2718 orphaned call destination not working when call gets orphaned

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/parking/functions.inc.php

    r6130 r6193  
    5050      // Now generate dialplan 
    5151      $ext->add($contextname, "t", '', new ext_noop('Parked Call Timed Out and Got Orphaned')); 
     52      $ext->add($contextname, "_.", '', new ext_noop('Parked Call Timed Out and Got Orphaned')); 
    5253 
    5354      // If we have an appropriate Asterisk patch, set paraemters for Asterisk 
     
    6465        if ($parkalertinfo) { 
    6566          $ext->add($contextname, "t", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 
     67          $ext->add($contextname, "_.", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 
    6668        } 
    6769        if ($parkcid) { 
    6870          $ext->add($contextname, "t", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 
     71          $ext->add($contextname, "_.", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 
    6972        } 
    7073      } 
     
    7376        $parkingannmsg = recordings_get_file($parkingannmsg_id); 
    7477        $ext->add($contextname, "t", '', new ext_playback($parkingannmsg)); 
     78        $ext->add($contextname, "_.", '', new ext_playback($parkingannmsg)); 
    7579      } 
    7680      // goto the destination here 
    7781      // 
    7882      $ext->add($contextname, "t", '', new ext_goto($goto)); 
     83      $ext->add($contextname, "_.", '', new ext_goto($goto)); 
    7984 
    8085      // Asterisk 1.4 requires hints to be generated for parking