mirror of https://github.com/asterisk/asterisk
When opening a file for writing, Asterisk silently converts filenames ending with 'wav49' to 'WAV.' We aren't taking that in to account when setting the MIXMONITOR_FILENAME variable in MixMonitor. * If the user wants to write to a wav49 file, make sure that it is reflected properly in MIXMONITOR_FILENAME. * Add a note to the documentation describing this behavior. * Add a note in main/file.c indicating that app_mixmonitor needs to be changed if the logic in build_filename was changed. ASTERISK-24798 #close Reported by: xrobau Change-Id: I384691ce624eb55c80a125b9ca206d2d691c574cpull/18/head
parent
519f21ecb2
commit
ddfb60ac2c
@ -0,0 +1,8 @@
|
||||
Subject: app_mixmonitor
|
||||
|
||||
If the 'filename' argument to MixMonitor() ended with '.wav49,'
|
||||
Asterisk would silently convert the extension to '.WAV' when opening
|
||||
the file for writing. This caused the MIXMONITOR_FILENAME variable to
|
||||
reference the wrong file. The MIXMONITOR_FILENAME variable will now
|
||||
reflect the name of the file that Asterisk actually used instead of
|
||||
the filename that was passed to the application.
|
Loading…
Reference in new issue