summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-11-02 17:32:36 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-11-02 17:32:36 -0500
commit57a9797e0ac51eae3b8f3254627646b9698a60d2 (patch)
tree4be6b7703836f577f598a6d6e42087be1dd2ca46
parentd971647949a5a6dee5c80526f2baa90b02687ad5 (diff)
parent714412f6c43f2b6b8f8af5a7d0d2bb337a24701c (diff)
Merge "chan_sip: add missing account code" into 13
-rw-r--r--channels/chan_sip.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 4c742cefe..b6b4cc86e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20072,7 +20072,9 @@ static struct sip_peer *_sip_show_peers_one(int fd, struct mansession *s, struct
"ACL: %s\r\n"
"Status: %s\r\n"
"RealtimeDevice: %s\r\n"
- "Description: %s\r\n\r\n",
+ "Description: %s\r\n"
+ "Accountcode: %s\r\n"
+ "\r\n",
cont->idtext,
peer->name,
ast_sockaddr_isnull(&peer->addr) ? "-none-" : tmp_host,
@@ -20087,7 +20089,8 @@ static struct sip_peer *_sip_show_peers_one(int fd, struct mansession *s, struct
ast_acl_list_is_empty(peer->acl) ? "no" : "yes", /* permit/deny/acl */
status,
cont->realtimepeers ? (peer->is_realtime ? "yes" : "no") : "no",
- peer->description);
+ peer->description,
+ peer->accountcode);
}
ao2_unlock(peer);