]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 284958 via svnmerge from
authorBrett Bryant <bbryant@digium.com>
Fri, 3 Sep 2010 18:19:53 +0000 (18:19 +0000)
committerBrett Bryant <bbryant@digium.com>
Fri, 3 Sep 2010 18:19:53 +0000 (18:19 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r284958 | bbryant | 2010-09-03 14:15:49 -0400 (Fri, 03 Sep 2010) | 8 lines

  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.8@284967 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index efe50f1b5df9d070205263e113264cb003e0b4a6..b05adaa1a7fd900a435c923cae6ca5ff22e9d9c5 100644 (file)
@@ -7047,13 +7047,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++;