Re: [SR-Users] Kamailio 4.1.x Installation

2014-01-06 Thread Muhammad Shahzad
Did you checked kamailio's web site? Have you tried this link? http://www.kamailio.org/w/documentation/ Thank you. On Tue, Jan 7, 2014 at 6:23 AM, Owais ul Haq wrote: > Hello all, > I am currently using Kamailio-3.1.1 installed on a fedora machine. I want > to install updated version Kamail

[SR-Users] Kamailio 4.1.x Installation

2014-01-06 Thread Owais ul Haq
Hello all, I am currently using Kamailio-3.1.1 installed on a fedora machine. I want to install updated version Kamailio-4.1.x. Can someone give me some link where I can find about installation steps and pre-requisites etc. Thanks for helping. Regards, Kamailio Newbie :)

Re: [SR-Users] tag column on address table

2014-01-06 Thread Kelvin Chua
np is undefined in find_group_in_subnet_table() it should be: @@ -717,7 +728,16 @@ int find_group_in_subnet_table(struct subnet* table, while (i < count) { if ( ((table[i].port == port) || (table[i].port == 0)) && (ip_addr_match_net(addr, &table[i].s

[SR-Users] Cassandra module

2014-01-06 Thread Carlos Ruiz Díaz
Hi, does anybody know if it is possible to use Kamailio's built-in maintenance tools with the db schema as tables in Cassandra? I'm trying to create the "subscriber" table in a Cassandra cluster and maintain it using kamctl options for new users and passwords. I tried modifying the DBENGINE in ka

Re: [SR-Users] tag column on address table

2014-01-06 Thread Daniel-Constantin Mierla
Your patch seemed to be only for matching against individual IP addresses, I added also for subnet matching. Can you try with the patch from next commit? - http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0c67042fa629ee4744cfc31a15e571b7340b0881 Cheers, Daniel On 06/01/14

Re: [SR-Users] Older Sip Phone ia hangup after 60sec with Realtime asterisk

2014-01-06 Thread Noriyuki Hayashi
Hello, Thank you for quick reply. Now I have rpmbuilt ngrep and installed. I usually use tcpdump. I will take the log day after tommorow and send. Because I must work on client office tommorow. Kind regrads, Nori On Mon, 06 Jan 2014 12:55:44 +0100 Daniel-Constantin Mierla wrote: > Hello, > >

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-06 Thread Uri Shacked
I am using 3.3.2 a91b2b-dirty On Sun, Jan 5, 2014 at 2:19 PM, Uri Shacked wrote: > Hi > > kamailio version 3.2.0 > 16M configured has private memory > and 4G as shared memory. > using sqlops to query the DB. > the DB was down and kamailio crashed after some time with the following > log under >

Re: [SR-Users] tag column on address table

2014-01-06 Thread Daniel-Constantin Mierla
for example, allow_source_address() executes next function: int match_addr_hash_table(struct addr_list** table, unsigned int group, ip_addr_t *addr, unsigned int port) { struct addr_list *np; str addr_str; avp_value_t val; addr_str.s = (char*)addr->u.addr; addr_str.le

Re: [SR-Users] tag column on address table

2014-01-06 Thread Kelvin Chua
sorry my bad, it is available on the other address functions, just not on the allow_source_address_group. anyway, here is the patch to master diff --git a/modules/permissions/hash.c b/modules/permissions/hash.c index 3a16581..c80a3f2 100644 --- a/modules/permissions/hash.c +++ b/modules/permission

Re: [SR-Users] tag column on address table

2014-01-06 Thread Kelvin Chua
checking the source code, looks like, it's not being set at all on any of those functions Kelvin Chua On Mon, Jan 6, 2014 at 7:37 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 04/01/14 21:47, Juha Heinanen wrote: > >> Kelvin Chua writes: >> >> is the peer_tag_avp used on allow_source_a

Re: [SR-Users] Older Sip Phone ia hangup after 60sec with Realtime asterisk

2014-01-06 Thread Daniel-Constantin Mierla
Hello, can you get the ngrep output on kamailio server? From asterisk log I see that an INVITE with To-tag has no Route header, which should be there if run though kamailio. Cheers, Daniel On 06/01/14 08:50, Noriyuki Hayashi wrote: Hello, I am beginner using kamailio with much appreciated.

Re: [SR-Users] Got SIP response 400 "Bad From URI"

2014-01-06 Thread Daniel-Constantin Mierla
Hello, what is 172.10.30.15? Can you get ngrep output for that case? Cheers, Daniel On 05/01/14 04:57, arun Jayaprakash wrote: Hello, I have set up two extensions in my network, both have identical configurations. When I call from ext A to ext B I have no problem; ext B rings and I can hea

Re: [SR-Users] tag column on address table

2014-01-06 Thread Daniel-Constantin Mierla
Hello, can you make the patch for master branch? It has to be added there. Cheers, Daniel On 06/01/14 11:54, Kelvin Chua wrote: here is a patch against 4.0.5 to make this work with the address table --- kamailio-4.0.5/modules/permissions/hash.c2013-12-20 11:42:46.0 -0500 +++ kamailio

Re: [SR-Users] tag column on address table

2014-01-06 Thread Daniel-Constantin Mierla
Hello, On 04/01/14 21:47, Juha Heinanen wrote: Kelvin Chua writes: is the peer_tag_avp used on allow_source_address_group? based on fast scan of permissions module source, it appears that peer_tag_avp is set only by allow_trusted function. the peer tag avp should be set also for allow_address

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-06 Thread Daniel-Constantin Mierla
Hello, can you upgrade to latest 3.2.x? Because there were many fixes since first release in that series (3.2.0). If the issue persists, would be good to get a backtrace. Not using sql_result_free() should not be a problem. Cheers, Daniel On 05/01/14 13:30, Uri Shacked wrote: And one more

Re: [SR-Users] tag column on address table

2014-01-06 Thread Kelvin Chua
here is a patch against 4.0.5 to make this work with the address table --- kamailio-4.0.5/modules/permissions/hash.c 2013-12-20 11:42:46.0 -0500 +++ kamailio-4.0.5/modules/permissions/hash.c 2014-01-06 05:48:54.0 -0500 @@ -486,13 +486,24 @@ { struct addr_list *np; str addr_str

[SR-Users] Kamailio World 2014 - Call for Speakers

2014-01-06 Thread Daniel-Constantin Mierla
Hello, I would like to announce that call for speakers at Kamailio World 2014 is now open. Those interested in presenting at the event have to submit the proposal via the web form at: - http://conference.kamailio.com/k02/call-for-speakers/ Have a great 2014, Daniel -- Daniel-Constantin Mier