[Freeswitch-svn] [commit] r13300 - freeswitch/trunk/src/mod/applications/mod_easyroute

FreeSWITCH SVN silik0n at freeswitch.org
Wed May 13 19:57:21 PDT 2009


Author: silik0n
Date: Wed May 13 21:57:21 2009
New Revision: 13300

Log:
MODAPP-276

Modified:
   freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c

Modified: freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_easyroute/mod_easyroute.c	Wed May 13 21:57:21 2009
@@ -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 @@
 		}
 		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);



More information about the Freeswitch-svn mailing list