the attached log with verbose=6 and debug=6 refers.
we've got a sangoma A104 (no hwec) with PRI ports 1 & 3 loopbacked to each
other. we're trying to have txfax send out on one of those pri ports with
rxfax listening on the other side, hence having asterisk send a fax to
itself. we however have bad, and i mean really bad (<10%) success rates.
we're currently using asterisk 1.2.24 with spandsp 0.0.4-20071214
(snapshot of 14/12/07) and we keep getting "Fax send not successful -
result (25) No response after sending a page." errors. ECM is turned on in
both app_txfax.c and app_rxfax.c.
from what we gather just reading the code, time T4 expires in txfax because
apparently rxfax is not sending a response back out, and thus after the
maximum message retries (3) txfax just drops the call, leading rxfax to
say that the call was dropped prematurely.
does anyone know what's going on here, and if there is a version of
spandsp which could work in this scenario ?
--
Regards, /\_/\ "All dogs go to heaven."
[EMAIL PROTECTED](0 0) http://www.openmalaysiablog.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b." |
| done; done |
+=+
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Attempting call on Zap/g1/1002
for [EMAIL PROTECTED]:1 (Retry 1)
Dec 21 18:32:05 DEBUG[205] chan_zap.c: Using channel 1
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Requested transfer capability:
0x00 - SPEECH
Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1 - state 2
(In use)
Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1 - state 2
(In use)
Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/1' changed to state '2' (In
use) but we don't care because they're not a member of any queue.
Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/1' changed to state '2' (In
use) but we don't care because they're not a member of any queue.
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Accepting call from '' to '1002'
on channel 0/1, span 2
Dec 21 18:32:05 DEBUG[205] chan_zap.c: No echo cancellation requested
Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/32 - state 2
(In use)
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Answer'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Answer("Zap/32-1", "")
in new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Wait'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Wait("Zap/32-1", "") in
new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set("Zap/32-1",
"FAXFILE=/tmp/FAX-1198233125.1.tiff") in new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Function result is '1002'
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set("Zap/32-1",
"NEWFAXFILE=/var/spool/asterisk/fax/FAX-1002--11982331251198233125.1.tiff")
in new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'RxFAX'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing RxFAX("Zap/32-1",
"/tmp/FAX-1198233125.1.tiff|debug") in new stack
Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/32' changed to state '2'
(In use) but we don't care because they're not a member of any queue.
Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/32 - state 2
(In use)
Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/32-1 to read format slin
Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/32-1 to write format slin
Dec 21 18:32:05 DEBUG[205] app_queue.c: Device 'Zap/32' changed to state '2'
(In use) but we don't care because they're not a member of any queue.
Dec 21 18:32:05 DEBUG[205] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING
on channel 0/1 span 1
Dec 21 18:32:05 DEBUG[205] chan_zap.c: No echo cancellation requested
Dec 21 18:32:05 VERBOSE[205] logger.c:> Channel Zap/1-1 was answered.
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Answer'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Answer("Zap/1-1", "")
in new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'Set'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing Set("Zap/1-1",
"CDR(userfield)=FAX-1") in new stack
Dec 21 18:32:05 DEBUG[205] pbx.c: Launching 'TxFAX'
Dec 21 18:32:05 VERBOSE[205] logger.c: -- Executing TxFAX("Zap/1-1",
"/var/spool/asterisk/outgoing_fax/page.1.1.tiff|caller|debug") in new stack
Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/1-1 to read format slin
Dec 21 18:32:05 DEBUG[205] channel.c: Set channel Zap/1-1 to write format slin
Dec 21 18:32:05 DEBUG[205] devicestate.c: Changing state for Zap/1