[asterisk-commits] dvossel: branch 1.6.0 r197622 - /branches/1.6.0/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 28 11:06:08 CDT 2009


Author: dvossel
Date: Thu May 28 11:06:05 2009
New Revision: 197622

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197622
Log:
'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.


Modified:
    branches/1.6.0/channels/chan_iax2.c

Modified: branches/1.6.0/channels/chan_iax2.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/channels/chan_iax2.c?view=diff&rev=197622&r1=197621&r2=197622
==============================================================================
--- branches/1.6.0/channels/chan_iax2.c (original)
+++ branches/1.6.0/channels/chan_iax2.c Thu May 28 11:06:05 2009
@@ -2703,6 +2703,7 @@
 		ast_cli(a->fd, "  Context      : %s\n", peer->context);
 		ast_cli(a->fd, "  Mailbox      : %s\n", peer->mailbox);
 		ast_cli(a->fd, "  Dynamic      : %s\n", ast_test_flag(peer, IAX_DYNAMIC) ? "Yes" : "No");
+		ast_cli(a->fd, "  Trunk        : %s\n", ast_test_flag(peer, IAX_TRUNK) ? "Yes" : "No");
 		ast_cli(a->fd, "  Callerid     : %s\n", ast_callerid_merge(cbuf, sizeof(cbuf), peer->cid_name, peer->cid_num, "<unspecified>"));
 		ast_cli(a->fd, "  Expire       : %d\n", peer->expire);
 		ast_cli(a->fd, "  ACL          : %s\n", (peer->ha ? "Yes" : "No"));




More information about the asterisk-commits mailing list