Skip to content
Snippets Groups Projects
Commit a1bbdabb authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "chan_sip: add missing account code"

parents 180e5505 0904c1f4
No related branches found
No related tags found
No related merge requests found
......@@ -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);
 
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment