Skip to content
Snippets Groups Projects
Commit df6237ea authored by Joshua Colp's avatar Joshua Colp
Browse files

Add volume adjustment in.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f066bfc3
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,11 @@ static void launch_monitor_thread(struct ast_channel *chan, const char *filename
ast_set_flag(&mixmonitor->audiohook, AST_AUDIOHOOK_TRIGGER_WRITE);
if (readvol)
mixmonitor->audiohook.options.read_volume = readvol;
if (writevol)
mixmonitor->audiohook.options.write_volume = writevol;
if (startmon(chan, &mixmonitor->audiohook)) {
ast_log(LOG_WARNING, "Unable to add '%s' spy to channel '%s'\n",
mixmonitor_spy_type, chan->name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment