mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
Documentation: Improve documentation for ExtensionStatus AMI events
Review: https://reviewboard.asterisk.org/r/4085/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@426120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1191,11 +1191,76 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||||||
<managerEventInstance class="EVENT_FLAG_CALL">
|
<managerEventInstance class="EVENT_FLAG_CALL">
|
||||||
<synopsis>Raised when a hint changes due to a device state change.</synopsis>
|
<synopsis>Raised when a hint changes due to a device state change.</synopsis>
|
||||||
<syntax>
|
<syntax>
|
||||||
<parameter name="Exten" />
|
<parameter name="Exten">
|
||||||
<parameter name="Context" />
|
<para>Name of the extension.</para>
|
||||||
<parameter name="Hint" />
|
</parameter>
|
||||||
<parameter name="Status" />
|
<parameter name="Context">
|
||||||
<parameter name="StatusText" />
|
<para>Context that owns the extension.</para>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="Hint">
|
||||||
|
<para>Hint set for the extension</para>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="Status">
|
||||||
|
<para>Numerical value of the extension status. Extension
|
||||||
|
status is determined by the combined device state of all items
|
||||||
|
contained in the hint.</para>
|
||||||
|
<enumlist>
|
||||||
|
<enum name="-2">
|
||||||
|
<para>The extension was removed from the dialplan.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="-1">
|
||||||
|
<para>The extension's hint was removed from the dialplan.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="0">
|
||||||
|
<para><literal>Idle</literal> - Related device(s) are in an idle
|
||||||
|
state.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="1">
|
||||||
|
<para><literal>InUse</literal> - Related device(s) are in active
|
||||||
|
calls but may take more calls.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="2">
|
||||||
|
<para><literal>Busy</literal> - Related device(s) are in active
|
||||||
|
calls and may not take any more calls.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="4">
|
||||||
|
<para><literal>Unavailable</literal> - Related device(s) are
|
||||||
|
not reachable.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="8">
|
||||||
|
<para><literal>Ringing</literal> - Related device(s) are
|
||||||
|
currently ringing.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="9">
|
||||||
|
<para><literal>InUse&Ringing</literal> - Related device(s)
|
||||||
|
are currently ringing and in active calls.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="16">
|
||||||
|
<para><literal>Hold</literal> - Related device(s) are
|
||||||
|
currently on hold.</para>
|
||||||
|
</enum>
|
||||||
|
<enum name="17">
|
||||||
|
<para><literal>InUse&Hold</literal> - Related device(s)
|
||||||
|
are currently on hold and in active calls.</para>
|
||||||
|
</enum>
|
||||||
|
</enumlist>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="StatusText">
|
||||||
|
<para>Text representation of <literal>Status</literal>.</para>
|
||||||
|
<enumlist>
|
||||||
|
<enum name="Idle" />
|
||||||
|
<enum name="InUse" />
|
||||||
|
<enum name="Busy" />
|
||||||
|
<enum name="Unavailable" />
|
||||||
|
<enum name="Ringing" />
|
||||||
|
<enum name="InUse&Ringing" />
|
||||||
|
<enum name="Hold" />
|
||||||
|
<enum name="InUse&Hold" />
|
||||||
|
<enum name="Unknown">
|
||||||
|
<para>Status does not match any of the above values.</para>
|
||||||
|
</enum>
|
||||||
|
</enumlist>
|
||||||
|
</parameter>
|
||||||
</syntax>
|
</syntax>
|
||||||
</managerEventInstance>
|
</managerEventInstance>
|
||||||
</managerEvent>
|
</managerEvent>
|
||||||
|
Reference in New Issue
Block a user