[asterisk-bugs] [JIRA] (ASTERISK-20919) Unable to send or receive faxes with Asterisk 11 using res_fax and spandsp-0.0.6 (Tar ball spandsp-20120415)

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Thu Feb 21 16:18:19 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203325#comment-203325 ] 

Jonathan Rose commented on ASTERISK-20919:
------------------------------------------

Hey Nitesh, I've gotten the test working within our testsuite and made some edits to the test to get it formatted properly and other stuff like that. When you provided the run-test script, I noticed you didn't attribute yourself in the source, and I was wondering if you would like me to put your name (or a handle if you prefer) in the same section as Matt Nicholson's.
                
> Unable to send or receive faxes with Asterisk 11 using res_fax and spandsp-0.0.6 (Tar ball spandsp-20120415)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20919
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20919
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax_spandsp
>    Affects Versions: SVN
>         Environment: Debian Squeeze x86_64
>            Reporter: NITESH BANSAL
>            Assignee: Jonathan Rose
>         Attachments: AST_RECEIVER.tar.gz, AST_SENDER.tar.gz, patch_ast_fax_spandsp.patch, run-test
>
>
> Hello,
> I tried to test a basic T38 test case, using res_fax and spandsp.
> I am using 2 Asterisk instances - 1 for sending the fax and other one for receiving the fax.
> I observed that fax is failing. After enabling the debug option in both SendFAX and ReceiveFAX, i noticed that tx_packet_handler function call in SPANDSP is failing. This function calls translates into  t38_tx_packet_handler in res_fax_spandsp. This function is returning -1 if the following IF check isn't true:
> "if (s->details->caps & AST_FAX_TECH_GATEWAY) {"
> This check isn't true when Asterisk isn't running as a gateway and infact acting as an end point.
> I simuated this case using Asterisk test suite framework. I am attached the run_test script.
> In addition, i am attaching the sip.conf,extensions.conf of sending asterisk and sip.conf of the receiving Asterisk.
> On the receiving asterisk, dialplan simply consist of Answer() followed by ReceiveFAX.
> I have also attached the logs of Asterisk on both sides.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list