From 26caa46c973578b1fe964ced6c82f0104c4f2cf1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 23 Feb 2009 13:49:34 +0000 Subject: [PATCH] MODAPP-220 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12243 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_enum/mod_enum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_enum/mod_enum.c b/src/mod/applications/mod_enum/mod_enum.c index fc7e1b3aa6..c4ee350ef3 100644 --- a/src/mod/applications/mod_enum/mod_enum.c +++ b/src/mod/applications/mod_enum/mod_enum.c @@ -639,7 +639,7 @@ SWITCH_STANDARD_APP(enum_app_function) continue; } switch_snprintf(vbuf, sizeof(vbuf), "enum_route_%d", cnt++); - switch_channel_set_variable(channel, vbuf, rp->route); + switch_channel_set_variable_var_check(channel, vbuf, rp->route, SWITCH_FALSE); if (rp->preference == last_pref && rp->order == last_order) { *last_delim = ','; } @@ -653,9 +653,9 @@ SWITCH_STANDARD_APP(enum_app_function) } switch_snprintf(vbuf, sizeof(vbuf), "%d", cnt - 1); - switch_channel_set_variable(channel, "enum_route_count", vbuf); + switch_channel_set_variable_var_check(channel, "enum_route_count", vbuf, SWITCH_FALSE); *(rbuf + strlen(rbuf) - 1) = '\0'; - switch_channel_set_variable(channel, "enum_auto_route", rbuf); + switch_channel_set_variable_var_check(channel, "enum_auto_route", rbuf, SWITCH_FALSE); free_results(&results); } }