summaryrefslogtreecommitdiff
path: root/channels/sig_pri.h
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-04-21 22:53:05 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-04-21 22:53:05 +0000
commit0f1ff9141e22d0bfd46126cb4b22bc7de5cce3ae (patch)
tree30f81ccc30556c9db6a3f7e2e182b437744e6cae /channels/sig_pri.h
parent13e925b276887c6a5593f77541ceb9161c4b0281 (diff)
Implement AMI action PRIShowSpans.
PRIShowSpans works like the AMI action DAHDIShowChannels but for PRI spans. It is similar to the CLI command "pri show spans". (closes issue #15980) Reported by: dwery git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@314735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r--channels/sig_pri.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h
index f2eef03d6..9b4f56e68 100644
--- a/channels/sig_pri.h
+++ b/channels/sig_pri.h
@@ -615,6 +615,9 @@ void sig_pri_chan_delete(struct sig_pri_chan *doomed);
int pri_is_up(struct sig_pri_span *pri);
+struct mansession;
+int sig_pri_ami_show_spans(struct mansession *s, const char *show_cmd, struct sig_pri_span *pri, const int *dchannels, const char *action_id);
+
void sig_pri_cli_show_channels_header(int fd);
void sig_pri_cli_show_channels(int fd, struct sig_pri_span *pri);
void sig_pri_cli_show_spans(int fd, int span, struct sig_pri_span *pri);