Changeset 6193 for modules/branches/2.5/parking
- Timestamp:
- 07/25/08 22:59:25 (5 years ago)
- Files:
-
- modules/branches/2.5/parking/functions.inc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/parking/functions.inc.php
r6130 r6193 50 50 // Now generate dialplan 51 51 $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')); 52 53 53 54 // If we have an appropriate Asterisk patch, set paraemters for Asterisk … … 64 65 if ($parkalertinfo) { 65 66 $ext->add($contextname, "t", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 67 $ext->add($contextname, "_.", '', new ext_setvar('__ALERT_INFO',str_replace(';', '\;', $parkalertinfo))); 66 68 } 67 69 if ($parkcid) { 68 70 $ext->add($contextname, "t", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 71 $ext->add($contextname, "_.", '', new ext_setvar('CALLERID(name)', $parkcid.'${CALLERID(name)}')); 69 72 } 70 73 } … … 73 76 $parkingannmsg = recordings_get_file($parkingannmsg_id); 74 77 $ext->add($contextname, "t", '', new ext_playback($parkingannmsg)); 78 $ext->add($contextname, "_.", '', new ext_playback($parkingannmsg)); 75 79 } 76 80 // goto the destination here 77 81 // 78 82 $ext->add($contextname, "t", '', new ext_goto($goto)); 83 $ext->add($contextname, "_.", '', new ext_goto($goto)); 79 84 80 85 // Asterisk 1.4 requires hints to be generated for parking
