diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 16:06:05 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 16:06:05 +0000 |
commit | 477c2853ac5a123969e65bcbe6e52d8e9a99814a (patch) | |
tree | 9791a1b587efd658292d0a7c4abc779dec7de2e6 /channels/chan_iax2.c | |
parent | 2106d0145e3fe6ac8e52f0f188b3825a29f39ca0 (diff) |
'iax show peer blah' now outputs whether or not peer 'blah' is in trunk mode or not.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@197622 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index e378790ff..b89e912b3 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -2703,6 +2703,7 @@ static char *handle_cli_iax2_show_peer(struct ast_cli_entry *e, int cmd, struct 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")); |