Changeset 5727
- Timestamp:
- 03/10/08 20:03:28 (4 years ago)
- Files:
-
- modules/branches/2.4/infoservices/functions.inc.php (modified) (2 diffs)
- modules/branches/2.4/infoservices/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/infoservices/functions.inc.php
r4610 r5727 33 33 global $db; 34 34 35 $oxtn = $db->getOne("SELECT value from globals where variable='OPERATOR_XTN'"); //this needs to be here! 36 35 37 $id = "app-directory"; // The context to be included. This must be unique. 36 38 … … 40 42 $ext->add($id, $c, '', new ext_answer('')); 41 43 $ext->add($id, $c, '', new ext_wait('1')); // $cmd,1,Wait(1) 42 $ext->add($id, $c, '', new ext_agi('directory,${DIR-CONTEXT},from-did-direct,${DIRECTORY:0:1}${DIRECTORY_OPTS}'.( !empty($oxtn) ? 'o' : '') )); // AGI44 $ext->add($id, $c, '', new ext_agi('directory,${DIR-CONTEXT},from-did-direct,${DIRECTORY:0:1}${DIRECTORY_OPTS}'.($oxtn != '' ? 'o' : '') )); 43 45 $ext->add($id, $c, '', new ext_playback('vm-goodbye')); // $cmd,n,Playback(vm-goodbye) 44 46 $ext->add($id, $c, '', new ext_hangup('')); // hangup 45 $oxtn = $db->getOne("SELECT value from globals where variable='OPERATOR_XTN'");46 47 if ($oxtn != '') { 47 48 $ext->add($id, 'o', '', new ext_goto('from-internal,${OPERATOR_XTN},1')); modules/branches/2.4/infoservices/module.xml
r5411 r5727 2 2 <rawname>infoservices</rawname> 3 3 <name>Info Services</name> 4 <version>2.4.0 </version>4 <version>2.4.0.1</version> 5 5 <candisable>no</candisable> 6 6 <canuninstall>no</canuninstall> … … 9 9 <description>Provides a number of applications accessable by feature codes: company directory, call trace (last call information), echo test, speaking clock, and speak current extension number.</description> 10 10 <changelog> 11 *2.4.0.1* #2731 fix press 0 for operator in directory 11 12 *2.4.0* bumped for 2.4 12 13 *1.3.5.2* changed categories
