Changeset 2151
- Timestamp:
- 07/25/06 05:33:34 (7 years ago)
- Files:
-
- modules/branches/2.2/ivr/functions.inc.php (modified) (2 diffs)
- modules/branches/2.2/ivr/module.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.2/ivr/functions.inc.php
r1936 r2151 140 140 // Make it a config option, possibly? 141 141 // $ext->addInclude($item[0],'app-messagecenter'); 142 if (!empty($details['enable_directory'])) 142 if (!empty($details['enable_directory'])) { 143 143 $ext->addInclude($id,'app-directory'); 144 144 $dir = featurecodes_getFeatureCode('infoservices', 'directory'); 145 $ext->add($id, '#', '', new ext_goto("app-directory,$dir,1")); 146 } 147 145 148 $ext->add($id, 'h', '', new ext_hangup('')); 146 149 $ext->add($id, 's', '', new ext_setvar('LOOPCOUNT', 0)); … … 151 154 $ext->add($id, 's', '', new ext_responsetimeout($details['timeout'])); 152 155 if ($announcement != '') 153 $ext->add($id, 's', '', new ext_background($announcement));156 $ext->add($id, 's', '', new ext_background($announcement)); 154 157 $ext->add($id, 'hang', '', new ext_playback('vm-goodbye')); 155 158 $ext->add($id, 'hang', '', new ext_hangup('')); modules/branches/2.2/ivr/module.xml
r1937 r2151 2 2 <rawname>ivr</rawname> 3 3 <name>IVR</name> 4 <version>2. 2.6</version>4 <version>2.3</version> 5 5 <type>setup</type> 6 6 <category>Module</category>
