add citystate-sql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14154 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
cf22bd9768
commit
60119c765f
|
@ -6,10 +6,16 @@
|
||||||
|
|
||||||
<param name="odbc-dsn" value="phone:phone:phone"/>
|
<param name="odbc-dsn" value="phone:phone:phone"/>
|
||||||
<param name="sql" value="
|
<param name="sql" value="
|
||||||
SELECT name||' ('||type||')' AS name
|
SELECT name||' ('||type||')' AS name
|
||||||
FROM phonebook p JOIN numbers n ON p.id = n.phonebook_id
|
FROM phonebook p JOIN numbers n ON p.id = n.phonebook_id
|
||||||
WHERE n.number='${caller_id_number}'
|
WHERE n.number='${caller_id_number}'
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
"/>
|
"/>
|
||||||
|
<param name="citystate-sql" value="
|
||||||
|
SELECT ratecenter||' '||state as name
|
||||||
|
FROM npa_nxx_company_ocn
|
||||||
|
WHERE npa = ${caller_id_number:1:3} AND nxx = ${caller_id_number:4:3}
|
||||||
|
LIMIT 1
|
||||||
|
"/>
|
||||||
</settings>
|
</settings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
Loading…
Reference in New Issue