From: David Vossel Date: Thu, 28 May 2009 16:08:30 +0000 (+0000) Subject: 'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not. X-Git-Tag: 1.6.1.3-rc1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddba5b90b0fc4395e5b974af2e833b21ac05d805;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.6.1@197623 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index be5e107b6f..1ad4e07824 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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, "")); ast_cli(a->fd, " Expire : %d\n", peer->expire); ast_cli(a->fd, " ACL : %s\n", (peer->ha ? "Yes" : "No"));