Files
asterisk/main
David M. Lee 0eb4cf8c19 Remove required type field from channel blobs
When we first introduced the channel blob types, the JSON blobs were
self identifying by a required "type" field in the JSON object
itself. This, as it turns out, was a bad idea.

When we introduced the message router, it was useless for routing based
on the JSON type. And messages had two type fields to check: the
stasis_message_type() of the message itself, plus the type field in the
JSON blob (but only if it was a blob message).

This patch corrects that mistake by removing the required type field
from JSON blobs, and introducing first class stasis_message_type objects
for the actual message type.

Since we now will have a proliferation of message types, I introduced a
few macros to help reduce the amount of boilerplate necessary to set
them up.

Review: https://reviewboard.asterisk.org/r/2509


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-05-08 18:34:50 +00:00
..
2012-06-15 16:20:16 +00:00
2012-12-11 22:25:21 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2013-05-08 13:39:08 +00:00
2012-09-22 20:43:30 +00:00
2013-05-08 13:39:08 +00:00
2012-09-22 20:43:30 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2012-03-22 19:51:16 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-10-18 14:17:40 +00:00
2012-03-22 19:51:16 +00:00
2013-05-08 13:39:08 +00:00
2012-10-18 14:17:40 +00:00
2012-06-15 16:20:16 +00:00
2013-04-08 13:27:45 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-05-01 20:35:25 +00:00
2013-03-22 20:51:33 +00:00
2013-05-07 18:30:55 +00:00
2012-04-28 01:33:49 +00:00
2013-04-18 17:26:29 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2012-09-25 23:10:22 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-05-08 13:39:08 +00:00
2012-09-21 17:14:59 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2012-12-11 22:25:21 +00:00
2013-02-15 13:38:12 +00:00
2012-06-15 16:20:16 +00:00
2013-02-15 13:38:12 +00:00
2013-04-02 11:40:05 +00:00