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<https://gilawa.com/>

From: Leon de Rooij <[email protected]>
Sent: Freitag, 24. März 2023 07:29
To: [email protected]
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

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to