diff options
author | Joshua Colp <jcolp@digium.com> | 2016-11-03 05:39:33 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-11-03 05:39:33 -0500 |
commit | a1bbdabb8e0eb39ba8eb0114ef53d8ea9ae2539e (patch) | |
tree | 477833fdbcb18a28a2218c81d264cf1e614166de /channels | |
parent | 180e5505207480103162aec24280f305521dcbc8 (diff) | |
parent | 0904c1f4ccaa5b40933dd52ffcd235a036e2ed1c (diff) |
Merge "chan_sip: add missing account code"
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 225931850..5e23f6fce 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20135,7 +20135,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, @@ -20150,7 +20152,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); |