提交 7e249935 authored 作者: Michael Jerris's avatar Michael Jerris

handle null 'status' passed to 'switch_channel_perform_presence' more gracefully

上级 a5f68081
...@@ -721,6 +721,7 @@ SWITCH_DECLARE(void) switch_channel_perform_presence(switch_channel_t *channel, ...@@ -721,6 +721,7 @@ SWITCH_DECLARE(void) switch_channel_perform_presence(switch_channel_t *channel,
if (!status) { if (!status) {
type = SWITCH_EVENT_PRESENCE_OUT; type = SWITCH_EVENT_PRESENCE_OUT;
status = "idle";
} }
if (!id) { if (!id) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论