[asterisk-commits] chan sip: add missing account code (asterisk[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 3 05:39:34 CDT 2016
Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/4284 )
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 2259318..5e23f6f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -20135,7 +20135,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,
@@ -20150,7 +20152,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/4284
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb6c2c80a838a1b59c82103eba4c63ba238dc482
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matthew Fredrickson <creslin at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: scgm11 <scgm11 at gmail.com>
More information about the asterisk-commits
mailing list