From: Anthony Minessale Date: Fri, 2 Sep 2011 14:50:24 +0000 (-0500) Subject: typo X-Git-Tag: v1.2-rc1~51^2~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20b605dfcca11b6f2ff0c82ce306f8612b4d8c6;p=thirdparty%2Ffreeswitch.git typo --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 5e9dc13ef6..ea6e5ca2a4 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -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); } @@ -275,6 +275,7 @@ SWITCH_STANDARD_APP(digit_action_set_realm_function) switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Syntax Error, USAGE %s\n", DIGIT_ACTION_SET_REALM_USAGE); return; } + if ((dmachine = switch_core_session_get_dmachine(session, target))) { switch_ivr_dmachine_set_realm(dmachine, realm);