[svn-commits] kpfleming: trunk r225245 - in /trunk: channels/chan_sip.c doc/tex/manager.tex

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 21 16:15:44 CDT 2009


Author: kpfleming
Date: Wed Oct 21 16:15:40 2009
New Revision: 225245

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=225245
Log:
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/


Modified:
    trunk/channels/chan_sip.c
    trunk/doc/tex/manager.tex

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=225245&r1=225244&r2=225245
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 21 16:15:40 2009
@@ -15684,6 +15684,7 @@
 		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 @@
 		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));

Modified: trunk/doc/tex/manager.tex
URL: http://svnview.digium.com/svn/asterisk/trunk/doc/tex/manager.tex?view=diff&rev=225245&r1=225244&r2=225245
==============================================================================
--- trunk/doc/tex/manager.tex (original)
+++ trunk/doc/tex/manager.tex Wed Oct 21 16:15:40 2009
@@ -193,6 +193,7 @@
  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




More information about the svn-commits mailing list