mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-05 02:02:01 +00:00
typo
This commit is contained in:
parent
42b64ccd67
commit
f20b605dfc
@ -242,7 +242,7 @@ SWITCH_STANDARD_APP(clear_digit_action_function)
|
||||
char *target_str;
|
||||
switch_digit_action_target_t target = DIGIT_TARGET_SELF;
|
||||
|
||||
if ((target_str = strchr(realm, ' '))) {
|
||||
if ((target_str = strchr(realm, ','))) {
|
||||
*target_str++ = '\0';
|
||||
target = str2target(target_str);
|
||||
}
|
||||
@ -266,7 +266,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function)
|
||||
char *target_str;
|
||||
switch_digit_action_target_t target = DIGIT_TARGET_SELF;
|
||||
|
||||
if ((target_str = strchr(realm, ' '))) {
|
||||
if ((target_str = strchr(realm, ','))) {
|
||||
*target_str++ = '\0';
|
||||
target = str2target(target_str);
|
||||
}
|
||||
@ -276,6 +276,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if ((dmachine = switch_core_session_get_dmachine(session, target))) {
|
||||
switch_ivr_dmachine_set_realm(dmachine, realm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user