Break the world. Stasis message type accessors should now all be named correctly.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kinsey Moore
2013-03-28 15:45:18 +00:00
parent 1a2a4578d2
commit 71206544a7
11 changed files with 53 additions and 53 deletions

View File

@@ -441,7 +441,7 @@ static void channel_snapshot_update(void *data, struct stasis_subscription *sub,
update = stasis_message_data(message);
if (ast_channel_snapshot() != update->type) {
if (ast_channel_snapshot_type() != update->type) {
return;
}
@@ -593,11 +593,11 @@ static void channel_blob_cb(void *data, struct stasis_subscription *sub,
{
struct ast_channel_blob *obj = stasis_message_data(message);
if (strcmp("varset", ast_channel_blob_type(obj)) == 0) {
if (strcmp("varset", ast_channel_blob_json_type(obj)) == 0) {
channel_varset(obj);
} else if (strcmp("userevent", ast_channel_blob_type(obj)) == 0) {
} else if (strcmp("userevent", ast_channel_blob_json_type(obj)) == 0) {
channel_userevent(obj);
} else if (strcmp("hangup_request", ast_channel_blob_type(obj)) == 0) {
} else if (strcmp("hangup_request", ast_channel_blob_json_type(obj)) == 0) {
channel_hangup_request(obj);
}
}
@@ -627,12 +627,12 @@ int manager_channels_init(void)
}
ret |= stasis_message_router_add(channel_state_router,
stasis_cache_update(),
stasis_cache_update_type(),
channel_snapshot_update,
NULL);
ret |= stasis_message_router_add(channel_state_router,
ast_channel_blob(),
ast_channel_blob_type(),
channel_blob_cb,
NULL);