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

Bartek Kania mrbk at gnarf.org
Wed Aug 17 06:57:10 MST 2005


-----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-----
-------------- next part --------------
Slow carrier up
Slow carrier down
Slow carrier up
<<< CSI: 40 35 38 33 20 30 30 30 36 2d 30 34 2d 36 34 2b 20 20 20 20 20
CSI without final frame tag
Remote fax gave CSI as: "+xx-xx-xxxx xxx"
<<< DIS: 80 00 ce f4 80 80 81 80 80 80 18
DIS with final frame tag
In state 10
DIS:
  Prefer 256 octet blocks
  Can receive fax
  Supported data signalling rates: V.27ter and V.29
  R8x7.7lines/mm and/or 200x200pels/25.4mm
  2D coding
  Scan line length: 215mm
  Recording length: Unlimited
  Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85
  R8x15.4lines/mm
  Minimum scan line time for higher resolutions: T15.4 = T7.7
  North American Letter (215.9mm x 279.4mm)
  North American Legal (215.9mm x 355.6mm)
DCS:
  Can receive fax
  Selected data signalling rate: V.29, 9600bps
  2D coding
  Scan line length: 215mm
  Recording length: A4 (297mm)
  Minimum scan line time: 20ms
  Minimum scan line time for higher resolutions: T15.4 = T7.7
Start sending document
Start tx document
Changed from phase 2 to 4
>>> DCS: 83 00 c6 80 80 80 00
HDLC underflow in state 3
Changed from phase 4 to 6
DCS with final frame tag
In state 9
Coarse carrier frequency 1699.85 (66)
Training error 0.506731
Training succeeded (constellation mismatch 0.703194)
Changed from phase 6 to 3
Slow carrier up
T4 timeout in state 4
Start rx document
Start rx page - compression 2


More information about the asterisk-users mailing list