magnus.b at inputinterior.se
2011-Jan-28 07:27 UTC
[asterisk-users] SendFAX dialplan example
Hi! I am playing with SendFAX but cant really figure out how it is working. I have a ?fax? /var/spool/asterisk/tmp/fax.tiff that i would like to send to a ?physical? fax at numer 0317998901. Can some1 write me a simple dialplan that just ?grab? the file and send it to 0317998901? /Magnus -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110128/297dd66b/attachment.htm>
Hello, you have to use a callfile http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out Create a callfile, for example test.txt, on /tmp directory: Channel: SIP/providerVoIP/0317998901 Callerid: "FAX" WaitTime: 30 Maxretries:3 RetryTime: 300 Account: 1000 Application: SendFax Data: /var/spool/asterisk/tmp/fax.tiff Then move the file to /var/spool/asterisk/outgoing mv /tmp/test.txt /var/spool/asterisk/outgoing and look at Asterisk Console. Regards - Andrea -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110128/5518a0e3/attachment.htm>