Changeset 8700
- Timestamp:
- 01/28/10 02:28:31 (3 years ago)
- Files:
-
- modules/branches/2.7/fax/functions.inc.php (modified) (2 diffs)
- modules/branches/2.7/ivr/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.7/fax/functions.inc.php
r8693 r8700 198 198 $ext->add('ext-did-0001', 'fax', '', new ext_goto('${FAX_DEST}')); 199 199 $ext->add('ext-did-0002', 'fax', '', new ext_goto('${FAX_DEST}')); 200 201 // Add fax extension to ivr and announcement as inbound controle may be passed quickly to them and still detection is desired 202 if (function_exists('ivr_list')) { 203 $ivrlist = ivr_list(); 204 if(is_array($ivrlist)) foreach($ivrlist as $item) { 205 $ext->add("ivr-".$item['ivr_id'], 'fax', '', new ext_goto('${FAX_DEST}')); 206 } 207 } 208 if (function_exists('announcement_list')) foreach (announcement_list() as $row) { 209 $ext->add('app-announcement-'.$row['announcement_id'], 'fax', '', new ext_goto('${FAX_DEST}')); 210 } 211 200 212 //write out res_fax.conf and res_fax_digium.conf 201 213 fax_write_conf(); … … 204 216 $context='ext-fax-legacy'; 205 217 $exten = 's'; 218 $ext->add($context, $exten, '', new ext_macro('user-callerid')); // $cmd,n,Macro(user-callerid) 206 219 $ext->add($context, $exten, '', new ext_noop('Receiving Fax for: ${FAX_RX_EMAIL} , From: ${CALLERID(all)}')); 207 220 if ($fax['module'] == 'spandsp') { modules/branches/2.7/ivr/functions.inc.php
r8100 r8700 314 314 $ext->add($id, 'return', '', new ext_goto($id.',s,begin')); 315 315 } 316 $ext->add($id, 'fax', '', new ext_goto('ext-fax,in_fax,1'));317 316 } 318 317 }
