[Asterisk-Users] TxFax -> RxFax on same machine hangs

Craig Guy cguy at bigpond.net.au
Wed Aug 17 08:06:58 MST 2005


Hi Bartek, I posted the exact same problem last week - I found that if I 
connected two Asterisk systems together via a PRI crossover cable and talk 
txfax to rxfax then you get a T4 state timeout.  I tried connecting ports 
one and two together on a TE410p and also connecting a TE410p to a TE110p, 
and a TE110p to a TE110p on different machines.  I also found this when 
looping back via the PSTN.  I read up a bit on what T4 actually is, and it 
seems to be a pretty high level state, where the faxes are transferring or 
about to transfer the tiff image data between themselves.  The faxes will 
eventually hangup on each other - if you do a zap destroy channel to force 
hangup then you will sometimes get a segfault and asterisk will crash.

I haven't found a solution for it, but it's not a big problem for me as I 
was only going txfax to rxfax as part of testing something else and I am 
using a hardfax attached to a SIP ata instead that works just fine against 
both rxfax and txfax.

Craig

----- Original Message ----- 
From: "Bartek Kania" <mrbk at gnarf.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Wednesday, August 17, 2005 9:57 PM
Subject: Re: [Asterisk-Users] TxFax -> RxFax on same machine hangs


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 17 Aug 2005, Steve Underwood wrote:
>> Bartek Kania wrote:
>>>> If the call really dialed out through a PSTN port and back in it
>>>> should work.  It is was a pure internal connection between 2
>>>> processes it will not. The timing for these programs comes from the
>>>> received data. No data, no work.
>>> I can confirm that this problem appears on a call through the PSTN.
>>> My setup is:
>>> TxFax -> Asterisk -> E1 -> Asterisk (same box) ->RxFax
>>> Asterisk version 1.0.9 and spandsp version 0.0.2pre18 on debian woody
>>> (3.0).
>>> I sent you an email about it with some debug information a week or so 
>>> ago.
>>> If you need it again, or need some other info I'll be happy to provide 
>>> it.
>> Did you put txfax in caller mode?
>
> Yes I did.
> This is a snippet from 'show channel' for the two channels:
>            Name: Zap/3-1
>            Type: Zap
>     ...
>       Frames in: 5249
>      Frames out: 265
>  Time to Hangup: 0
>    Elapsed Time: 0h1m45s
>  ...
>     Application: RxFAX
>            Data: /tmp/1123753288.12.tif
>           Stack: 1
>     Blocking in: ast_waitfor_nandfds
>
> and
>
>            Name: Zap/28-1
>            Type: Zap
>     ...
>       Frames in: 3123
>      Frames out: 430
>  Time to Hangup: 0
>    Elapsed Time: 0h1m3s
>  ...
>     Application: TxFAX
>            Data:
> /usr/local/asterisk/var/spool/asterisk/faxspool//ff-psbj1x.tif|caller|debug
>           Stack: 0
>     Blocking in: ast_waitfor_nandfds
>
> The console seems to indicate that the faxes start to communicate using
> the slow modems, and then hang after switching to a fast modem.
> Log is attached.
>
> /B
> - -- 
> * GPG-Key: http://evil.gnarf.org/mrbk.pgp
>
> A: Because we read from top to bottom, left to right.
> Q: Why should i start my reply below the quoted text?
> - -- http://www.i-hate-computers.demon.co.uk/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDA0I5ckvkFeO3ANARAjLJAJ0eXELd2WjzGOy59ptkFEE3kiUJcQCgxF9P
> 3WgYpTG5b1BfA3yOVk3w9wc=
> =lNab
> -----END PGP SIGNATURE-----


--------------------------------------------------------------------------------


> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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 




More information about the asterisk-users mailing list