提交 b734641a authored 作者: Leon de Rooij's avatar Leon de Rooij

shorter filenames

上级 33e7b4a3
--[[ --[[
gen_dir_user_xml_single_table_mysql.lua - by Leon de Rooij <leon@toyos.nl> dir_user_xml_single_table_mysql.lua - by Leon de Rooij <leon@toyos.nl>
Makes use of luasql.scdb (experimental) which you can find in contrib/ledr/c/mod_lua_luasql Makes use of luasql.scdb (experimental) which you can find in contrib/ledr/c/mod_lua_luasql
A single table structure is expected containing all user attrs, params and variables: A single table structure is expected containing all user attrs, params and variables:
...@@ -24,7 +24,7 @@ INSERT INTO `users` (`domain`, `id`, `mailbox`, `cidr`, `number-alias`, `passwor ...@@ -24,7 +24,7 @@ INSERT INTO `users` (`domain`, `id`, `mailbox`, `cidr`, `number-alias`, `passwor
To make FreeSWITCH do directory searches through a Lua script, add the following to lua.conf.xml: To make FreeSWITCH do directory searches through a Lua script, add the following to lua.conf.xml:
<param name="xml-handler-script" value="gen_dir_user_xml_single_table_mysql.lua"/> <param name="xml-handler-script" value="dir_user_xml_single_table_mysql.lua"/>
<param name="xml-handler-bindings" value="directory"/> <param name="xml-handler-bindings" value="directory"/>
]] ]]
......
--[[ --[[
gen_dir_user_xml_single_table_pgsql.lua - by Leon de Rooij <leon@toyos.nl> dir_user_xml_single_table_pgsql.lua - by Leon de Rooij <leon@toyos.nl>
Makes use of luasql.scdb (experimental) which you can find in contrib/ledr/c/mod_lua_luasql Makes use of luasql.scdb (experimental) which you can find in contrib/ledr/c/mod_lua_luasql
A single table structure is expected containing all user attrs, params and variables: A single table structure is expected containing all user attrs, params and variables:
...@@ -25,7 +25,7 @@ INSERT INTO users (domain, id, mailbox, cidr, number-alias, password, dial-strin ...@@ -25,7 +25,7 @@ INSERT INTO users (domain, id, mailbox, cidr, number-alias, password, dial-strin
To make FreeSWITCH do directory searches through a Lua script, add the following to lua.conf.xml: To make FreeSWITCH do directory searches through a Lua script, add the following to lua.conf.xml:
<param name="xml-handler-script" value="gen_dir_user_xml_single_table_pgsql.lua"/> <param name="xml-handler-script" value="dir_user_xml_single_table_pgsql.lua"/>
<param name="xml-handler-bindings" value="directory"/> <param name="xml-handler-bindings" value="directory"/>
]] ]]
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论