SV: [Asterisk-Users] RxFax problems

2005-09-15 Thread Arne Morten Johansen
Yeah sorry about that. But I didnt see my message in the list, so I thought it 
didn't ame through. 
 

-Opprinnelig melding-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Dave Cotton
Sendt: 14. september 2005 19:45
Til: Asterisk Users Mailing List - Non-Commercial Discussion
Emne: Re: [Asterisk-Users] RxFax problems

On Wed, 2005-09-14 at 19:15 +0200, Arne Morten Johansen wrote:
> Hello. Im trying to get Fax-to-email working. 

Didn't I see that exact same message exactly 29 minutes ago?

That's the best way _not_ to get an aswer on this list.


--
Dave Cotton <[EMAIL PROTECTED]>

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] RxFax problems

2005-09-14 Thread Dave Cotton
On Wed, 2005-09-14 at 19:15 +0200, Arne Morten Johansen wrote:
> Hello. Im trying to get Fax-to-email working. 

Didn't I see that exact same message exactly 29 minutes ago?

That's the best way _not_ to get an aswer on this list.


-- 
Dave Cotton <[EMAIL PROTECTED]>

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RxFax problems

2005-09-14 Thread Arne Morten Johansen
Hello. Im trying to get Fax-to-email working. 
I've installed Rx and txfax, spanDSP and every package needed. I've done
everything on this page (altough, some bash-scripting problems): 
http://www.voip-info.org/tiki-index.php?page=Asterisk+Fax+to+email

anyway, when i try to send an fax, i get theese messages in asterisk:

-- Executing Goto("SIP/5060-08148520", "fax|2201|1") in new stack
-- Goto (fax,2201,1)
-- Executing Macro("SIP/5060-08148520", "faxreceive") in new stack
-- Executing SetVar("SIP/5060-08148520",
"FAXFILE=/var/spool/asterisk/fax/1126714845.5.tif") in new stack
-- Executing DBget("SIP/5060-08148520", "EXTEMAIL=2201/xEmail") in
new stack
-- DBget: varname=EXTEMAIL, family=2201, key=xEmail
-- DBget: Value not found in database.
-- Executing SetVar("SIP/5060-08148520", "[EMAIL PROTECTED]")
in new stack
-- Executing Goto("SIP/5060-08148520", "7") in new stack
-- Goto (macro-faxreceive,s,7)
-- Executing RxFAX("SIP/5060-08148520",
"/var/spool/asterisk/fax/1126714845.5.tif") in new stack
-- Executing System("SIP/5060-08148520",
"/var/lib/asterisk/scripts/mailfax "***" "***" "FAX"
"[EMAIL PROTECTED]" "/var/spool/asterisk/fax/1126714845.5.tif" "company"")
in new stack

(edited out some personal details)


When i look in /var/spool/asterisk/fax/. No *.tif file is created. 
The person sending faxes get's an error or alert on the fax machine.

What can I do? I've chmodded (-R) /var/spool/asterisk/fax to 777. 

I'm trying to recieve Fax over the internet. I'm using gentoo. 
When I call the fax I hear something that sounds like a Modem 56k(--)
dialing on the web. 

Please help me.

Regards,
Arne Morten

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RxFax problems.

2005-09-14 Thread Arne Morten Johansen
Hello. Im trying to get Fax-to-email working. 
I've installed Rx and txfax, spanDSP and every package needed. I've done
everything on this page (altough, some bash-scripting problems): 
http://www.voip-info.org/tiki-index.php?page=Asterisk+Fax+to+email

anyway, when i try to send an fax, i get theese messages in asterisk:

-- Executing Goto("SIP/5060-08148520", "fax|2201|1") in new stack
-- Goto (fax,2201,1)
-- Executing Macro("SIP/5060-08148520", "faxreceive") in new stack
-- Executing SetVar("SIP/5060-08148520",
"FAXFILE=/var/spool/asterisk/fax/1126714845.5.tif") in new stack
-- Executing DBget("SIP/5060-08148520", "EXTEMAIL=2201/xEmail") in
new stack
-- DBget: varname=EXTEMAIL, family=2201, key=xEmail
-- DBget: Value not found in database.
-- Executing SetVar("SIP/5060-08148520", "[EMAIL PROTECTED]")
in new stack
-- Executing Goto("SIP/5060-08148520", "7") in new stack
-- Goto (macro-faxreceive,s,7)
-- Executing RxFAX("SIP/5060-08148520",
"/var/spool/asterisk/fax/1126714845.5.tif") in new stack
-- Executing System("SIP/5060-08148520",
"/var/lib/asterisk/scripts/mailfax "***" "***" "FAX"
"[EMAIL PROTECTED]" "/var/spool/asterisk/fax/1126714845.5.tif" "company"")
in new stack

(edited out some personal details)


When i look in /var/spool/asterisk/fax/. No *.tif file is created. 
The person sending faxes get's an error or alert on the fax machine.

What can I do? I've chmodded (-R) /var/spool/asterisk/fax to 777. 

I'm trying to recieve Fax over the internet. I'm using gentoo. 
When I call the fax I hear something that sounds like a Modem 56k(--)
dialing on the web. 

Please help me.

Regards,
Arne Morten

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] rxfax problems - cont.

2005-06-01 Thread Steve Underwood

Hi Marcin,

You need to turn verbose logging on to see what really happens. Check 
the command line parameters for rxfax. Lots and lots of people have 
problems faxing with TDM cards. The problem is not in spandsp. It seems 
to be in the river for the card.


Regards,
Steve


Marcin Kuczera wrote:

Well, my faxes passes through asterisk successfully, however I still 
have some problems about fax reception by rxfax.


The softfax answers, and negotiates transmission, however then as some 
stage of communiation something is wrong.

But I have nothing more but this log:

Jun  2 00:10:21 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: * 
on Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 1 
on Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 0 
on Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 7 
on Zap/10-1
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 8 
on Zap/10-1
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:1384 zt_enable_ec: No 
echocancellation requested

   -- Executing SetVar("Zap/10-1", "CALLEDFAX=*1078") in new stack
   -- Executing Answer("Zap/10-1", "") in new stack
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:2484 zt_answer: Took Zap/10-1 
off hook

   -- Executing Goto("Zap/10-1", "fax|*1078|1") in new stack
   -- Goto (fax,*1078,1)
   -- Executing Macro("Zap/10-1", "faxreceive") in new stack
   -- Executing SetVar("Zap/10-1", 
"FAXFILE=/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32") in 
new stack
   -- Executing RxFAX("Zap/10-1", 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32.tif") in new 
stack
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:80 phase_e_handler: 
== 

Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:81 phase_e_handler: Fax 
successfully received.
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:82 phase_e_handler: Remote 
station id:
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:83 phase_e_handler: Local 
station id:
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:84 phase_e_handler: Pages 
transferred: 0
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:85 phase_e_handler: Image 
resolution:  0 x 0
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:86 phase_e_handler: Transfer 
Rate: 9600
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:87 phase_e_handler: 
== 

Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:3974 __zt_exception: 
Exception on 28, channel 10
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:3286 zt_handle_event: Got 
event On hook(1) on channel 10 (index 0)
   -- Executing System("Zap/10-1", "/var/lib/asterisk/scripts/mailfax 
"*1076" "*1078" "" "" 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" """) in new 
stack
Jun  2 00:10:41 WARNING[16900]: app_system.c:70 system_exec_helper: 
Unable to execute '/var/lib/asterisk/scripts/mailfax "*1076" "*1078" 
"" "" "/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" ""'
Jun  2 00:10:41 WARNING[16900]: app_system.c:70 system_exec_helper: 
Unable to execute '/var/lib/asterisk/scripts/mailfax "*1076" "*1078" 
"" "" "/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" ""'

 == Spawn extension (fax, h, 1) exited non-zero on 'Zap/10-1'
Jun  2 00:10:41 DEBUG[445]: rate_engine.c:708 poster_worker: Rating 
Engine poster thread processing
Jun  2 00:10:41 DEBUG[445]: rate_engine.c:770 poster_worker: 
Attempting to write queue entry to database
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:2164 zt_hangup: Hangup: 
channel: 10 index = 0, normal = 28, callwait = -1, thirdcall = -1
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:2577 zt_setoption: Set option 
TDD MODE, value: OFF(0) on Zap/10-1
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:1352 update_conf: Updated 
conferencing on 10, with 0 conference users

   -- Hungup 'Zap/10-1'

Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k
libspandsp-dev 0.0.2pre17-1
libspandsp00.0.2pre17-1
txfax/rxfax from spandsp-0.0.2pre18

Physical test fax is Panasonic KX-FT908PD connected to TDM400P FXS port

I also tried incomming fax through BRI interface - the same result, 
error code 41 (on Panasonic)



Maybe someone meet this problem ?



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] rxfax problems - cont.

2005-06-01 Thread Marcin Kuczera
Well, my faxes passes through asterisk successfully, however I still have 
some problems about fax reception by rxfax.


The softfax answers, and negotiates transmission, however then as some stage 
of communiation something is wrong.

But I have nothing more but this log:

Jun  2 00:10:21 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: * on 
Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 1 on 
Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 0 on 
Zap/10-1
Jun  2 00:10:22 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 7 on 
Zap/10-1
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:4242 zt_read: DTMF digit: 8 on 
Zap/10-1
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:1384 zt_enable_ec: No 
echocancellation requested

   -- Executing SetVar("Zap/10-1", "CALLEDFAX=*1078") in new stack
   -- Executing Answer("Zap/10-1", "") in new stack
Jun  2 00:10:23 DEBUG[16900]: chan_zap.c:2484 zt_answer: Took Zap/10-1 off 
hook

   -- Executing Goto("Zap/10-1", "fax|*1078|1") in new stack
   -- Goto (fax,*1078,1)
   -- Executing Macro("Zap/10-1", "faxreceive") in new stack
   -- Executing SetVar("Zap/10-1", 
"FAXFILE=/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32") in new 
stack
   -- Executing RxFAX("Zap/10-1", 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32.tif") in new stack
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:80 phase_e_handler: 
==
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:81 phase_e_handler: Fax 
successfully received.
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:82 phase_e_handler: Remote station 
id:
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:83 phase_e_handler: Local station 
id:
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:84 phase_e_handler: Pages 
transferred: 0
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:85 phase_e_handler: Image 
resolution:  0 x 0
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:86 phase_e_handler: Transfer Rate: 
9600
Jun  2 00:10:37 DEBUG[16900]: app_rxfax.c:87 phase_e_handler: 
==
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:3974 __zt_exception: Exception on 
28, channel 10
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:3286 zt_handle_event: Got event On 
hook(1) on channel 10 (index 0)
   -- Executing System("Zap/10-1", "/var/lib/asterisk/scripts/mailfax 
"*1076" "*1078" "" "" 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" """) in new stack
Jun  2 00:10:41 WARNING[16900]: app_system.c:70 system_exec_helper: Unable 
to execute '/var/lib/asterisk/scripts/mailfax "*1076" "*1078" "" "" 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" ""'
Jun  2 00:10:41 WARNING[16900]: app_system.c:70 system_exec_helper: Unable 
to execute '/var/lib/asterisk/scripts/mailfax "*1076" "*1078" "" "" 
"/var/spool/asterisk/fax/*1078/asterisk-419-1117663820.32" ""'

 == Spawn extension (fax, h, 1) exited non-zero on 'Zap/10-1'
Jun  2 00:10:41 DEBUG[445]: rate_engine.c:708 poster_worker: Rating Engine 
poster thread processing
Jun  2 00:10:41 DEBUG[445]: rate_engine.c:770 poster_worker: Attempting to 
write queue entry to database
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:2164 zt_hangup: Hangup: channel: 10 
index = 0, normal = 28, callwait = -1, thirdcall = -1
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:2577 zt_setoption: Set option TDD 
MODE, value: OFF(0) on Zap/10-1
Jun  2 00:10:41 DEBUG[16900]: chan_zap.c:1352 update_conf: Updated 
conferencing on 10, with 0 conference users

   -- Hungup 'Zap/10-1'

Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k
libspandsp-dev 0.0.2pre17-1
libspandsp00.0.2pre17-1
txfax/rxfax from spandsp-0.0.2pre18

Physical test fax is Panasonic KX-FT908PD connected to TDM400P FXS port

I also tried incomming fax through BRI interface - the same result, error 
code 41 (on Panasonic)



Maybe someone meet this problem ?

Regards
Marcin 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RxFax problems

2004-06-19 Thread Darryl Ross
Hey All,

I'm still (since April) having problems getting RxFax to work over an
ISDN4Linux channel. Just wondering if anyone has had any luck getting it
to work?

I have done a CVS update today (about half hour ago) and made sure I have
the latest version of spandsp according to Steve's website
(spandsp-0.0.1k). When I was compiling asterisk, I got the following
warnings:

==

gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE  -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-04/08/04-10:06:15\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN 
-fPIC   -c -o app_rxfax.o app_rxfax.c
In file included from ../include/spandsp.h:40,
 from app_rxfax.c:29:
../include/spandsp/arctan2.h: In function `arctan2':
../include/spandsp/arctan2.h:51: warning: implicit declaration of function
`fabs'
In file included from ../include/spandsp.h:47,
 from app_rxfax.c:29:
../include/spandsp/dc_restore.h: In function `fsaturate':
../include/spandsp/dc_restore.h:105: warning: implicit declaration of
function `lrint'
app_rxfax.c: At top level:
app_rxfax.c:50: warning: no previous prototype for `t30_flush'
app_rxfax.c:57: warning: no previous prototype for `phase_e_handler' gcc
-shared -Xlinker -x -I/usr/src/spandsp-0.0.1/src -o app_rxfax.so
app_rxfax.o -L/usr/src/spandsp-0.0.1/src -lspandsp -ltiff
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE  -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-04/08/04-10:06:15\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN 
-fPIC   -c -o app_txfax.o app_txfax.c
In file included from ../include/spandsp.h:40,
 from app_txfax.c:27:
../include/spandsp/arctan2.h: In function `arctan2':
../include/spandsp/arctan2.h:51: warning: implicit declaration of function
`fabs'
In file included from ../include/spandsp.h:47,
 from app_txfax.c:27:
../include/spandsp/dc_restore.h: In function `fsaturate':
../include/spandsp/dc_restore.h:105: warning: implicit declaration of
function `lrint'
app_txfax.c: At top level:
app_txfax.c:46: warning: no previous prototype for `t30_flush'
app_txfax.c:52: warning: no previous prototype for `phase_e_handler' gcc
-shared -Xlinker -x -I/usr/src/spandsp-0.0.1/src -o app_txfax.so
app_txfax.o -L/usr/src/spandsp-0.0.1/src -lspandsp -ltiff

==

Although it continued to compile without any other errors or warnings.
When I try to receive a fax (sent from a Rockwell HCF modem) I get the
following output in the asterisk console, and the originating fax doesn't
handshake with it:

==

-- Executing Goto("Modem[i4l]/ttyI0", "fax|s|1") in new stack
-- Goto (fax,s,1)
-- Executing Macro("Modem[i4l]/ttyI0", "faxreceive") in new stack --
Executing RxFAX("Modem[i4l]/ttyI0",
"/var/spool/asterisk-fax/1087693402.1.tif") in new stack
Jun 20 10:34:25 NOTICE[294927]: channel.c:1651 ast_set_read_format: Unable
to find a path from SLINR to UNKN
Jun 20 10:34:25 WARNING[294927]: app_rxfax.c:253 rxfax_exec: Unable to
restore read format on 'Modem[i4l]/ttyI0'
Jun 20 10:34:25 NOTICE[294927]: channel.c:1618 ast_set_write_format:
Unable to find a path from UNKN to SLINR
Jun 20 10:34:25 WARNING[294927]: app_rxfax.c:259 rxfax_exec: Unable to
restore write format on 'Modem[i4l]/ttyI0'
  == Spawn extension (macro-faxreceive, s, 1) exited non-zero on
'Modem[i4l]/ttyI0' in macro 'faxreceive'
  == Spawn extension (fax, s, 1) exited non-zero on 'Modem[i4l]/ttyI0'
-- Hungup 'Modem[i4l]/ttyI0'

==

Does anyone have any idea how I can get this to work? At the moment I am
only really interested in receiving faxes, but sending might be nice in
the future.

Regards
Darryl



___
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