Windows平台下FreeSWITCH的Lua脚本连Microsoft SQL Server 2K8
正确的脚本如下:localdbh=freeswitch.Dbh("lptcc","sa","password")
dbh:query("SELECTid,ext_idFROMExtensionDevice",function(row)
freeswitch.consoleLog("NOTICE",string.format("%d[]%s\n",row.id,row.ext_id))
end)有