Changeset 9066
- Timestamp:
- 03/01/10 20:47:03 (3 years ago)
- Files:
-
- modules/branches/2.7/fax/functions.inc.php (modified) (1 diff)
- modules/branches/2.7/fax/module.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.7/fax/functions.inc.php
r8924 r9066 266 266 $exten = 'h'; 267 267 $ext->add($context, $exten, '', new ext_gotoif('$["${FAXSTATUS:0:6}" = "FAILED"]', 'failed')); 268 $ext->add($context, $exten, 'process', new ext_execif('$["${FAX_RX_EMAIL}" != ""]','system','${ASTVARLIBDIR}/bin/fax-process.pl --to ${FAX_RX_EMAIL} --from "'.$sender_address['0'].'" --dest "${FROM_DID}" --subject "New fax from ${URIENCODE(${CALLERID(name)})} ${URIENCODE(<${CALLERID(number)}>)}" --attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type application/pdf --file ${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); 268 $ext->add($context, $exten, 'process', new ext_gotoif('$["${FAX_RX_EMAIL}" = ""]','end')); 269 $ext->add($context, $exten, '', new ext_system('${ASTVARLIBDIR}/bin/fax-process.pl --to ${FAX_RX_EMAIL} --from "'.$sender_address['0'].'" --dest "${FROM_DID}" --subject "New fax from ${URIENCODE(${CALLERID(name)})} ${URIENCODE(<${CALLERID(number)}>)}" --attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type application/pdf --file ${ASTSPOOLDIR}/fax/${UNIQUEID}.tif')); 269 270 270 271 $ext->add($context, $exten, 'end', new ext_macro('hangupcall')); modules/branches/2.7/fax/module.xml
r9054 r9066 2 2 <rawname>fax</rawname> 3 3 <name>Fax Configuration</name> 4 <version>2.7.0.1 4</version>4 <version>2.7.0.15</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.7.0.15* #4096 (workaround for Asterisk bug in 1.6.2) 14 15 *2.7.0.14* #4090 15 16 *2.7.0.13* localizations
