diff options
author | Scott Griepentrog <sgriepentrog@digium.com> | 2014-09-16 16:32:49 +0000 |
---|---|---|
committer | Scott Griepentrog <sgriepentrog@digium.com> | 2014-09-16 16:32:49 +0000 |
commit | 79b702f3080c106c3ae4d9046608214fdea63ff9 (patch) | |
tree | 40edd93cb02d9430c1a6ea74edb4afd974d9e999 /res/res_rtp_asterisk.c | |
parent | 48d58da883990af3f50557d991228897fefe7b48 (diff) |
Voicemail: get correct duration when copying file to vm
Changes made during format improvements resulted in the
recording to voicemail option 'm' of the MixMonitor app
writing a zero length duration in the msgXXXX.txt file.
This change introduces a new function ast_ratestream(),
which provides the sample rate of the format associated
with the stream, and updates the app_voicemail function
for ast_app_copy_recording_to_vm to calculate the right
duration.
Review: https://reviewboard.asterisk.org/r/3996/
ASTERISK-24328 #close
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@423192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_rtp_asterisk.c')
0 files changed, 0 insertions, 0 deletions