Daniel-Constantin Mierla writes:
> I pushed a commit on the master that tries to make a graceful shutdown:
>
> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2396dde7230e04f853e6936cfff9059661c55635
>
> Maybe you can try it with your case again and see if all goes fine now,
Hello,
I pushed a commit on the master that tries to make a graceful shutdown:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2396dde7230e04f853e6936cfff9059661c55635
Maybe you can try it with your case again and see if all goes fine now,
then it can be backported.
Thank
Hello,
looks like the issue is in the way shut down is done. In this specific
case, sqlops does not initialize properly due to misspell, causing
kamailio to shut down -- otherwise there is no issue with sqlops itself.
At shutdown, the destroy function of each module is called, then the
module
i misspelled connection argument in sql_query and got crash:
Nov 10 17:19:15 sip /usr/sbin/sip-proxy[4182]: ERROR: sqlops [sqlops.c:266]:
invalid connection [sip-proxy]
Nov 10 17:19:15 sip /usr/sbin/sip-proxy[4182]: ERROR: [route.c:1216]:
fixing failed (code=-1) at cfg:/etc/sip-proxy/sip-proxy.