[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)

NITESH BANSAL (JIRA) noreply at issues.asterisk.org
Fri Jan 11 09:04:45 CST 2013


NITESH BANSAL created ASTERISK-20919:
----------------------------------------

             Summary: 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


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