mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
FS-5290 --resolve
This commit is contained in:
parent
757f5f50fd
commit
0929e12630
@ -85,8 +85,8 @@ static switch_status_t exec_app(switch_core_session_t *session, const char *app,
|
|||||||
|
|
||||||
#define check_tz() \
|
#define check_tz() \
|
||||||
do { \
|
do { \
|
||||||
tzoff = switch_event_get_header((switch_event_t *)channel, "tod_tz_offset"); \
|
tzoff = switch_channel_get_variable(channel, "tod_tz_offset"); \
|
||||||
tzname = switch_event_get_header((switch_event_t *)channel, "timezone"); \
|
tzname = switch_channel_get_variable(channel, "timezone"); \
|
||||||
if (!zstr(tzoff) && switch_is_number(tzoff)) { \
|
if (!zstr(tzoff) && switch_is_number(tzoff)) { \
|
||||||
offset = atoi(tzoff); \
|
offset = atoi(tzoff); \
|
||||||
break; \
|
break; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user