[Kamailio-Users] LCR module in Kamailio 3.0

2010-01-25 Thread Denis Putyato
Hello everybody! I have a such problem with LCR module When I add a new gw in gw table via kamctl addgw or direct via mysql command, never mind, after doing lcr reload, in memory loaded only gw with lcr_id = 1. All other gateways, with lcr_id > 1, not loaded into memory, so I cannot use the

[Kamailio-Users] Active dialogs waaaay to high

2010-01-25 Thread Anders
Hi, When I run 'kamctl fifo get_statistics all calls', it tells me that the the number of dialogs is about 2000 times higher than what it really is. Actually it seems like it has added a couple of thousand to the number. How do I 'reset' this number? A restart of kamailio didn't help... Thanks!

Re: [Kamailio-Users] 477 Send failed

2010-01-25 Thread Vikram Ragukumar
Klaus, Thank you for your reply. - 9090 9090 |Softphone|--|Kamailio|---|Asterisk| - |rtpproxy| ^ | IPtables Redirect 9090->5060 In our setup we h

Re: [Kamailio-Users] "Permanent" AVP

2010-01-25 Thread Henning Westerholt
On Monday 25 January 2010, Antonio Reale wrote: > > you should upgrade for such features: > > - in 1.5.x you can use htable to cache value in shared memory and perhaps > > offers what you need > > - in 3.0.0 you still have htable, but you have also the global avps, you > > can set/get them with $av

Re: [Kamailio-Users] Fwd: TLS Multiple records not read

2010-01-25 Thread Jijo Jose
We can decode the wireshark traces by loading the serverkey.pem of proxy and sip server in wireshark ->edit->prefrences->ssl. format is like below. 21.21.27.210,5061,sip,C:\serverkey.pem;41.41.0.230,5061,sip,C:\serverkey.pem; The important point is, 1. The wireshark traces needs to be collected fr

Re: [Kamailio-Users] Fwd: TLS Multiple records not read

2010-01-25 Thread Klaus Darilion
Really strange. btw: how do you manage to decode the SSL payload in Wireshark? regards klaus Jijo Jose schrieb: Hi Klaus, Sorry for sending the screenshot.. In the 2nd record, i see 2 CRLF at the end of sip message. I'm using openser 1.1, I just verified kamailio 1.4 to see any changes

Re: [Kamailio-Users] Fwd: TLS Multiple records not read

2010-01-25 Thread Jijo Jose
Hi Klaus, Sorry for sending the screenshot.. In the 2nd record, i see 2 CRLF at the end of sip message. I'm using openser 1.1, I just verified kamailio 1.4 to see any changes in the TLS module. The code base for TLS in openser 1.1 and kamailio 1.4 is same. Thanks Jijo On Mon, Jan 25, 2010 at 3

Re: [Kamailio-Users] ratelimit enhancements

2010-01-25 Thread Henning Westerholt
On Monday 25 January 2010, Ovidiu Sas wrote: > I'm in favor of keeping this module as a db only module. Combining > both init methods (param and db config) is messy due to the current > module initialization (the shm mem is not available during the param > parsing). For small/embedded systems db_t

Re: [Kamailio-Users] ratelimit enhancements

2010-01-25 Thread Ovidiu Sas
Hello, I'm in favor of keeping this module as a db only module. Combining both init methods (param and db config) is messy due to the current module initialization (the shm mem is not available during the param parsing). For small/embedded systems db_text is always a viable alternative. In the f

Re: [Kamailio-Users] load drouting

2010-01-25 Thread Denis Putyato
Daniel thank you, now it's working. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Monday, January 25, 2010 3:20 PM To: Denis Putyato Cc: users@lists.kamailio.org Subject: Re: [Kamailio-Users] load drouting On 1/25/10 1:14 PM, Denis Putyato wrote: Danial, Jan 25 15

[Kamailio-Users] Global constants

2010-01-25 Thread Alex Balashov
Daniel, What is the recommended way (if any) to have a "global constant" that exists outside of any particular routes, in K3? My objective is to define a global DB_URL that can be used by all modules everywhere, but I can't just 'and' the modules together, e.g. modparam("mod1|mod2|mod3|.

Re: [Kamailio-Users] "Permanent" AVP

2010-01-25 Thread Antonio Reale
2010/1/13 Daniel-Constantin Mierla : > Hello, > > you should upgrade for such features: > - in 1.5.x you can use htable to cache value in shared memory and perhaps > offers what you need > - in 3.0.0 you still have htable, but you have also the global avps, you can > set/get them with $avp(g.name).

Re: [Kamailio-Users] ACC on Failure route

2010-01-25 Thread alex pappas
> Hi Daniel, > > This is my ACC configuration: > > # - acc params - > /* what sepcial events should be accounted ? */ > modparam("acc", "early_media", 1) > modparam("acc", "report_ack", 1) > modparam("acc", "report_cancels", 1) > /* by default ww do not adjust the direct of the sequential r

Re: [Kamailio-Users] load drouting

2010-01-25 Thread Daniel-Constantin Mierla
On 1/25/10 1:14 PM, Denis Putyato wrote: Danial, Jan 25 15:14:18 ubuntutest kamailio: ERROR: [sr_module.c:390]: ERROR: load_module: could not open module : /usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol: qm_free Jan 25 15:14:18 ubuntutest kamailio: : [cfg.y:3326]: pars

Re: [Kamailio-Users] load drouting

2010-01-25 Thread Denis Putyato
Danial, Jan 25 15:14:18 ubuntutest kamailio: ERROR: [sr_module.c:390]: ERROR: load_module: could not open module : /usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol: qm_free Jan 25 15:14:18 ubuntutest kamailio: : [cfg.y:3326]: parse error in config file /usr/local/etc/kamailio/

Re: [Kamailio-Users] Outgoing registrations

2010-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/13/10 11:22 AM, Andrey Utkin wrote: How do you make outgoing registrations to sip providers' accounts? I haven't found Kamailio functionality like this, so looks this requires some b2bua usage? Is there some other way? I just committed in master branch to the uac module this f

Re: [Kamailio-Users] Option ac_extra_hdrs to tm in K 3.0.x

2010-01-25 Thread Daniel-Constantin Mierla
On 1/23/10 7:52 AM, Alex Balashov wrote: On 01/22/2010 08:43 AM, Daniel-Constantin Mierla wrote: If so, what is the significance of the '-' in the above example? what I understand from the docs it is about a prefix that can be set, so in your example can be 'X-Alex' 'X-Alex' or 'X-Alex-'?

Re: [Kamailio-Users] ACC on Failure route

2010-01-25 Thread Daniel-Constantin Mierla
Hi Henning, On 1/25/10 11:48 AM, Henning Westerholt wrote: On Monday 25 January 2010, Daniel-Constantin Mierla wrote: We make a call and the call tries from the Failure Route 5 times new gateway (with dispatcher) but WITHOUT success in termination. In every try we get back 503 Congestion.

Re: [Kamailio-Users] ACC on Failure route

2010-01-25 Thread Henning Westerholt
On Monday 25 January 2010, Daniel-Constantin Mierla wrote: > > We make a call and the call tries from the Failure Route 5 times new > > gateway (with dispatcher) but WITHOUT success in termination. In > > every try we get back 503 Congestion. In this case how many CDRs we > > should see in our LOG

Re: [Kamailio-Users] ACC on Failure route

2010-01-25 Thread Daniel-Constantin Mierla
Hi Alex, On 1/25/10 11:03 AM, alex pappas wrote: Hi Daniel, We make a call and the call tries from the Failure Route 5 times new gateway (with dispatcher) but WITHOUT success in termination. In every try we get back 503 Congestion. In this case how many CDRs we should see in our LOG. We h

Re: [Kamailio-Users] ACC on Failure route

2010-01-25 Thread alex pappas
Hi Daniel, We make a call and the call tries from the Failure Route 5 times new gateway (with dispatcher) but WITHOUT success in termination. In every try we get back 503 Congestion. In this case how many CDRs we should see in our LOG. We have the modparam("acc", "failed_transaction_flag", 6) an

Re: [Kamailio-Users] ratelimit enhancements

2010-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/25/10 10:45 AM, marius zbihlei wrote: Daniel-Constantin Mierla wrote: Hello, On 1/22/10 3:31 PM, Ovidiu Sas wrote: The way that the original module was written did not allow dynamic numbers of queues and pipes. I am using the ratelimit module to control incoming/outgoing traffic o

Re: [Kamailio-Users] ratelimit enhancements

2010-01-25 Thread marius zbihlei
Daniel-Constantin Mierla wrote: Hello, On 1/22/10 3:31 PM, Ovidiu Sas wrote: The way that the original module was written did not allow dynamic numbers of queues and pipes. I am using the ratelimit module to control incoming/outgoing traffic on specific trunks by invoking rate limitation based

Re: [Kamailio-Users] load drouting

2010-01-25 Thread Daniel-Constantin Mierla
Hello, On 1/25/10 9:06 AM, Denis Putyato wrote: Hello everybody! Such error happens when I try start kamailio Jan 25 10:52:57 ubuntutest kamailio: ERROR: [sr_module.c:390]: ERROR: load_module: could not open module : /usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol: db_bin

Re: [Kamailio-Users] Fwd: TLS Multiple records not read

2010-01-25 Thread Klaus Darilion
Hi Jijo! - Next time, please do not send a screenshot, but the pcap file (if it would contain private data, send it privately) - the screenshot shows the first message, but more interesting is the second message - which version of Kamailio do you use (kamailio -V)? You mentioned that you c

[Kamailio-Users] load drouting

2010-01-25 Thread Denis Putyato
Hello everybody! Such error happens when I try start kamailio Jan 25 10:52:57 ubuntutest kamailio: ERROR: [sr_module.c:390]: ERROR: load_module: could not open module : /usr/local/lib/kamailio/modules_k/drouting.so: undefined symbol: db_bind_mod Jan 25 10:52:57 ubuntutest kamailio: : [cf