doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16865 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b8e1221e00
commit
bddcc37571
|
@ -704,7 +704,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session,
|
||||||
if ((to = switch_channel_get_variable(channel, "park_timeout"))) {
|
if ((to = switch_channel_get_variable(channel, "park_timeout"))) {
|
||||||
char *cause_str;
|
char *cause_str;
|
||||||
|
|
||||||
if ((cause_str = strstr(to, ':'))) {
|
if ((cause_str = strchr(to, ':'))) {
|
||||||
timeout_cause = switch_channel_str2cause(cause_str + 1);
|
timeout_cause = switch_channel_str2cause(cause_str + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue