Hello,
the bench that gives me a problem is the following:
asterisk1 + spandsp ===>===PSTN===>=== asterisk2 + spandsp
1) i put a .call file inside Asterisk spool directory
2) the fax is sent successfully, I got this message in the sender's log:
....
[Oct 4 17:57:02] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 8
[Oct 4 17:57:03] DEBUG[17610] app_txfax.c: FLOW FAX Set rx type 0
[Oct 4 17:57:03] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 4
[Oct 4 17:57:04] DEBUG[17610] app_txfax.c: FLOW FAX Set rx type 4
[Oct 4 17:57:04] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 0
[Oct 4 17:57:05] DEBUG[17610] app_txfax.c: FLOW FAX Set rx type 0
[Oct 4 17:57:05] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 4
[Oct 4 17:57:06] DEBUG[17610] app_txfax.c: FLOW FAX Set rx type 0
[Oct 4 17:57:06] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 1
[Oct 4 17:57:07] DEBUG[17610] app_txfax.c: FLOW FAX Set rx type 13
[Oct 4 17:57:07] DEBUG[17610] app_txfax.c: FLOW FAX FAX exchange complete
[Oct 4 17:57:07] DEBUG[17610] app_txfax.c: FLOW FAX Set tx type 13
[Oct 4 17:57:07] DEBUG[17610] app_txfax.c: FLOW FAX FAX exchange complete
3) the fax .tiff file is well created on the rx side
4) But the .call file is never erased by Asterisk, because app_txfax.c never
finish.
Same behavior at the other end for app_rxfax.c, it never finish.
It is as if spandsp did not detect that the fax session was finished.
Nota: I have tried with this bench also, and I got the same behavior : the
app_txfax.c stay inside the while loop :
asterisk1 + spandsp ===>===PSTN===>=== HW fax
I have tried put some traces inside app_txfax and app_rxfax, and I see well
that both programs are staying inside the while loop without leaving it.
while (ast_waitfor(chan, -1) > -1)
{
....
}
Is it a configuration problem, or a bug?
Any help is welcome.
Pirlouwi.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users