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

a bug in function conference_api_sub_record

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.18
    • Fix Version/s: 1.8
    • Component/s: mod_conference
    • Labels:
      None
    • Environment:
      NA
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      na
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH (Version 1.9.0 git aba1068 2017-07-07 16:35:36Z 64bit)
    • GIT Master Revision hash::
      aba1068e091f73272e4f2bc766cb896ba093359c

      Description

      in conference_api.c function conference_api_sub_record below codes, before return should unlock conference->flag_mutex.

      if (!strcmp(path_a, path_b)) {
      stream->write_function(stream, "-ERR file [%s] is already being used for recording.\n", rec->path);
      return SWITCH_STATUS_SUCCESS;
      }

      correct code should be:
      if (!strcmp(path_a, path_b)) {
      stream->write_function(stream, "-ERR file [%s] is already being used for recording.\n", rec->path);
      switch_mutex_unlock(conference->flag_mutex);
      return SWITCH_STATUS_SUCCESS;
      }

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              liangl Liang Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: