diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 16:08:30 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-28 16:08:30 +0000 |
commit | 5c0e2137bfd779e2109503eba61240a78d286938 (patch) | |
tree | b68ece225c2ecf7740176d5ac9cf0582f6168350 /channels | |
parent | e49b9ae09d307436e5b4e0103083ad62fd697336 (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.1@197623 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 be5e107b6..1ad4e0782 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, "<unspecified>")); ast_cli(a->fd, " Expire : %d\n", peer->expire); ast_cli(a->fd, " ACL : %s\n", (peer->ha ? "Yes" : "No")); |