aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-11 18:17:28 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-11 18:17:28 +0000
commitcb29b604102b7e11cfcbad7d4b6e1dc5ab7128b9 (patch)
tree3d13f099090aa03123d66cd6cb74603efb763513
parent7a783aed45aa433a010096485d4c53216b09c1dc (diff)
Add DBGetComplete event after a DBGetResponse.
(closes issue #16965) Reported by: rrb3942 Patches: DBGetComplete.patch uploaded by rrb3942 (license 1003) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269938 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--CHANGES2
-rw-r--r--main/db.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8a216ba6a..66e023a1f 100644
--- 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
---------------------
diff --git a/main/db.c b/main/db.c
index 3ccd827f5..9129b321c 100644
--- 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;
}