Excellent, Michiel! This works :) You know what kind of file it is created (SFF)? Can you send to me the example faxreceive.php? Thanks and best regards! PS.
2006/11/7, Michiel van Baak <[EMAIL PROTECTED]>:
On 15:03, Tue 07 Nov 06, Pedro Silva wrote: > Hello, > > Anyone knows if chan_capi-0.7.1 includes the patch to support capiAnswerFax? > I tried to apply this patch (from http://www.mlkj.net/asterisk/) but > it give me errors... > Also i tried define one extension for fax receptions but this dont works: > exten => 1,1,Goto(handle_fax,s,1) > exten => fax,1,Goto(handle_fax,s,1) > > [handle_fax] > exten => s,1,capiAnswerFax(/tmp/${UNIQUEID}) > exten => s,2,Hangup() > > With this code, a fax call to DID 1 must be attended and the fax > stored in /tmp, right? > This not works... :( > > Thanks for any kind of possible help... > PS. Hi, The chan_capi you mention already has fax support. Here is the handle_fax context I use with the latest released chan_capi-cm [handle_fax] exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}) exten => s,n,capicommand(receivefax|${FAXFILE}) exten => h,1,DeadAgi(faxreceive.php|${FAXFILE}) Good luck -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?" _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users