diff options
author | Matthew Jordan <mjordan@digium.com> | 2012-07-10 22:26:27 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2012-07-10 22:26:27 +0000 |
commit | 2ffae5745d6d68f1599f4dfbf0ead131cf5acc32 (patch) | |
tree | 1304cf10595e850a33e2dbb2458a2819751bc1ce /channels/sig_pri.c | |
parent | 3805e2ae4d654a24f7c98fc6f41dcec81d02670e (diff) |
Add some additional documentation for core AMI events
This patch adds some basic documentation for a number of modules. This
includes core source files in Asterisk (those in main), as well as
chan_agent, chan_dahdi, chan_local, sig_analog, and sig_pri. The DTD
has also been updated to allow referencing of AMI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.c')
-rw-r--r-- | channels/sig_pri.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c index 31438a945..248999073 100644 --- a/channels/sig_pri.c +++ b/channels/sig_pri.c @@ -5153,6 +5153,19 @@ static void sig_pri_moh_fsm_event(struct ast_channel *chan, struct sig_pri_chan */ static void sig_pri_ami_hold_event(struct ast_channel *chan, int is_held) { + /*** DOCUMENTATION + <managerEventInstance> + <synopsis>Raised when a PRI channel is put on Hold.</synopsis> + <syntax> + <parameter name="Status"> + <enumlist> + <enum name="On"/> + <enum name="Off"/> + </enumlist> + </parameter> + </syntax> + </managerEventInstance> + ***/ ast_manager_event(chan, EVENT_FLAG_CALL, "Hold", "Status: %s\r\n" "Channel: %s\r\n" |