Pirlouwi
2007-Oct-05 08:17 UTC
[asterisk-users] Spandsp Fax sent successfully but Asterisk don't terminate the call
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071005/ffaf9d70/attachment-0001.htm
Apparently Analagous Threads
- R: RE: RE: Spandsp
- spandsp wont compile.
- spandsp for 1.2.1 - libspandsp.so.0: cannot openshared object file: No such file or directory
- spandsp for 1.2.1 - libspandsp.so.0: cannot open shared object file: No such file or directory
- Problem installing Software Fax SpanDSP support into Asterisk