From: Brett Bryant Date: Fri, 3 Sep 2010 18:15:49 +0000 (+0000) Subject: This is a patch provided for issue #17935 to add the ActionID to the IAXregistry... X-Git-Tag: 1.6.2.14-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baf689788eb9f7e13d86ba7f8f2ec652859aeb3a;p=thirdparty%2Fasterisk.git This is a patch provided for issue #17935 to add the ActionID to the IAXregistry AMI response. (closes issue #17935) Reported by: alexkuklin Patches: iaxshowreg uploaded by alexkuklin (license 1115) Tested by: alexkuklin git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@284958 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index e9e86bd767..4b43678451 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -6809,13 +6809,14 @@ static int manager_iax2_show_registry(struct mansession *s, const struct message astman_append(s, "Event: RegistryEntry\r\n" + "%s" "Host: %s\r\n" "DNSmanager: %s\r\n" "Username: %s\r\n" "Perceived: %s\r\n" "Refresh: %d\r\n" "State: %s\r\n" - "\r\n", host, (reg->dnsmgr) ? "Y" : "N", reg->username, perceived, + "\r\n", idtext, host, (reg->dnsmgr) ? "Y" : "N", reg->username, perceived, reg->refresh, regstate2str(reg->regstate)); total++;