提交 090345de authored 作者: Anthony Minessale's avatar Anthony Minessale

add outcall_flags

上级 7f76b67f
......@@ -5678,6 +5678,7 @@ static switch_status_t conference_outcall(conference_obj_t *conference,
char appdata[512];
int rdlock = 0;
switch_bool_t have_flags = SWITCH_FALSE;
const char *outcall_flags;
*cause = SWITCH_CAUSE_NORMAL_CLEARING;
......@@ -5763,6 +5764,12 @@ static switch_status_t conference_outcall(conference_obj_t *conference,
goto done;
}
if ((outcall_flags = switch_channel_get_variable(peer_channel, "outcall_flags"))) {
if (!zstr(outcall_flags)) {
flags = (char *)outcall_flags;
}
}
if (flags && strcasecmp(flags, "none")) {
have_flags = SWITCH_TRUE;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论