Hi All,

I need to run some SQL and then set the destination URI according to the results, if any.

I've got this working using APP_LUA, however, I've noticed SQLOPS.

Can anyone advise on which method is likely to produce better results.

I'm assuming my Lua function is connecting to the DB and then disconnecting each time.

If I use SQLOPS, does this mean Kamailio will keep a connection available to the DB?

--
Luke Milbourne

Tel: 07857154817
Google Talk/Email: luke.milbourne@gmail.com