[SR-Users] change module parameter in routing logic
Ali Taher
ataher at vanrise.com
Tue Apr 28 14:57:16 CEST 2020
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 at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Tuesday, April 28, 2020 1:30 PM
To: Kamailio (SER) - Users Mailing List <sr-users at 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 at vanrise.com<mailto:ataher at 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 at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200428/56cf9f3e/attachment.html>
More information about the sr-users
mailing list