mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user