Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-28 Thread James Armstrong
I looked into why I can't get the original DID number called when a fax is detected (so I can later route to the correct email address). There is a variable called FAXEXTEN that is created when a fax is detected, but it is not being populated with the original extension / did number called. It

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-28 Thread James Armstrong
Found out why there is no original DID set. It looks like while waiting for the incoming digits timeout (DID), we are getting the fax tone detect and it is sending a digit 'f' which immediately starts the fax extension before the incoming DID has been saved. Is there a way to set in the zap

[Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
I was wondering if anyone would know why receiving a fax via an extension - IAXModem - Hylafax would work, but fax - rxfax (spandsp) does not. When I try to use the app_rxfax the fax machine reports a comm error. If I use the IAXModem client connected to Hylafax it works. I don't mind the

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Lee Howard
James Armstrong wrote: I was wondering if anyone would know why receiving a fax via an extension - IAXModem - Hylafax would work, but fax - rxfax (spandsp) does not. When I try to use the app_rxfax the fax machine reports a comm error. If I use the IAXModem client connected to Hylafax it

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
Thanks, that helps. What variable (in Asterisk) would I modify if I wanted to tweak one of the CALLERID fields that gets passed? Right now, it is not passing the DID number the fax came in on, it is always passing 's' as the NDID. - James Lee Howard wrote: James Armstrong wrote: I was

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Rob McKrill
Try: Set(CALLERID(number)=newcalleridhere) Just make the newcalleridhere whatever number you are going to look for in FaxDispatch or the NDID field. I am just getting started in the Hylafax stuff and have a dual PRI card I am trying to do this with, but I am going to give IAXmodem a shot as

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Lee Howard
James Armstrong wrote: Thanks, that helps. What variable (in Asterisk) would I modify if I wanted to tweak one of the CALLERID fields that gets passed? Right now, it is not passing the DID number the fax came in on, it is always passing 's' as the NDID. I think the key is to just not

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Lee Howard
Rob McKrill wrote: I am just getting started in the Hylafax stuff and have a dual PRI card I am trying to do this with, but I am going to give IAXmodem a shot as soon as I get the tif to pdf conversion working. HylaFAX should already have the TIFF - PDF conversion stuff built-in.

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Rob McKrill
Lee Howard wrote: HylaFAX should already have the TIFF - PDF conversion stuff built-in. Actually, it uses libtiff's tiff2pdf, if possible, and if not then uses it's own scripting with tiff2ps - ps2pdf. (The latter being less-good because it uses a Ghostscript tool... which therefore makes

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
Thanks, that helps. What variable (in Asterisk) would I modify if I wanted to tweak one of the CALLERID fields that gets passed? Right now, it is not passing the DID number the fax came in on, it is always passing 's' as the NDID. I think the key is to just not alter the DID to begin

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
The TIFF - PDF conversion is working fine, just the mime-encoding/attachment stuff to the email seems to be where i am having issues. I am able to use the existing conversion stuff from the command-line. I have metamail, uuencode, and base64-encode installed, but must be missing something :)

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Lee Howard
Rob McKrill wrote: The TIFF - PDF conversion is working fine, just the mime-encoding/attachment stuff to the email seems to be where i am having issues. I am able to use the existing conversion stuff from the command-line. I have metamail, uuencode, and base64-encode installed, but must be

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Lee Howard
James Armstrong wrote: The only problem here is, we are using our normal did numbers that forward to our extensions. Asterisk detects the fax tone and sends it to the exten = fax,1, extension. In this example faxdetect is overwriting the DID. So the trick then would be to somewhere

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
Thanks, that helps. What variable (in Asterisk) would I modify if I wanted to tweak one of the CALLERID fields that gets passed? Right now, it is not passing the DID number the fax came in on, it is always passing 's' as the NDID. I think the key is to just not alter the DID to begin

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread James Armstrong
In this example faxdetect is overwriting the DID. So the trick then would be to somewhere early-on in your dialplan grab the DID into some variable, and then restore it after the fax detection occurs... [default] exten = _X.,1, SetVar(ORIGEXTEN=${EXTEN}) exten = s,2,Wait(3) . exten =

Re: [Asterisk-Users] FAX difference IAXModem / Hylafax and spandsp app_rxfax

2005-11-18 Thread Rob McKrill
Re-run faxsetup. It (in 4.2.1 and later) usually clears things up for most people. Lee. Everything is working great now. Now on to tackling the DID stuff and IAXmodem. Thanks guys. ___ --Bandwidth and Colocation sponsored by Easynews.com --