On Thu, 2005-10-13 at 10:45 +0200, Coufal Bohuslav wrote:
> Hi,
> 
> when I try to send fax by example in README I got nothing. On asterisk 
> console 
> i saw this:
> 
>     -- Attempting call on Zap/4/585228796 for application 
> txfax(/tmp/ast_fax-1129192102.10240.1804289383.0|caller) (Retry 1)
>        > Channel Zap/4-1 was answered.
>        > Launching txfax(/tmp/ast_fax-1129192102.10240.1804289383.0|caller) 
> on 
> Zap/4-1
> 
>     -- Hungup 'Zap/4-1'
> 

http://soft-switch.org/installing-spandsp.html
When sending a fax it is more likely you will be calling out to the
remote FAX machine. In this case, make your Asterisk call the far FAX
machine, and when it answers do: 
        exten => 1234567,1,txfax(/home/steveu/testfax.tif|caller)
The addition of "|caller" will make txfax act as a calling machine,
rather than an answering machine.


This seems ti imply that txfax() doesnt actually dial anything, you have
to do that elsewhere, I suggest you use the outgoing spool directory and
place (mv not cp) a file in there.

Channel: Zap/1/5551212
Maxretries: 0
Waittime: 20
Application: txfax
Data: /tmp/fax.tiff|caller


This will cause asterisk to call on Zap/1 and dial the number 5551212,
when that answers it will call txfax and pass it the path to the fax
file and caller (so it acts like a caller not a server/answering
endpoint).


-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to