[asterisk-bugs] [Asterisk 0016965]: [patch] DBGet response does not end with a 'Complete' event

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 11 13:17:28 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16965 
====================================================================== 
Reported By:                rrb3942
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   16965
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
JIRA:                       SWP-1044 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-04 14:45 CST
Last Modified:              2010-06-11 13:17 CDT
====================================================================== 
Summary:                    [patch] DBGet response does not end with a
'Complete' event
Description: 
DBGet returns its response as an event, but it does not send a 'Complete'
event.

For example take this Action -

Action: DBGet
Family: Foo
Key: bar
ActionID: 1

How it responds now -

Response: Success
Message: Result will follow
ActionID: 1

Event: DBGetResponse
Family: Foo
Key: bar
Value: sip123
ActionID: 1

How it should respond -

Response: Success
Message: Result will follow
ActionID: 1

Event: DBGetResponse
Family: Foo
Key: bar
Value: sip123
ActionID: 1

Event: DBGetComplete
ActionID: 1

This will bring DBGet in line with how other manager actions behave when
responding with events.
====================================================================== 

---------------------------------------------------------------------- 
 (0123290) svnbot (reporter) - 2010-06-11 13:17
 https://issues.asterisk.org/view.php?id=16965#c123290 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 269938

U   trunk/CHANGES
U   trunk/main/db.c

------------------------------------------------------------------------
r269938 | tilghman | 2010-06-11 13:17:28 -0500 (Fri, 11 Jun 2010) | 7
lines

Add DBGetComplete event after a DBGetResponse.

(closes issue https://issues.asterisk.org/view.php?id=16965)
 Reported by: rrb3942
 Patches: 
       DBGetComplete.patch uploaded by rrb3942 (license 1003)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-11 13:17 svnbot         Checkin                                      
2010-06-11 13:17 svnbot         Note Added: 0123290                          
======================================================================




More information about the asterisk-bugs mailing list