Re: [SR-Users] 2 rollover contacts per user

2012-03-24 Thread Krishna Kurapati
Thanks Daniel for the suggestions. To make the script manageable, I am thinking of implementing last option. Have another flag to "save". May be 0x8? We will still use max_contacts = 2 in mod params. And when the save("location", "0x08") is called, the oldest contact is removed and the new contact

Re: [SR-Users] Kamailio Load Testing

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/20/12 12:12 PM, Stephen Dodge (Bistech) wrote: Hello, I am running Kamailio 3.1.5 with a MySQL backend on CentOS. A connection to MySQL (an off box MySQL cluster) is required for every call, sqlops is used to determine destinations and acc to record CDR information. I am pl

Re: [SR-Users] Accessing #!define "variables" from within lua

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/24/12 1:25 PM, Alex Balashov wrote: I am not sure that exporting #defines to third-party language API modules makes much sense just because some user thought it would be neat. The #!... constructs are all intended as preprocessor directives, to make easier management of global con

Re: [SR-Users] Accessing #!define "variables" from within lua

2012-03-24 Thread Alex Balashov
I am not sure that exporting #defines to third-party language API modules makes much sense just because some user thought it would be neat. The #!... constructs are all intended as preprocessor directives, to make easier management of global constant values in the native Kamailio config environ

Re: [SR-Users] www_authenticate("127.0.0.1", "credentials")

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/21/12 12:41 PM, Marwan Idriss wrote: Greeting, I want to ask you how the function www_authenticate("127.0.0.1", "credentials") work and what should I put the credentials Table you have to populate subscriber table with user profiles: http://kamailio.org/docs/modules/stable/module

Re: [SR-Users] Accessing #!define "variables" from within lua

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/23/12 2:00 PM, Asgaroth wrote: I'll check this option out, thanks for the tip Alex. it is a good way to do, $sel(...) are available in Lua, @... format not, but they are the same, just different access mechanism. I guess the other option too, which I have not tried, is to possib

Re: [SR-Users] Search all dialogs - Kamailiio 3.0.3

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/23/12 2:00 PM, Charles Chance wrote: Hi all, I was wondering if anyone could offer any advice please. We are using the dialog module and need to be able to find out whether another dialog exists within a particular profile and having a specific value, so that we can send the new

Re: [SR-Users] Forward UAC Registration with Authentication (like Upper Registration or Passthrough Registration)

2012-03-24 Thread Daniel-Constantin Mierla
Hello, cross-posting has to be avoided, because you mix things from different projects which don't apply to the others -- just send separate emails, with content appropriate for each forum, referring to the things you tried with that project. You posted pretty much the same question and I an

Re: [SR-Users] CRLF Error with tcp_crlf_ping

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/23/12 3:15 PM, Jijo wrote: Hello, Yes it is sending CRLF after the second CRLF from client. Another thing is, Kamailio would send CRLF even if the second CRLF come after few seconds. I believe we don't have any way to drop it ? not really, in a stream protocol, such delays can

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-24 Thread Daniel-Constantin Mierla
Hello, we provide debs for ubuntu via two apt repositories, see: http://www.kamailio.org/wiki/packages/debs If you prefer sources, here it is: http://www.kamailio.org/wiki/install/3.2.x/git Before upgrading, back up your config and the database. Then, because you run quite old version, you w

Re: [SR-Users] Authentication on loose_route();

2012-03-24 Thread Daniel-Constantin Mierla
From experiences of the past cases, it can be indeed problematic with some client. But can be done as Alex said. I just wanted to add a bit about how I preferred to do it when I had to. I try to auth only caller always, as it was for initial INVITE. The way to do it is to append from tag to re

Re: [SR-Users] TLS delay on request processing

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/23/12 2:55 PM, Andreas Heise wrote: Hi list, I use Kamailio 3.2.2 as TLS<=>TCP gateway this is working well, but if I create some traffic by SIPP then Kamailio response time increase with every new call, seems to be that Kamailio process call by call. I made a test with 30caps the

Re: [SR-Users] 2 rollover contacts per user

2012-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/23/12 3:21 PM, Krishna Kurapati wrote: Hi, Is there a way to set up maximum of 2 active roll over contacts per user? Currently when I setup max contacts param as 2, The third one is responding with 503 error for 3rd Register. How can we remove one of the contacts and replace it wi