Changeset 9389 for modules/branches/2.8/fax
- Timestamp:
- 03/25/10 19:38:24 (3 years ago)
- Files:
-
- modules/branches/2.8 (modified) (1 prop)
- modules/branches/2.8/fax/functions.inc.php (modified) (3 diffs)
- modules/branches/2.8/fax/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.8
- Property svnmerge-integrated changed from /modules/branches/2.7:1-9377 to /modules/branches/2.7:1-9388
modules/branches/2.8/fax/functions.inc.php
r9366 r9389 229 229 $ext->add($context, $exten, '', new ext_macro('user-callerid')); // $cmd,n,Macro(user-callerid) 230 230 $ext->add($context, $exten, '', new ext_noop('Receiving Fax for: ${FAX_RX_EMAIL} , From: ${CALLERID(all)}')); 231 $ext->add($context, $exten, 'receivefax', new ext_stopplaytones('')); 231 232 switch ($fax['module']) { 232 233 case 'app_rxfax': 233 $ext->add($context, $exten, ' receivefax', new ext_rxfax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on234 $ext->add($context, $exten, '', new ext_rxfax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on 234 235 break; 235 236 case 'app_fax': … … 237 238 // ReceiveFAX in that case since it will fail anyhow. 238 239 if ($fax['receivefax'] == 'rxfax') { 239 $ext->add($context, $exten, ' receivefax', new ext_rxfax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on240 $ext->add($context, $exten, '', new ext_rxfax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on 240 241 } elseif ($fax['receivefax'] == 'receivefax') { 241 $ext->add($context, $exten, ' receivefax', new ext_receivefax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on242 $ext->add($context, $exten, '', new ext_receivefax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on 242 243 } else { 243 $ext->add($context, $exten, ' receivefax', new ext_noop('ERROR: NO Receive FAX application detected, putting in dialplan for ReceiveFAX as default'));244 $ext->add($context, $exten, '', new ext_noop('ERROR: NO Receive FAX application detected, putting in dialplan for ReceiveFAX as default')); 244 245 $ext->add($context, $exten, '', new ext_receivefax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on 245 246 $ext->add($context, $exten, '', new ext_execif('$["${FAXSTATUS}" = ""]','Set','FAXSTATUS=${IF($["${FAXOPT(error)}" = ""]?"FAILED LICENSE EXCEEDED":"FAILED FAXOPT: error: ${FAXOPT(error)} status: ${FAXOPT(status)} statusstr: ${FAXOPT(statusstr)}")}')); … … 247 248 break; 248 249 case 'res_fax': 249 $ext->add($context, $exten, ' receivefax', new ext_receivefax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on250 $ext->add($context, $exten, '', new ext_receivefax('${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); //recive fax, then email it on 250 251 // Some versions or settings appear to have successful completions continue, so check status and goto hangup code 251 252 $ext->add($context, $exten, '', new ext_execif('$["${FAXOPT(error)}"=""]','Set','FAXSTATUS=FAILED LICENSE EXCEEDED')); modules/branches/2.8/fax/module.xml
r9381 r9389 2 2 <rawname>fax</rawname> 3 3 <name>Fax Configuration</name> 4 <version>2.8.0. 1</version>4 <version>2.8.0.2</version> 5 5 <publisher>Schmoozecom.com</publisher> 6 6 <license>GPLv2+</license> … … 12 12 <description>Adds configurations, options and GUI for inbound faxing</description> 13 13 <changelog> 14 *2.8.0.2* #4166 14 15 *2.8.0.1* #4118 15 16 *2.8.0.0* #4099, #4117, adjust presentation becasue of #1798
