Hi Alex, What do you mean by multiple SQL results concurrently? I will have multiple calls coming at the same time which need to go to one of the databases based on the originating IP.
-----Original Message----- From: sr-users <[email protected]> On Behalf Of Alex Balashov Sent: Tuesday, April 28, 2020 4:01 PM To: Kamailio (SER) - Users Mailing List <[email protected]> Subject: Re: [SR-Users] change module parameter in routing logic On Tue, Apr 28, 2020 at 12:57:16PM +0000, Ali Taher wrote: > Should I be worried about using same sqlres (ra) while fetching the > result from the database? No, as long you sql_result_free() it between operations. If you need multiple SQL results concurrently, you should use different result set identifiers. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
