Re: [SR-Users] change module parameter in routing logic

2020-04-28 Thread Alex Balashov
On Tue, Apr 28, 2020 at 01:09:40PM +, Ali Taher wrote: > 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. I meant concurrently in the same instance of message

Re: [SR-Users] change module parameter in routing logic

2020-04-28 Thread Ali Taher
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 On Behalf Of Alex Balashov Sent: Tuesday, April 28, 2020 4:01 PM

Re: [SR-Users] change module parameter in routing logic

2020-04-28 Thread Alex Balashov
On Tue, Apr 28, 2020 at 12:57:16PM +, 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

Re: [SR-Users] change module parameter in routing logic

2020-04-28 Thread Ali Taher
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.

Re: [SR-Users] Topos_redis and loose_route

2020-04-28 Thread Ernest Mavrel
Hi, Is there any findings on the issue bellow? Thank you Kind Regards Ernest Mavrel je 14. 04. 20 ob 21:00 napisal: Hi, In attach pcap file. Kind Regards Ernest Mavrel Daniel-Constantin Mierla je 14. 04. 20 ob 12:20 napisal: Hello, can you resent the sip traffic as a pcap file? The

Re: [SR-Users] change module parameter in routing logic

2020-04-28 Thread Alex Balashov
It is not. — Sent from mobile, with due apologies for brevity and errors. > On Apr 28, 2020, at 6:26 AM, Ali Taher 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

[SR-Users] change module parameter in routing logic

2020-04-28 Thread Ali Taher
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

[SR-Users] DNS SRV issue

2020-04-28 Thread Melek Oktay
Hi All, I have a user, who has a SRV records like below, srv:betaproxy.siptelekom.com 1- SRV betaproxy siptelekom 4 hrs 20 0 5060 beta-proxy-dc01.siptelekom.com (X.Y.87.150) 2- SRV betaproxy siptelekom 4 hrs 10 0 5060 beta-proxy-dc02.siptelekom.com (X.Y.87.160) And I want to send the call to

Re: [SR-Users] RTP relay

2020-04-28 Thread hugues
Thanks for your email I can't change the asterisk server configurations too much because they're in production. I have already installed and configured rtpproxy, but as there are two public ip addresses I have the impression that it does not activate and the RTP flow goes directly from the client