From 5d9d5151ea3cdfebc271ca4da32d82c3902908fc Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Wed, 14 Jan 2009 17:53:46 +0000 Subject: [PATCH] Resolve MODAPP-192 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11196 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_easyroute/mod_easyroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index e0240db76f..1168d9dc0a 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -191,7 +191,7 @@ reallydone: return status; } -static char SQL_LOOKUP[] = "SELECT gateways.gateway_ip, gateways.group, gateways.limit, gateways.techprofile, numbers.acctcode, numbers.translated from gateways, numbers where numbers.number = \"%s\" and numbers.gateway_id = gateways.gateway_id limit 1;"; +static char SQL_LOOKUP[] = "SELECT gateways.gateway_ip, gateways.group, gateways.limit, gateways.techprofile, numbers.acctcode, numbers.translated from gateways, numbers where numbers.number = '%s' and numbers.gateway_id = gateways.gateway_id limit 1;"; static switch_status_t route_lookup(char *dn, easyroute_results_t *results) {