<div dir="ltr"><table class=""><tbody><tr class=""><td class="">hello, does kamailio start/run the perl script defined by modparam("app_perl", "filename", "/usr/local/test/bin/<a href="http://sips.pl">sips.pl</a>") at startup and constantly run in background?<br><br>I want a persistent database connection rather than having to constantly re-connect to database on each transaction.<br>Is this possible?<br><br>I'm connecting to postgres with<br><br>use DBI;<br>my $dsn = "DBI:Pg:database=$database;host=$host;port=$port";<br>my $dbh = DBI->connect($dsn, $user, $pass) || die "Could not connect to database: $DBI::errstr";<br></td></tr></tbody></table></div>