RE: [Asterisk-Users] Blank faxes with RxFAX

2004-07-01 Thread Patrick J. Conroy
Okay, so I finally found the problem that I was having with RxFAX receiving
blank and mangled faxes.  It turns out that it was caused by the timing
source set wrong.  I have a TE405P with span 1 running to a channel bank, a
PRI (which the faxes were coming over) running into span 2, and an internet
T1 running into span 3.  I had span 3 set as the timing source.  I changed
timing to 0 on span 3 and set timing to 1 on span 2, rebooted and everything
works perfectly.  Hopefully, this will help some of the other people that
were having the same problems.

Patrick


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

___
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


Re: [Asterisk-Users] Blank faxes with RxFAX

2004-06-30 Thread Chris Hirsch
Patrick J. Conroy wrote:
I wasn't able to get debugging information the first time around either.
After pulling the latest asterisk from CVS, I was able to build and see
debugging information when I started asterisk to test using
asterisk -vvgc.  But I noticed today that I do not get the same
debugging information when I started asterisk using safe_asterisk.  So, I
don't know that rebuilding asterisk did any good.  If you started asterik
using safe_asterisk, I would shut it down, restart using
asterisk -vvgc from a shell prompt and it may give you debugging
information from the CLI.
 

Thats right! I have seen that before...I'll see if I can start testing 
over the next few daysthank you!

--
The Holocaust was an obscene period in our nation's history. I mean in 
this century's history. But we all lived in this century. I didn't live in 
this century.-- Vice President Dan Quayle, 9/15/88

http://ccicolorado.org
Exceptional Dogs for Exceptional People - Help Out Today!
___
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


Re: [Asterisk-Users] Blank faxes with RxFAX

2004-06-29 Thread Chris Hirsch
Patrick J. Conroy wrote:
Hello All,
I have finally pulled CVS HEAD and built it with app_rxfax and app_txfax to
try to solve the problem that I was having with blank faxes.  Fortunately, I
am finally getting logs from rxfax.  Unfortunately, I am still not receiving
faxes correctly.  Here is the log that was produced.  If anyone has any
thoughts on what might going, I would greatly appreciate it.
 

I'm actually getting *some* blank faxes too...it seems that I can 
receive from an older crappy fax machine but not from a newer one like 
an HP all-in-one...how do you get debugging information so I can 
possibly help with this problem too?

--
Happiness Is Seeing Your Mother-in-law on a Milk Carton.
http://ccicolorado.org
Exceptional Dogs for Exceptional People - Help Out Today!
___
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


RE: [Asterisk-Users] Blank faxes with RxFAX

2004-06-29 Thread Patrick J. Conroy
I wasn't able to get debugging information the first time around either.
After pulling the latest asterisk from CVS, I was able to build and see
debugging information when I started asterisk to test using
asterisk -vvgc.  But I noticed today that I do not get the same
debugging information when I started asterisk using safe_asterisk.  So, I
don't know that rebuilding asterisk did any good.  If you started asterik
using safe_asterisk, I would shut it down, restart using
asterisk -vvgc from a shell prompt and it may give you debugging
information from the CLI.

Hope that helps.

Patrick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chris Hirsch
Sent: Tuesday, June 29, 2004 11:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Blank faxes with RxFAX


Patrick J. Conroy wrote:

Hello All,

I have finally pulled CVS HEAD and built it with app_rxfax and app_txfax to
try to solve the problem that I was having with blank faxes.  Fortunately,
I
am finally getting logs from rxfax.  Unfortunately, I am still not
receiving
faxes correctly.  Here is the log that was produced.  If anyone has any
thoughts on what might going, I would greatly appreciate it.



I'm actually getting *some* blank faxes too...it seems that I can
receive from an older crappy fax machine but not from a newer one like
an HP all-in-one...how do you get debugging information so I can
possibly help with this problem too?

--
Happiness Is Seeing Your Mother-in-law on a Milk Carton.


http://ccicolorado.org
Exceptional Dogs for Exceptional People - Help Out Today!


___
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

--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

___
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


Re: [Asterisk-Users] Blank faxes with RxFAX

2004-06-17 Thread Steve Underwood
Hi Patrick,
I can't tell much from this brief description. Send me a console log.
Regards,
Steve
Patrick J. Conroy wrote:
Hello All,
I have downloaded and installed spandsp and downloaded rxfax, etc and
rebuilt asterisk with app_rxfax.  I have added the following to my
extensions.conf:
[macro-faxreceive]
; ${ARG1} - sendto e-mail
exten = s,1,Wait(2)
exten = s,2,Answer
exten =
s,3,SetVar(FAXFILE=/var/spool/asterisk-fax/fax-${MACRO_EXTEN}-${TIMESTAMP})
exten = s,4,SetVar(EMAILADDR=${ARG1})
exten = s,5,rxfax(${FAXFILE}.tif)
exten = s,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
${CALLERIDNUM} ${CALLERIDNAME})
And everything looks like it is running fine, meaning that I don't seem to
get any errors.
However, all the faxes seem to be blank.  The only references to anything
like this that I could find previously on the list were in regards to 8-byte
tif files.  This doesn't seem to be the same issue, since the files are much
larger (~8k).  I am trying to receive the faxes over a PRI running into a
TE405P.  Any suggestions?  Is anyone using RxFAX successfully in a
configuration like this?  If so, what are you doing differently?  Any help
would be appreciated.
Thanks,
Patrick
 

___
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


RE: [Asterisk-Users] Blank faxes with RxFAX

2004-06-17 Thread MattB
I have encountered this same issue.  I do notice that resolution is
coming up as zero.  Here is a dump from the console as a fax comes in:

Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing Answer(Zap/1-1,
) in new stack
Jun 17 13:07:09 VERBOSE[1175706416]: -- Accepting call from '' to
'NPANXXX' on channel 1, span 1
Jun 17 13:07:09 DEBUG[1175706416]: Enabled echo cancellation on channel
1
Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing SetVar(Zap/1-1,
FAXFILE=/var/spool/asterisk/fax/1087499229.8.tif) in new stack
Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing RxFAX(Zap/1-1,
/var/spool/asterisk/fax/1087499229.8.tif) in new stack
Jun 17 13:07:55 DEBUG[1217669936]:

==
Jun 17 13:07:55 DEBUG[1217669936]: Fax successfully received.
Jun 17 13:07:55 DEBUG[1217669936]: Remote station id: The number is
right
Jun 17 13:07:55 DEBUG[1217669936]: Local station id:  
Jun 17 13:07:55 DEBUG[1217669936]: Pages transferred: 1
Jun 17 13:07:55 DEBUG[1217669936]: Resolution:0
Jun 17 13:07:55 DEBUG[1217669936]: Transfer Rate: 9600
Jun 17 13:07:55 DEBUG[1217669936]:

==
Jun 17 13:07:55 VERBOSE[1217669936]: -- Executing Hangup(Zap/1-1,
) in new stack
Jun 17 13:07:55 VERBOSE[1217669936]:   == Spawn extension (default,
NPANXXX, 4) exited non-zero on 'Zap/1-1'
Jun 17 13:07:55 DEBUG[1217669936]: Set option AUDIO MODE, value: ON(1)
on Zap/1-1
Jun 17 13:07:55 DEBUG[1217669936]: Hangup: channel: 1 index = 0, normal
= 17, callwait = -1, thirdcall = -1
Jun 17 13:07:55 DEBUG[1217669936]: disabled echo cancellation on channel
1
Jun 17 13:07:55 DEBUG[1217669936]: Set option TDD MODE, value: OFF(0) on
Zap/1-1
Jun 17 13:07:55 DEBUG[1217669936]: Updated conferencing on 1, with 0
conference users
Jun 17 13:07:55 DEBUG[1217669936]: Set option AUDIO MODE, value: OFF(0)
on Zap/1-1
Jun 17 13:07:55 DEBUG[1217669936]: disabled echo cancellation on channel
1
Jun 17 13:07:55 VERBOSE[1217669936]: -- Hungup 'Zap/1-1'

-- 
 Matthew Billings  |   Affordable WWW  Internet Solutions
 foreThought.net   |   for Small Business
 [EMAIL PROTECTED] |   910 16th Street, #1220  (303)
228-0070 x821
 --The Future is Now!--|   Denver, CO 80202(303)
228-0077 fax 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Steve Underwood
 Sent: Thursday, June 17, 2004 10:23 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] Blank faxes with RxFAX
 
 Hi Patrick,
 
 I can't tell much from this brief description. Send me a console log.
 
 Regards,
 Steve
 
 
 Patrick J. Conroy wrote:
 
 Hello All,
 
 I have downloaded and installed spandsp and downloaded rxfax, etc and
 rebuilt asterisk with app_rxfax.  I have added the following to my
 extensions.conf:
 
 [macro-faxreceive]
 ; ${ARG1} - sendto e-mail
 exten = s,1,Wait(2)
 exten = s,2,Answer
 exten =
 s,3,SetVar(FAXFILE=/var/spool/asterisk-fax/fax-${MACRO_EXTEN}-
 ${TIMESTAMP})
 exten = s,4,SetVar(EMAILADDR=${ARG1})
 exten = s,5,rxfax(${FAXFILE}.tif)
 exten = s,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
 ${CALLERIDNUM} ${CALLERIDNAME})
 
 And everything looks like it is running fine, meaning that I don't
seem
 to
 get any errors.
 
 However, all the faxes seem to be blank.  The only references to
anything
 like this that I could find previously on the list were in regards to
8-
 byte
 tif files.  This doesn't seem to be the same issue, since the files
are
 much
 larger (~8k).  I am trying to receive the faxes over a PRI running
into a
 TE405P.  Any suggestions?  Is anyone using RxFAX successfully in a
 configuration like this?  If so, what are you doing differently?  Any
 help
 would be appreciated.
 
 Thanks,
 Patrick
 
 
 
 
 
 ___
 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

___
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


RE: [Asterisk-Users] Blank faxes with RxFAX

2004-06-17 Thread MattB
Interesting, the size for the tiff files are:
1728x76 file size 1839 bytes
1728x159 file size 4605 bytes
1728x61 file size 1417 bytes
1728x77 file size 2071 bytes

on 4 different files originating from the same fax.  The image area is
all white with a few dots at the top and when I change the image size,
it looks like a bar code.

Any thoughts?

-- 
 Matthew Billings  |   Affordable WWW  Internet Solutions
 foreThought.net   |   for Small Business
 [EMAIL PROTECTED] |   910 16th Street, #1220  (303)
228-0070 x821
 --The Future is Now!--|   Denver, CO 80202(303)
228-0077 fax 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of MattB
 Sent: Thursday, June 17, 2004 1:19 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [Asterisk-Users] Blank faxes with RxFAX
 
 I have encountered this same issue.  I do notice that resolution is
 coming up as zero.  Here is a dump from the console as a fax comes in:
 
 Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing
Answer(Zap/1-1,
 ) in new stack
 Jun 17 13:07:09 VERBOSE[1175706416]: -- Accepting call from '' to
 'NPANXXX' on channel 1, span 1
 Jun 17 13:07:09 DEBUG[1175706416]: Enabled echo cancellation on
channel
 1
 Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing
SetVar(Zap/1-1,
 FAXFILE=/var/spool/asterisk/fax/1087499229.8.tif) in new stack
 Jun 17 13:07:09 VERBOSE[1217669936]: -- Executing RxFAX(Zap/1-1,
 /var/spool/asterisk/fax/1087499229.8.tif) in new stack
 Jun 17 13:07:55 DEBUG[1217669936]:


 ==
 Jun 17 13:07:55 DEBUG[1217669936]: Fax successfully received.
 Jun 17 13:07:55 DEBUG[1217669936]: Remote station id: The number is
 right
 Jun 17 13:07:55 DEBUG[1217669936]: Local station id:
 Jun 17 13:07:55 DEBUG[1217669936]: Pages transferred: 1
 Jun 17 13:07:55 DEBUG[1217669936]: Resolution:0
 Jun 17 13:07:55 DEBUG[1217669936]: Transfer Rate: 9600
 Jun 17 13:07:55 DEBUG[1217669936]:


 ==
 Jun 17 13:07:55 VERBOSE[1217669936]: -- Executing
Hangup(Zap/1-1,
 ) in new stack
 Jun 17 13:07:55 VERBOSE[1217669936]:   == Spawn extension (default,
 NPANXXX, 4) exited non-zero on 'Zap/1-1'
 Jun 17 13:07:55 DEBUG[1217669936]: Set option AUDIO MODE, value: ON(1)
 on Zap/1-1
 Jun 17 13:07:55 DEBUG[1217669936]: Hangup: channel: 1 index = 0,
normal
 = 17, callwait = -1, thirdcall = -1
 Jun 17 13:07:55 DEBUG[1217669936]: disabled echo cancellation on
channel
 1
 Jun 17 13:07:55 DEBUG[1217669936]: Set option TDD MODE, value: OFF(0)
on
 Zap/1-1
 Jun 17 13:07:55 DEBUG[1217669936]: Updated conferencing on 1, with 0
 conference users
 Jun 17 13:07:55 DEBUG[1217669936]: Set option AUDIO MODE, value:
OFF(0)
 on Zap/1-1
 Jun 17 13:07:55 DEBUG[1217669936]: disabled echo cancellation on
channel
 1
 Jun 17 13:07:55 VERBOSE[1217669936]: -- Hungup 'Zap/1-1'
 
 --
  Matthew Billings  |   Affordable WWW  Internet Solutions
  foreThought.net   |   for Small Business
  [EMAIL PROTECTED] |   910 16th Street, #1220  (303)
 228-0070 x821
  --The Future is Now!--|   Denver, CO 80202(303)
 228-0077 fax
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:asterisk-users-
  [EMAIL PROTECTED] On Behalf Of Steve Underwood
  Sent: Thursday, June 17, 2004 10:23 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [Asterisk-Users] Blank faxes with RxFAX
 
  Hi Patrick,
 
  I can't tell much from this brief description. Send me a console
log.
 
  Regards,
  Steve
 
 
  Patrick J. Conroy wrote:
 
  Hello All,
  
  I have downloaded and installed spandsp and downloaded rxfax, etc
and
  rebuilt asterisk with app_rxfax.  I have added the following to my
  extensions.conf:
  
  [macro-faxreceive]
  ; ${ARG1} - sendto e-mail
  exten = s,1,Wait(2)
  exten = s,2,Answer
  exten =
  s,3,SetVar(FAXFILE=/var/spool/asterisk-fax/fax-${MACRO_EXTEN}-
  ${TIMESTAMP})
  exten = s,4,SetVar(EMAILADDR=${ARG1})
  exten = s,5,rxfax(${FAXFILE}.tif)
  exten = s,6,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
  ${CALLERIDNUM} ${CALLERIDNAME})
  
  And everything looks like it is running fine, meaning that I don't
 seem
  to
  get any errors.
  
  However, all the faxes seem to be blank.  The only references to
 anything
  like this that I could find previously on the list were in regards
to
 8-
  byte
  tif files.  This doesn't seem to be the same issue, since the files
 are
  much
  larger (~8k).  I am trying to receive the faxes over a PRI running
 into a
  TE405P.  Any suggestions?  Is anyone using RxFAX successfully in a
  configuration like this?  If so, what are you doing differently?
Any
  help
  would be appreciated.
  
  Thanks,
  Patrick
  
  
  
  
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users