Hello,
try to evaluate the return value of the sqlops command. You should get a “-1” when the query execution fails.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
From: Leon de Rooij <leon@exquisip.nl>
Sent: Freitag, 24. März 2023 07:29
To: sr-users@lists.kamailio.org
Subject: [SR-Users] different sip response on database (mysql) timeout
Hi,
I need to use a database that may sometimes timeout and I'd like to give a conditional sip response based on whether there was a timeout or not. I'm using sqlops with mysql modules. Does anyone know if that's possible ?
Thanks,
Leon