[Asterisk-Users] SpanDSP: Training failed (sequence failed)

2005-03-06 Thread CClarke
Hello All ~
Having problems sending and receiving faxes with SpanDSP. I am testing on a
simple 2 analog POTS to 2x X100p set up, connecting one line to a Konica 720
fax machine to test, or with other remote fax machines. Voice calls are
working pretty well now. Platform is P3/800MHz/256MB/FC1.

* recognizes faxes, and passes calls to RxFax and TxFax OK, but 99.9% of the
time no fax content is sent or received. (On one occasion coincidentally a
junk fax came in successfully while I was testing!).

I've reviewed previous posts and but can't find any relevant advice on where
to go next, since the fax negotiation seems to go OK so far, but then die (see
below), and no content is transmitted. The final error message from RxFax is:
Training failed (sequence failed)

Would really appreciate some expert advice on what this means and how to
fix...
Christina.

PS: Previous somewhat relevant posts I've been able to find:
http://lists.digium.com/pipermail/asterisk-users/2004-June/051143.html
http://lists.digium.com/pipermail/asterisk-users/2005-February/090978.html

Here's versions I'm using:
asterisk CVS-v1-0-02/20/05-17:04:48
spandsp 0.0.1k
libtiff 3.5.7

Here's the relevant CLI output:
-- Redirecting Zap/1-1 to fax extension
  == Spawn extension (default, fax, 0) exited non-zero on 'Zap/1-1'
-- Executing SetVar(Zap/1-1,
FAXFILE=/var/spool/asterisk-fax/1110134598.7.tif) in new stack
-- Executing RxFAX(Zap/1-1, /var/spool/asterisk-fax/1110134598.7.tif)
in new stack
Changed from phase 0 to 1
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Start receiving document
Changed from phase 1 to 4
Sending ident
 CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
DIS:
Preferred octets: 256
Can receive fax
Supported data signalling rates: V.27ter and V.29
R8x7.7lines/mm and/or 200x200pels/25.4mm OK
2D coding OK
Scan line length: 215mm
Recording length: A4 (297mm)
Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85
R8x15.4lines/mm OK
Minimum scan line time for higher resolutions: T15.4 = T7.7
 DIS: 80 00 ce f0 80 80 01
HDLC underflow in state 9
Changed from phase 4 to 3
Slow carrier up
Slow carrier down
Slow carrier up
 TSI: 43 32 31 32 31 35 35 35 39 31 35 20 20 20 20 20 20 20 20 20 20
TSI without final frame tag
Remote fax gave TSI as: 5195551212
 DCS: 83 00 06 00
DCS with final frame tag
In state 9
DCS:
Can receive fax
Selected data signalling rate: V.29, 9600bps
Scan line length: 215mm
Recording length: A4 (297mm)
Minimum scan line time: 20ms
Get at 9600
Changed from phase 3 to 5
Fast carrier up
Coarse carrier frequency 1741.58 (6)
Fast carrier down
Fast carrier up
Coarse carrier frequency 1700.10 (72)
Training error 216.035327
Training failed (convergence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.92 (72)
Training error 216.181752
Training failed (convergence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1699.77 (72)
Training error 236.605116
Training failed (convergence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Training failed (sequence failed)
Fast carrier training failed
Fast carrier down
Fast carrier up
Coarse carrier frequency 1759.74 (4)
Fast carrier down
Fast carrier up
Fast carrier down
-- Hungup 'Zap/1-1'

___
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] Sending DTMF to PSTN problem with SIP

2005-01-05 Thread CClarke
Dear All ~

I have * setup  running ok (with two Wildcard X100P's to PSTN). I also have
two analog phones connected into same through a SIPURA 2000. These work fine,
except that when I call out through PSTN  try to send DTMF tones to (say) a
remote PBX to dial an extension, the gain seems to go wild (high), and the
DTMF tones are not recognized at the other end.

I tried setting the SIP2000 to use inband dtmfmode (as opposed to auto), and
likewise in sip.conf, but no success.

btw, I've also set relaxdtmf=yes in zapata.conf since inbound calls sometimes
seem to have trouble dialling extensions.

A soft IAX phone (e.g. DIAXPhone) works ok, so I suspect my SIP2000/sip.conf
setup, but can't see what I'm doing wrong.

Christina.
___
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