[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:08:10 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15868 
====================================================================== 
Reported By:                nic_bellamy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15868
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 217558 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-09 18:31 CDT
Last Modified:              2009-09-10 07:08 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
====================================================================== 

---------------------------------------------------------------------- 
 (0110459) svnbot (reporter) - 2009-09-10 07:08
 https://issues.asterisk.org/view.php?id=15868#c110459 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 217593

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r217593 | oej | 2009-09-10 07:08:09 -0500 (Thu, 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=217593 

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




More information about the asterisk-bugs mailing list