[asterisk-bugs] [JIRA] (ASTERISK-21810) [patch] Dropouts/distortion in MixMonitor recording when recording RTP with ptime of 60ms

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu May 23 09:54:02 CDT 2013


Rusty Newton created ASTERISK-21810:
---------------------------------------

             Summary: [patch] Dropouts/distortion in MixMonitor recording when recording RTP with ptime of 60ms
                 Key: ASTERISK-21810
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21810
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_mixmonitor
    Affects Versions: 11.4.0
         Environment: Ubuntu 10.04.4 LTS
            Reporter: Michael Walton
            Severity: Minor


When using MixMonitor to record a SIP call with ptime 60ms (possibly others also), the recording of one of the directions is heavily distorted due to repeated discontinuities in the recorded stream. Rate of dropout is 10-20 times per second. 

The bug has been found in main/slinfactory.c and exists in at least 1.8 and 11 SVN revisions. The problem is a clear bug in the hold buffer logic in ast_slinfactory_read(). The attached patch fixes the problem by using the current offset sf->offset instead of the start of the hold buffer as the source for memcpy'ing data to the  read buffer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list