Add DBGetComplete event after a DBGetResponse.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 11 Jun 2010 18:17:28 +0000 (18:17 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 11 Jun 2010 18:17:28 +0000 (18:17 +0000)
(closes issue #16965)
 Reported by: rrb3942
 Patches:
       DBGetComplete.patch uploaded by rrb3942 (license 1003)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269938 65c4cc65-6c06-0410-ace0-fbb531ad65f3

CHANGES
main/db.c

diff --git a/CHANGES b/CHANGES
index 8a216ba..66e023a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -395,6 +395,8 @@ Asterisk Manager Interface
    aoc event class.
  * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
    AOC-E messages on a channel.
+ * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
+   conform more closely to similar events.
 
 Channel Event Logging
 ---------------------
index 3ccd827..9129b32 100644 (file)
--- a/main/db.c
+++ b/main/db.c
@@ -661,6 +661,10 @@ static int manager_dbget(struct mansession *s, const struct message *m)
                                "%s"
                                "\r\n",
                                family, key, tmp, idText);
+               astman_append(s, "Event: DBGetComplete\r\n"
+                               "%s"
+                               "\r\n",
+                               idText);
        }
        return 0;
 }