[OpenSIPS-Users] avp_db_query retcode value

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Apr 12 16:55:20 UTC 2022


Hi Alain,

-2 is empty return set

-1 generic failure

  1 data returned

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 23rd May - 3rd June 2022
   https://opensips.org/training/OpenSIPS_eBootcamp_2022/

On 4/12/22 10:16 AM, Alain Bieuzent wrote:
>
> Hi All,
>
> Where can i found the different return value of $retcode after an 
> avp_db_query.
>
> I need to distinguish a null result from a failed request
>
> Regards
>
> PS : I’m using opensips 3.2
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220412/01d8f670/attachment.html>


More information about the Users mailing list