Add 'mohsuggest' configuration option to 'sip show peer' CLI command and
SIPShowPeer AMI action. (closes issue #15990) Reported by: _brent_ Patches: sip_peer_info_mohsuggest-r3.patch uploaded by brent (license 388) Review: https://reviewboard.asterisk.org/r/381/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
cdd1f9e296
commit
87ff40d3f3
|
@ -15684,6 +15684,7 @@ static char *_sip_show_peer(int type, int fd, struct mansession *s, const struct
|
|||
ast_cli(fd, " Pickupgroup : ");
|
||||
print_group(fd, peer->pickupgroup, 0);
|
||||
peer_mailboxes_to_str(&mailbox_str, peer);
|
||||
ast_cli(fd, " MOH Suggest : %s\n", peer->mohsuggest);
|
||||
ast_cli(fd, " Mailbox : %s\n", mailbox_str->str);
|
||||
ast_cli(fd, " VM Extension : %s\n", peer->vmexten);
|
||||
ast_cli(fd, " LastMsgsSent : %d/%d\n", (peer->lastmsgssent & 0x7fff0000) >> 16, peer->lastmsgssent & 0xffff);
|
||||
|
@ -15792,6 +15793,7 @@ static char *_sip_show_peer(int type, int fd, struct mansession *s, const struct
|
|||
astman_append(s, "%s\r\n", ast_print_group(buffer, sizeof(buffer), peer->callgroup));
|
||||
astman_append(s, "Pickupgroup: ");
|
||||
astman_append(s, "%s\r\n", ast_print_group(buffer, sizeof(buffer), peer->pickupgroup));
|
||||
astman_append(s, "MOHSuggest: %s\r\n", peer->mohsuggest);
|
||||
peer_mailboxes_to_str(&mailbox_str, peer);
|
||||
astman_append(s, "VoiceMailbox: %s\r\n", mailbox_str->str);
|
||||
astman_append(s, "TransferMode: %s\r\n", transfermode2str(peer->allowtransfer));
|
||||
|
|
|
@ -193,6 +193,7 @@ the mailing list archives and the documentation page on the
|
|||
Membership: <string> -- "Dynamic" or "static" member in queue
|
||||
Message: <text> -- Text message in ACKs, errors (explanation)
|
||||
Mix: <bool> -- Boolean parameter (monitor)
|
||||
MOHSuggest: -- Suggested music on hold class for peer (mohsuggest)
|
||||
NewMessages: <count> -- Count of new Mailbox messages (mailboxcount)
|
||||
Newname:
|
||||
ObjectName: -- Name of object in list
|
||||
|
|
Loading…
Reference in New Issue