]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.
authorDavid Vossel <dvossel@digium.com>
Thu, 28 May 2009 16:08:30 +0000 (16:08 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 28 May 2009 16:08:30 +0000 (16:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@197623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index be5e107b6f57713f1c6215fd3c5167b72d6043ea..1ad4e07824594d0254a06833b8a4d913ed1cbcb9 100644 (file)
@@ -2763,6 +2763,7 @@ static char *handle_cli_iax2_show_peer(struct ast_cli_entry *e, int cmd, struct
                ast_cli(a->fd, "  Parking lot  : %s\n", peer->parkinglot);
                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"));