Skip to content
Snippets Groups Projects
Commit 56a69943 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 258775 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r258775 | tilghman | 2010-04-25 13:09:05 -0500 (Sun, 25 Apr 2010) | 6 lines
  
  When StopMonitor is called, ensure that it will not be restarted by a channel event.
  (closes issue #16590)
   Reported by: kkm
   Patches: 
         resmonitor-16590-trunk.239289.diff uploaded by kkm (license 888)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b65e2b6f
Branches
Tags
No related merge requests found
...@@ -509,7 +509,9 @@ int AST_OPTIONAL_API_NAME(ast_monitor_stop)(struct ast_channel *chan, int need_l ...@@ -509,7 +509,9 @@ int AST_OPTIONAL_API_NAME(ast_monitor_stop)(struct ast_channel *chan, int need_l
chan->name, chan->name,
chan->uniqueid chan->uniqueid
); );
pbx_builtin_setvar_helper(chan, "MONITORED", NULL);
} }
pbx_builtin_setvar_helper(chan, "AUTO_MONITOR", NULL);
UNLOCK_IF_NEEDED(chan, need_lock); UNLOCK_IF_NEEDED(chan, need_lock);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment