[asterisk-bugs] [Asterisk 0016732]: [patch] Add AMI support for device states
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jan 29 10:13:31 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: new
Asterisk Version: SVN
JIRA:
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-01-29 10:13 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.
======================================================================
----------------------------------------------------------------------
(0117370) haakon (reporter) - 2010-01-29 10:13
https://issues.asterisk.org/view.php?id=16732#c117370
----------------------------------------------------------------------
Ok, I just saw that, if you have made a hint for a particular device state.
Then you will get a ExtensionStatus event, if the state changes on that
device.
This is probably good enough, so I can remove the new DeviceStateChanged
from the patch.
But I still think the get and set commands are nice to have. I need it to
update states about external mobile phones, that I get device information
about from my mobile phone provider, for example.
</monologue>
Issue History
Date Modified Username Field Change
======================================================================
2010-01-29 10:13 haakon Note Added: 0117370
======================================================================
More information about the asterisk-bugs
mailing list