From: David Vossel Date: Thu, 28 May 2009 15:51:52 +0000 (+0000) Subject: 'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not. X-Git-Tag: 1.4.26-rc1~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67928d88a933416e6cafa6c2898f71dc76596084;p=thirdparty%2Fasterisk.git 'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@197620 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 8ef2acc6f9..32a730a168 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -2512,6 +2512,7 @@ static int iax2_show_peer(int fd, int argc, char *argv[]) ast_cli(fd, " Context : %s\n", peer->context); ast_cli(fd, " Mailbox : %s\n", peer->mailbox); ast_cli(fd, " Dynamic : %s\n", ast_test_flag(peer, IAX_DYNAMIC) ? "Yes":"No"); + ast_cli(fd, " Trunk : %s\n", ast_test_flag(peer, IAX_TRUNK) ? "Yes" : "No"); ast_cli(fd, " Callerid : %s\n", ast_callerid_merge(cbuf, sizeof(cbuf), peer->cid_name, peer->cid_num, "")); ast_cli(fd, " Expire : %d\n", peer->expire); ast_cli(fd, " ACL : %s\n", (peer->ha?"Yes":"No"));