VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kurai7hikari at gmail.com Guest
|
Posted: Mon Aug 11, 2014 8:39 am Post subject: [asterisk-users] Sending and receiving fax with Digium FFA |
|
|
Hello.
I've been trying to setup Free Fax for Asterisk on a Debian machine with Asterisk 1.8. I have managed to register and installed the Digium modules. Sending and receiving through it have resulted in failure. The output of fax show capabilities is:
Registered FAX Technology Modules:
Type : DIGIUM
Description : Digium FAX Driver
Capabilities : SEND RECEIVE T.38 G.711 MULTI-DOC
1 registered modules
We have a fax blackbox through which I'm trying to send faxes to the Asterisk server. Every time that I send a fax I get a timeout error. Been tinkering with the settings and whatnot to get it working.
The extension to receive fax:
exten => recvfax,1,Verbose(2,Receiving fax)
same => n,Set(FAXDEST=/tmp/fax)
same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
same => n,Wait(
same => n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)
It's without most of the tinkering I've done, which are: setting ecm to no, tweaking the min/max rate and other things.
Also, because the fax machine can't print (half broken), we receive our faxes through a fax to email service we have subscribed to, so the tests for sending have that one as a destination.
The extension to send fax:
exten => sendfax,1,Verbose(2,Sending fax)
same => n,Set(faxlocation=/tmp)
same => n,Set(faxfile=fax.tiff)
same => n,Set(FAXOPT(headerinfo)=Testing FAX)
same => n,Set(FAXOPT(localstationid)=123456)
same => n,SendFax(${faxlocation}/${faxfile},d)
same => n,Verbose(2, Fax Status: ${FAXOPT(error)})
I did the exact same thing, and tried sending from both a SIP channel and a DAHDI line. The weird thing is that when I am sending through Asterisk I get, as a response to fax, a recorded message from the telco. Sending through the same line with the fax machine works perfectly.
Any advice and help is welcome. |
|
Back to top |
|
|
kevin.larsen at pionee... Guest
|
Posted: Mon Aug 11, 2014 10:03 am Post subject: [asterisk-users] Sending and receiving fax with Digium FFA |
|
|
Quote: | Hello.
I've been trying to setup Free Fax for Asterisk on a Debian machine
with Asterisk 1.8. I have managed to register and installed the
Digium modules. Sending and receiving through it have resulted in
failure. The output of fax show capabilities is:
Registered FAX Technology Modules:
Type : DIGIUM
Description : Digium FAX Driver
Capabilities : SEND RECEIVE T.38 G.711 MULTI-DOC
1 registered modules
We have a fax blackbox through which I'm trying to send faxes to
the Asterisk server. Every time that I send a fax I get a timeout
error. Been tinkering with the settings and whatnot to get it working.
The extension to receive fax:
exten => recvfax,1,Verbose(2,Receiving fax)
same => n,Set(FAXDEST=/tmp/fax)
same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
same => n,Wait(
same => n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)
It's without most of the tinkering I've done, which are: setting ecm
to no, tweaking the min/max rate and other things.
Also, because the fax machine can't print (half broken), we receive
our faxes through a fax to email service we have subscribed to, so
the tests for sending have that one as a destination.
The extension to send fax:
exten => sendfax,1,Verbose(2,Sending fax)
same => n,Set(faxlocation=/tmp)
same => n,Set(faxfile=fax.tiff)
same => n,Set(FAXOPT(headerinfo)=Testing FAX)
same => n,Set(FAXOPT(localstationid)=123456)
same => n,SendFax(${faxlocation}/${faxfile},d)
same => n,Verbose(2, Fax Status: ${FAXOPT(error)})
I did the exact same thing, and tried sending from both a SIP
channel and a DAHDI line. The weird thing is that when I am sending
through Asterisk I get, as a response to fax, a recorded message
from the telco. Sending through the same line with the fax machine
works perfectly.
Any advice and help is welcome.
|
Can you post the output of the Asterisk CLI from a failed fax call? What you have looks ok for the most part, at least on the receiving end. Did you install the license key for the Free FAX for Asterisk module? |
|
Back to top |
|
|
asterisk at voipbusine... Guest
|
Posted: Mon Aug 11, 2014 11:09 am Post subject: [asterisk-users] Sending and receiving fax with Digium FFA |
|
|
Hello;
Just taking a quick glance at it, I think you have a syntax error in your dial plan. Instead of ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d, shouldn't it be ReceiveFax(${FAXDEST}/${tempfax}.tiff,fd) with no comma between the f and d options?
Regards;
John
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dumitru
Sent: Monday, August 11, 2014 9:39 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Sending and receiving fax with Digium FFA
Hello.
I've been trying to setup Free Fax for Asterisk on a Debian machine with Asterisk 1.8. I have managed to register and installed the Digium modules. Sending and receiving through it have resulted in failure. The output of fax show capabilities is:
Registered FAX Technology Modules:
Type : DIGIUM
Description : Digium FAX Driver
Capabilities : SEND RECEIVE T.38 G.711 MULTI-DOC
1 registered modules
We have a fax blackbox through which I'm trying to send faxes to the Asterisk server. Every time that I send a fax I get a timeout error. Been tinkering with the settings and whatnot to get it working.
The extension to receive fax:
exten => recvfax,1,Verbose(2,Receiving fax)
same => n,Set(FAXDEST=/tmp/fax)
same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
same => n,Wait(
same => n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)
It's without most of the tinkering I've done, which are: setting ecm to no, tweaking the min/max rate and other things.
Also, because the fax machine can't print (half broken), we receive our faxes through a fax to email service we have subscribed to, so the tests for sending have that one as a destination.
The extension to send fax:
exten => sendfax,1,Verbose(2,Sending fax)
same => n,Set(faxlocation=/tmp)
same => n,Set(faxfile=fax.tiff)
same => n,Set(FAXOPT(headerinfo)=Testing FAX)
same => n,Set(FAXOPT(localstationid)=123456)
same => n,SendFax(${faxlocation}/${faxfile},d)
same => n,Verbose(2, Fax Status: ${FAXOPT(error)})
I did the exact same thing, and tried sending from both a SIP channel and a DAHDI line. The weird thing is that when I am sending through Asterisk I get, as a response to fax, a recorded message from the telco. Sending through the same line with the fax machine works perfectly.
Any advice and help is welcome. |
|
Back to top |
|
|
kurai7hikari at gmail.com Guest
|
Posted: Tue Aug 12, 2014 3:40 am Post subject: [asterisk-users] Sending and receiving fax with Digium FFA |
|
|
The output of a failed incoming fax:
http://pastebin.com/S58j0WbW
A failed outgoing fax:
http://pastebin.com/eqveVZgK
It seems to me that I installed it.
fax show licenses
Fax Licensing Information
==============================
Free fax licenses: 1
Total licensed ports: 1
Also, @John, there indeed seemed to be a syntax mistake, but Asterisk never complained, so I didn't notice it. Unfortunately, even after correcting it the fax exhibits the same behaviour.
On 08/11/2014 06:02 PM, Kevin Larsen wrote:
Quote: | > Hello.
Quote: | I've been trying to setup Free Fax for Asterisk on a Debian machine
with Asterisk 1.8. I have managed to register and installed the
Digium modules. Sending and receiving through it have resulted in
failure. The output of fax show capabilities is:
Registered FAX Technology Modules:
Type : DIGIUM
Description : Digium FAX Driver
Capabilities : SEND RECEIVE T.38 G.711 MULTI-DOC
1 registered modules
We have a fax blackbox through which I'm trying to send faxes to
the Asterisk server. Every time that I send a fax I get a timeout
error. Been tinkering with the settings and whatnot to get it working.
The extension to receive fax:
exten => recvfax,1,Verbose(2,Receiving fax)
same => n,Set(FAXDEST=/tmp/fax)
same => n,Set(tempfax=${STRFTIME(,,%C%y%m%d%H%M)})
same => n,Wait(
same => n,ReceiveFax(${FAXDEST}/${tempfax}.tiff,f,d)
It's without most of the tinkering I've done, which are: setting ecm
to no, tweaking the min/max rate and other things.
Also, because the fax machine can't print (half broken), we receive
our faxes through a fax to email service we have subscribed to, so
the tests for sending have that one as a destination.
The extension to send fax:
exten => sendfax,1,Verbose(2,Sending fax)
same => n,Set(faxlocation=/tmp)
same => n,Set(faxfile=fax.tiff)
same => n,Set(FAXOPT(headerinfo)=Testing FAX)
same => n,Set(FAXOPT(localstationid)=123456)
same => n,SendFax(${faxlocation}/${faxfile},d)
same => n,Verbose(2, Fax Status: ${FAXOPT(error)})
I did the exact same thing, and tried sending from both a SIP
channel and a DAHDI line. The weird thing is that when I am sending
through Asterisk I get, as a response to fax, a recorded message
from the telco. Sending through the same line with the fax machine
works perfectly.
Any advice and help is welcome.
|
Can you post the output of the Asterisk CLI from a failed fax call? What you have looks ok for the most part, at least on the receiving end. Did you install the license key for the Free FAX for Asterisk module?
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|