mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
Merge "chan_sip: add missing account code"
This commit is contained in:
@@ -20135,7 +20135,9 @@ static struct sip_peer *_sip_show_peers_one(int fd, struct mansession *s, struct
|
|||||||
"ACL: %s\r\n"
|
"ACL: %s\r\n"
|
||||||
"Status: %s\r\n"
|
"Status: %s\r\n"
|
||||||
"RealtimeDevice: %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,
|
cont->idtext,
|
||||||
peer->name,
|
peer->name,
|
||||||
ast_sockaddr_isnull(&peer->addr) ? "-none-" : tmp_host,
|
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 */
|
ast_acl_list_is_empty(peer->acl) ? "no" : "yes", /* permit/deny/acl */
|
||||||
status,
|
status,
|
||||||
cont->realtimepeers ? (peer->is_realtime ? "yes" : "no") : "no",
|
cont->realtimepeers ? (peer->is_realtime ? "yes" : "no") : "no",
|
||||||
peer->description);
|
peer->description,
|
||||||
|
peer->accountcode);
|
||||||
}
|
}
|
||||||
ao2_unlock(peer);
|
ao2_unlock(peer);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user