summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-11-02 18:39:55 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-11-02 18:39:56 -0500
commit7d8b18d3fb79977fc59715defd2457c274084225 (patch)
tree679cf324067e2817a8ce75fb319b0df0497d7dd4
parentc573ace4457bda508e3eea689a52ad8162b52c39 (diff)
parent1012c284378582cb9eae81e96e49e11429e5308a (diff)
Merge "chan_sip: add missing account code" into 14
-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 8e1f677b6..260ff0a03 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20129,7 +20129,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,
@@ -20144,7 +20146,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);