Hello, I have bought a targeta quadbri. I want to realize a PBX server to send and to receive fax on lines BRI. I have installed asterisk and the drivers of quadbri (bristuff_0.2.0-RC7b). I downloaded and installed the module spandsp-0.0.2pre10 When i send a fax from the fax machine to asterisk, the application rx_fax saves the fax in a file on the hard disk. The problem comes when I try to send a fax from the PBX with the function tx_fax. The fax machine receives the call but it prints a blank page (The fax says: mistake of communication). Could anyone help me? Thank you. Blas.
Did you use the "caller" parameter? Steve Blas wrote:>Hello, I have bought a targeta quadbri. >I want to realize a PBX server to send and to receive fax on lines BRI. >I have installed asterisk and the drivers of quadbri (bristuff_0.2.0-RC7b). >I downloaded and installed the module spandsp-0.0.2pre10 >When i send a fax from the fax machine to asterisk, the application >rx_fax saves the fax in a file on the hard disk. >The problem comes when I try to send a fax from the PBX with the >function tx_fax. >The fax machine receives the call but it prints a blank page (The fax >says: mistake of communication). >Could anyone help me? > >
Yes. This is my process: 1.- Create a /tmp/sample.call ---------------------------------- Channel: Zap/G1/XXXXXXXXX <--- Here fax machine number Application: txfax Data: /root/fax.tif ---------------------------------- 2.- Shell in a linux terminal: ----------------------------------- mv /tmp/sample.call /var/spool/asterisk/outgoing/ ----------------------------------- I don't have any 'fax' extension in my extensions.conf Is correct my process? Thank you. Blas. -->Date: Fri, 18 Feb 2005 20:54:01 +0800 >From: Steve Underwood <steveu@coppice.org> >Subject: Re: [Asterisk-Users] quadbri and spandsp >To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> >Message-ID: <4215E569.3010501@coppice.org> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed>Did you use the "caller" parameter?>Steve>Blas wrote:>Hello, I have bought a targeta quadbri. >I want to realize a PBX server to send and to receive fax on linesBRI.>I have installed asterisk and the drivers of quadbri (bristuff_0.2.0-RC7b).>I downloaded and installed the module spandsp-0.0.2pre10 >When i send a fax from the fax machine to asterisk, the application >rx_fax saves the fax in a file on the hard disk. >The problem comes when I try to send a fax from the PBX with the >function tx_fax. >The fax machine receives the call but it prints a blank page (The fax >says: mistake of communication). >Could anyone help me?
-- If I put the parameter 'caller', when I execute the call 'sample.call', the application txfax realizes two calls. One to the fax machine and other to my own asterisk. My Asterisk detects that the incoming call is a fax and begins to save it with 'rxfax'. In another call, 'txfax' says: -------------------------------------------------- DIS nothing to send [0] DIS nothing to receive [0] -------------------------------------------------- and the fax machine does not receive anything. Because this happens? (In the 'zapata.conf' I have 'faxdetect=incoming') Thank you. Blas Steve wrote:>You need to use the caller parameter. Something like:>Channel:Zap/G1/XXXXXXXX >Application:txfax >Data:/root/fax.tif|caller>might work better.>Regards, >Steve