提交 5d9d5151 authored 作者: Ken Rice's avatar Ken Rice

Resolve MODAPP-192

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11196 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dd10c6c7
...@@ -191,7 +191,7 @@ reallydone: ...@@ -191,7 +191,7 @@ reallydone:
return status; 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) static switch_status_t route_lookup(char *dn, easyroute_results_t *results)
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论