[Asterisk-code-review] chan sip: add missing account code (asterisk[13])
scgm11
asteriskteam at digium.com
Tue Nov 1 20:11:01 CDT 2016
scgm11 has uploaded a new change for review. ( https://gerrit.asterisk.org/4275 )
Change subject: chan_sip: add missing account code
......................................................................
chan_sip: add missing account code
Added missing account to AMI event of sip show peers
ASTERISK-26176 #close
Change-Id: Ieb6c2c80a838a1b59c82103eba4c63ba238dc482
---
M channels/chan_sip.c
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/4275/1
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 4c742ce..37a098f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20072,7 +20072,8 @@
"ACL: %s\r\n"
"Status: %s\r\n"
"RealtimeDevice: %s\r\n"
- "Description: %s\r\n\r\n",
+ "Description: %s\r\n\r\n"
+ "Accountcode: %s\r\n\r\n",
cont->idtext,
peer->name,
ast_sockaddr_isnull(&peer->addr) ? "-none-" : tmp_host,
@@ -20087,7 +20088,8 @@
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);
--
To view, visit https://gerrit.asterisk.org/4275
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb6c2c80a838a1b59c82103eba4c63ba238dc482
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: scgm11 <scgm11 at gmail.com>
More information about the asterisk-code-review
mailing list