|Summary:||ASTERISK-19249: AMI PauseMonitor or UnpauseMonitor With Missing or Unknown Channel Forcibly Disconnects AMI Session.|
|Reporter:||Jamuel Starkey (jamuel)||Labels:|
|Date Opened:||2012-01-26 15:39:21.000-0600||Date Closed:||2012-01-27 13:22:01.000-0600|
|Environment:||Attachments:||( 0) res_monitor.c-ASTERISK-19249.diff|
|Description:||If an AMI client sends either action: PauseMonitor or UnpauseMonitor with either a missing Channel parameter or a Channel with a value that doesn't exist the error is reported reported correctly. The client's AMI session however is forcibly disconnected rather. |
The expected response would be to just indicate an error and keep the AMI session open to allow for additional commands or events to be processed.
|Comments:||By: Jamuel Starkey (jamuel) 2012-01-26 15:42:13.165-0600|
Looks like a trivial patch. Attaching now.