From bfea650d72674acf739314b8e80454c07fe8b687 Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Thu, 14 May 2009 02:57:21 +0000 Subject: [PATCH] MODAPP-276 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13300 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_easyroute/mod_easyroute.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index 2150bb23c8..c6a0bf92aa 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -44,7 +44,6 @@ typedef struct easyroute_results{ char limit[16]; - char destnum[16]; char dialstring[256]; char group[16]; char acctcode[17]; @@ -323,7 +322,7 @@ SWITCH_STANDARD_APP(easyroute_app_function) } route_lookup(destnum, &results, noat, seperator); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "EASY ROUTE DEST: [%s]\n", results.dialstring); - switch_channel_set_variable(channel, "easy_destnum", results.destnum); + switch_channel_set_variable(channel, "easy_destnum", destnum); switch_channel_set_variable(channel, "easy_dialstring", results.dialstring); switch_channel_set_variable(channel, "easy_group", results.group); switch_channel_set_variable(channel, "easy_limit", results.limit);