]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
This is a patch provided for issue #17935 to add the ActionID to the IAXregistry...
authorBrett Bryant <bbryant@digium.com>
Fri, 3 Sep 2010 18:15:49 +0000 (18:15 +0000)
committerBrett Bryant <bbryant@digium.com>
Fri, 3 Sep 2010 18:15:49 +0000 (18:15 +0000)
(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

channels/chan_iax2.c

index e9e86bd767b99b2a198d8f4272f702ef4da4364c..4b43678451ba260809216a724f8c54961ae9b5b8 100644 (file)
@@ -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++;