Merged revisions 284958 via svnmerge from

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
This commit is contained in:
Brett Bryant
2010-09-03 18:19:53 +00:00
parent 677c54d1f2
commit a9d85157ed

View 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++;