[asterisk-bugs] [Asterisk 0016732]: [patch] Add AMI support for device states

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 1 03:30:08 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16732 
====================================================================== 
Reported By:                haakon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16732
Category:                   Functions/func_devstate
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-826 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 244040 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-29 09:28 CST
Last Modified:              2010-02-01 03:30 CST
====================================================================== 
Summary:                    [patch] Add AMI support for device states
Description: 
main/devicestate.c says Asterisk Manager Interface (AMI) gets DeviceState
events, but this is not true.

This patch adds a "DeviceStateChanged" event to AMI. And also introduces
AMI commands DeviceStateSet and DeviceStateGet to controll device states
from AMI, if func_devicestate is compiled in.
====================================================================== 

---------------------------------------------------------------------- 
 (0117420) haakon (reporter) - 2010-02-01 03:30
 https://issues.asterisk.org/view.php?id=16732#c117420 
---------------------------------------------------------------------- 
The reason I sent an additional event for the response, was because I read
manager_dbget in main/cdr.c to see how to answer with one response. And it
used an additional event, so I thought that was the way to go. I will fix
that too. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-01 03:30 haakon         Note Added: 0117420                          
======================================================================




More information about the asterisk-bugs mailing list