Re: [SR-Users] permissions module address_reload not working

2010-06-30 Thread Juha Heinanen
Juha Heinanen writes: > reverting the patch thus most likely reintroduced this other bug. > perhaps the bug that you saw has something to do with the last sentence > of the commit. jr, did you try with db_mode=1? it works ok here. -- juha ___ SIP Ex

Re: [SR-Users] permissions module address_reload not working

2010-06-30 Thread Juha Heinanen
JR Richardson writes: > Well, you sure are a smart fella. I reverted the patch and reloading > the address table works as expected now. For clarification I was > testing with kamailio-3.0.2_src_2010-06-30_a6141a.tar.gz snapshot. > Let me know when you have the updated fix and I'll do sime testin

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-30 Thread Nathan Angelacos
Hi yaron, On 06/30/10 20:44, yaron nahcum wrote: Hi Daniel, I looked at the module and it seems more suitable for my needs. I have two questions regarding this module: Let's say your proprietary database has a table with "username" as one of the columns. For example, a table "Users" with the

[SR-Users] About building ACD

2010-06-30 Thread Trung Anh
Hi everyone, I have a problem about Agents status. Now, i want to develop ACD system but i don't know how to collect agent status. Please help me. Thanks in advance! -- Best Regards, Mr House Cricket ___ SIP Express Router (SER) and Kamailio (OpenSE

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-30 Thread Alex Balashov
On 06/30/2010 11:44 PM, yaron nahcum wrote: 1. It says that it is possible to use psuedo variables in the query. How is it done? I would like to make a query of the from username. Just include them straight in the literal query: sql_query("ca", "SELECT * FROM users WHERE username = '$fU'",

Re: [SR-Users] using avpops for querying an external db on kamailio 3.0.2

2010-06-30 Thread yaron nahcum
Hi Daniel, I looked at the module and it seems more suitable for my needs. I have two questions regarding this module: 1. It says that it is possible to use psuedo variables in the query. How is it done? I would like to make a query of the from username. 2. If I query the whole column how can I lo

Re: [SR-Users] permissions module address_reload not working

2010-06-30 Thread JR Richardson
On Wed, Jun 30, 2010 at 4:51 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 6/30/10 10:17 PM, JR Richardson wrote: >> >> Hi All, >> >> I'm running kamailio 3.0.2. >> > > hmm, checking the logs I see changes done lately that introduced some bugs: > http://git.sip-router.org/cgi-bin/gitweb.cgi?

Re: [SR-Users] permissions module address_reload not working

2010-06-30 Thread Daniel-Constantin Mierla
Hello, On 6/30/10 10:17 PM, JR Richardson wrote: Hi All, I'm running kamailio 3.0.2. hmm, checking the logs I see changes done lately that introduced some bugs: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=b0091da84ee5bbbc18cb799eefc497be707ab0f9 I could spot

Re: [SR-Users] Missing ACK

2010-06-30 Thread Ole Kaas
Den 30/06/2010 kl. 01.23 skrev Iñaki Baz Castillo: > 2010/6/29 Ole Kaas : >> Hi Klaus, >> >> I've mailed pcap dump to you directly for further inspection. > > Hi, it's much better if you capture a trace with "ngrep -Wbyline -t -q > port 5060" and paste it in a new mail by replacing your public

[SR-Users] permissions module address_reload not working

2010-06-30 Thread JR Richardson
Hi All, I'm running kamailio 3.0.2. # - permissions params - modparam("permissions", "db_url", "mysql://openserro:opense...@localhost/openser") #modparam("permissions", "db_mode", 1) snip in route block: if (!allow_source_address_group()) { sl_send_reply("403", "

Re: [SR-Users] error loading perl module

2010-06-30 Thread Daniel-Constantin Mierla
Hello, On 6/30/10 9:24 PM, "Nicolas Rüger" wrote: Hello, I try to use the PERL module in kamailio v3 for some research due to my thesis. I'm using debian lenny, kamailio_3.0.0 and perl_5.10.0. 1.) The Problem Starting Kamailio via "./kamctl start" drops the general error JUST when I try to

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-30 Thread Ernest Mavrel
Thank you all. It's works. BR Ernest On 30. 06. 2010 14:15, Geoffrey Mina wrote: ## ## # Failure route 'pstn-failover' failure_route[1] {         

[SR-Users] error loading perl module

2010-06-30 Thread Nicolas Rüger
Hello, I try to use the PERL module in kamailio v3 for some research due to my thesis. I'm using debian lenny, kamailio_3.0.0 and perl_5.10.0. 1.) The Problem Starting Kamailio via "./kamctl start" drops the general error JUST when I try to load the PERL module: ERROR: PID file /var/run/ka

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-30 Thread Geoffrey Mina
## ## # Failure route 'pstn-failover' failure_route[1] { xlog("L_INFO", "Failure route for PSTN entered - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");

[SR-Users] [nathelper] clarification about rtpproxy_retr parameter

2010-06-30 Thread Iñaki Baz Castillo
Hi, according to the doc: 1.5.9. rtpproxy_retr (integer) How many times nathelper should retry to send and receive after timeout was generated. Default value is “5”. So imagine this configuration: modparam("nathelper", "rtpproxy_tout", 2) modparam("nathelper", "rtpproxy_disabl

Re: [SR-Users] force_send_socket - multiple times per dialog, subsequent times fail

2010-06-30 Thread Iñaki Baz Castillo
2010/6/30 Ernest Mavrel > > How can I move force_send_socket() call into branch_route? Use t_on_branch("N") before t_relay(); so after that each branch would run into branch_route[N] in which you should invoke force_send_socket(). -- Iñaki Baz Castillo