Hi Alex,

 

I just realized that I can set sqlcon multiple times which will solve my problem.

 

The scenario I’m trying to achieve is that based on the originating IP of the invite packet I will run some queries on the correspondent database  and then use the result in Kamailio routing logic.

 

Should I be worried about using same sqlres (ra) while fetching the result from the database?

 

Regards,

Ali Taher

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Tuesday, April 28, 2020 1:30 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] change module parameter in routing logic

 

It is not.

Sent from mobile, with due apologies for brevity and errors.



On Apr 28, 2020, at 6:26 AM, Ali Taher <ataher@vanrise.com> wrote:



Hi,

 

Is it possible to change a module parameter inside the routing logic ?

 

For example I want to change sqlcon parameter of sqlops module based on the originating IP.

 

Regards,

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users