Make failed PauseMonitor and UnpauseMonitor with no valid channel not close AMI session.
authorJonathan Rose <jrose@digium.com>
Fri, 27 Jan 2012 19:26:53 +0000 (19:26 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 27 Jan 2012 19:26:53 +0000 (19:26 +0000)
commit8a401484daeeeb4d74b107048c0cd33dc579f471
tree1cdb97c0a5f5fa8c6c4a322353a4aaf5c2843573
parent27b69e7d29dc100e5fdf3cf911c3a02f3b5fd2b5
Make failed PauseMonitor and UnpauseMonitor with no valid channel not close AMI session.

I also went ahead and took a little time to make sure that the manager value
AMI_SUCCESS was used instead of just return 0 being thrown around everywhere since that's
how we handle this stuff these days.

(closes issue ASTERISK-19249)
Reporter: Jamuel Starkey
Patches:
res_monitor.c-ASTERISK-19249.diff uploaded by Jamuel Starkey (license 5766)
........

Merged revisions 352959 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 352965 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_monitor.c