[Asterisk-Users] RxFax/spandsp: file-naming of received faxes

Nicolas Gudino nicolas at house.com.ar
Sun Mar 28 06:21:48 MST 2004


Hi Jan,

Try this:

exten => _3XX,1,SetVar(FAXFILE=/tmp/faxfor-${EXTEN}-${TIMESTAMP}.tif)
exten => _3XX,2,rxfax(${FAXFILE})

Good luck,

----- Original Message ----- 
From: "Jan Baumann" <asterisk at cyberways.net>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, March 28, 2004 7:09 AM
Subject: [Asterisk-Users] RxFax/spandsp: file-naming of received faxes


> after successfully having installed RxFax/SpanDSP and some promising tests
> (great piece of software, Steve!) I wonder if it is possible to avoid
> overwriting the same tiff file over and over again.
>
> Browsing the sourcecode of app_rxfax.c I found a magic '%d' flag being
parsed
> out from the argument of rxfax(), but didn't manage to make that work.
>
> extensions.conf:
> exten => _3XX,1,rxfax(/tmp/faxfor-${EXTEN}-%d.tif)




More information about the asterisk-users mailing list