Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-9780

Increasing MAX_COMMAND_TRIES in mod_spandsp

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.12
    • Fix Version/s: None
    • Component/s: mod_spandsp
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      CentOS
    • Distribution Version:
      CentOS 6
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      a910c4f2399a3d46d3354e15e4a5fd687726903f
    • GIT Master Revision hash::
      a910c4f2399a3d46d3354e15e4a5fd687726903f

      Description

      I encountered trouble with receiving faxes via mod_spandsp: in some cases Freeswitch does not negotiate T38 connection. I found that spandsp library in FS sources limits negotiation tries by 2 (MAX_COMMAND_TRIES define).
      My tests shown that T38 negotiation in many cases occurs in the third or fourth time. By changing MAX_COMMAND_TRIES from 3 to 6 I reached 100% fax passing. So, I propose to increase MAX_COMMAND_TRIES to 6.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              f93 Roman Sukhov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: