The following modules needed tweaks for API changes.
addons/cdr_mysql.c
addons/chan_ooh323.c
apps/app_meetme.c
ASTERISK-28604
Change-Id: Ib40e513ae55b5114be035cdc929abb6a8ce2d06d
{
struct ast_str *sql1 = ast_str_thread_get(&sql1_buf, 1024), *sql2 = ast_str_thread_get(&sql2_buf, 1024);
int retries = 5;
-#if MYSQL_VERSION_ID >= 50013
+#if MYSQL_VERSION_ID >= 80001
+ bool my_bool_true = 1;
+#elif MYSQL_VERSION_ID >= 50013
my_bool my_bool_true = 1;
#endif
MYSQL_ROW row;
MYSQL_RES *result;
char sqldesc[128];
-#if MYSQL_VERSION_ID >= 50013
+#if MYSQL_VERSION_ID >= 80001
+ bool my_bool_true = 1;
+#elif MYSQL_VERSION_ID >= 50013
my_bool my_bool_true = 1;
#endif
ch = NULL;
}
}
-
- if (ch) {
- ast_publish_channel_state(ch);
-
- }
} else {
ao2_cleanup(caps);
ast_log(LOG_WARNING, "Unable to allocate channel structure\n");
}
ast_queue_control(c, AST_CONTROL_ANSWER);
- ast_publish_channel_state(c);
+ ast_channel_publish_snapshot(c);
ast_channel_unlock(p->owner);
}
ast_mutex_unlock(&p->lock);
STASIS_MESSAGE_TYPE_INIT(meetme_talk_request_type);
meetme_event_message_router = stasis_message_router_create(
- ast_channel_topic_all_cached());
+ ast_channel_topic_all());
if (!meetme_event_message_router) {
meetme_stasis_cleanup();