mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Build: Fix compile issues with seldom used modules
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
This commit is contained in:
@@ -536,11 +536,6 @@ static struct ast_channel *ooh323_new(struct ooh323_pvt *i, int state,
|
||||
ch = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (ch) {
|
||||
ast_publish_channel_state(ch);
|
||||
|
||||
}
|
||||
} else {
|
||||
ao2_cleanup(caps);
|
||||
ast_log(LOG_WARNING, "Unable to allocate channel structure\n");
|
||||
@@ -2225,7 +2220,7 @@ int onCallEstablished(ooCallData *call)
|
||||
}
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user