[sr-dev] Dispatcher database connections

Olle E. Johansson oej at edvina.net
Fri Dec 16 15:18:08 CET 2016


Hi!

From looking at the code (still need to run tests) it looks like if you use a database with dispatcher,
it will keep an open connection for the lifetime of the kamailio process. 

Is there any problem with opening the connection for loading the dispatcher table, then closing and doing the same at reload RPC/MI commands?

There are situations where open connections are an issue, like when you pay for capacity somewhere. 

I suspect other modules do the same, even if they don’t use the connections, like dialplan.

/O


More information about the sr-dev mailing list