提交 0929e126 authored 作者: Jeff Lenk's avatar Jeff Lenk 提交者: Travis Cross

FS-5290 --resolve

上级 757f5f50
......@@ -85,8 +85,8 @@ static switch_status_t exec_app(switch_core_session_t *session, const char *app,
#define check_tz() \
do { \
tzoff = switch_event_get_header((switch_event_t *)channel, "tod_tz_offset"); \
tzname = switch_event_get_header((switch_event_t *)channel, "timezone"); \
tzoff = switch_channel_get_variable(channel, "tod_tz_offset"); \
tzname = switch_channel_get_variable(channel, "timezone"); \
if (!zstr(tzoff) && switch_is_number(tzoff)) { \
offset = atoi(tzoff); \
break; \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论