]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-276
authorKen Rice <krice@freeswitch.org>
Thu, 14 May 2009 02:57:21 +0000 (02:57 +0000)
committerKen Rice <krice@freeswitch.org>
Thu, 14 May 2009 02:57:21 +0000 (02:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13300 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_easyroute/mod_easyroute.c

index 2150bb23c82ed618cc6a7bd1f430d8a898813f86..c6a0bf92aa97b718315982ad451c565c224c329d 100644 (file)
@@ -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);