mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 19:40:08 +00:00
[Freeswitch-dev] Absolute conditions are not changing the proceed variable... (mod_dialplan_xml.c)
This commit is contained in:
parent
b9b77bd615
commit
e00a61c48b
@ -189,7 +189,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
|
|||||||
total++;
|
total++;
|
||||||
|
|
||||||
field = (char *) switch_xml_attr(xregex, "field");
|
field = (char *) switch_xml_attr(xregex, "field");
|
||||||
|
|
||||||
if (field) {
|
if (field) {
|
||||||
if (strchr(field, '$')) {
|
if (strchr(field, '$')) {
|
||||||
if ((field_expanded = switch_channel_expand_variables(channel, field)) == field) {
|
if ((field_expanded = switch_channel_expand_variables(channel, field)) == field) {
|
||||||
@ -222,9 +222,11 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
|
|||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG_CLEAN(session), SWITCH_LOG_DEBUG,
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG_CLEAN(session), SWITCH_LOG_DEBUG,
|
||||||
"Dialplan: %s Absolute Condition [%s] match=%s\n", switch_channel_get_name(channel), exten_name, all ? "all" : "any");
|
"Dialplan: %s Absolute Condition [%s] match=%s\n", switch_channel_get_name(channel), exten_name, all ? "all" : "any");
|
||||||
pass++;
|
pass++;
|
||||||
|
proceed = 1;
|
||||||
if (!all && !xor) break;
|
if (!all && !xor) break;
|
||||||
} else if (time_match == 1) {
|
} else if (time_match == 1) {
|
||||||
pass++;
|
pass++;
|
||||||
|
proceed = 1;
|
||||||
if (!all && !xor) break;
|
if (!all && !xor) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user