[asterisk-commits] chan sip: add missing account code (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 2 17:32:36 CDT 2016
Joshua Colp has submitted this change and it was merged. ( 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, 5 insertions(+), 2 deletions(-)
Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
Matthew Fredrickson: Looks good to me, approved
Corey Farrell: Looks good to me, but someone else must approve
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 4c742ce..b6b4cc8 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20072,7 +20072,9 @@
"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,
@@ -20087,7 +20089,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: merged
Gerrit-Change-Id: Ieb6c2c80a838a1b59c82103eba4c63ba238dc482
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: scgm11 <scgm11 at gmail.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-commits
mailing list