[asterisk-bugs] [Asterisk 0015868]: [patch] SIPshowregistry manager action obmits ActionID from RegistryEntry events

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 10 07:12:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15868 
====================================================================== 
Reported By:                nic_bellamy
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   15868
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 217558 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-09 18:31 CDT
Last Modified:              2009-09-10 07:12 CDT
====================================================================== 
Summary:                    [patch] SIPshowregistry manager action obmits
ActionID from RegistryEntry events
Description: 
When performing a SIPshowregistry manager API action, the "Response:
Success" and the "Event: RegistrationsComplete" responses both include the
ActionID, but the "Event: RegistryEntry" events do not.

The attached patch fixes the issue.

Example of the problem:

Action: SIPshowregistry
ActionID: 1234

Response: Success
ActionID: 1234
Eventlist: start
Message: Registrations will follow 

Event: RegistryEntry
Host: turbo
Port: 5060
Username: 604
Refresh: 105
State: Registered
RegistrationTime: 1252537136

Event: RegistrationsComplete
EventList: Complete
ListItems: 1
ActionID: 1234
====================================================================== 

---------------------------------------------------------------------- 
 (0110462) svnbot (reporter) - 2009-09-10 07:12
 https://issues.asterisk.org/view.php?id=15868#c110462 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 217595

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r217595 | oej | 2009-09-10 07:12:21 -0500 (Thu, 10 Sep 2009) | 16 lines

Merged revisions 217593 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r217593 | oej | 2009-09-10 14:06:55 +0200 (Tor, 10 Sep 2009) | 8 lines

Include ActionID in all events that are responsed to AMI Action
SIPShowRegistry

(closes issue https://issues.asterisk.org/view.php?id=15868)
Reported by: nic_bellamy
Patches: 
      manager_SIPshowregistry_actionid.patch uploaded by nic bellamy
(license 299)


........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=217595 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-10 07:12 svnbot         Checkin                                      
2009-09-10 07:12 svnbot         Note Added: 0110462                          
======================================================================




More information about the asterisk-bugs mailing list