Re: [SR-Users] db_sqlite bugs

2012-10-11 Thread Timo Teras
On Thu, 11 Oct 2012 12:37:23 +0200 Pedro Antonio Vico Solano wrote: > We are developing a solution based on the SQLite module for Kamailio > and we've found some bugs/errors regarding it. We use kamailio 3.2.4 > and SQLite 3.7.14.1. The errors are about this: Thanks for the config examples. To

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Daniel-Constantin Mierla
Indeed, onreply_route, like the other tm specific routing blocks, is property of the transaction. No tm routing block is specific per branch, this was the behaviour from the beginning, branch index PV is supposed to give indication about what branch is executed. Setting/resetting a tm routing

Re: [SR-Users] TCP error

2012-10-11 Thread Klaus Darilion
I haven't used MSRP yet - but the error messages indicates that the client closed/reset the TCP connection. You could use tcpdump/wireshark to verify what really happens on the TCP connection (maybe a firewall or NAT device resets the TCP connection) regards Klaus On 11.10.2012 17:35, Ed Brad

[SR-Users] Kamailio presence with RLS

2012-10-11 Thread Sangeeta Shah
Hello Everyone, Has anyone had any luck getting RLS working with presence. I am seeing the following errors in my log file: ct 10 17:20:22 RCS-Presence /usr/local/sbin/kamailio[2017]: DEBUG: presence [hash.c:342]: record not found in hash table Oct 10 17:20:22 RCS-Presence /usr/local/sbin/kam

[SR-Users] TCP error

2012-10-11 Thread Ed Brady
I am testing connecting an MSRP client to my Kamailio instance, and I keep getting the following error in my syslog: /usr/sbin/kamailio[20055]: ERROR: [tcp_read.c:293]: error reading: Connection reset by peer (104) I believe this must be a misconfiguration on my part, I just don't know where to

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Klaus Darilion
Seems like the reply route is a property of the transaction, and not of each respective branch. I wouldn't call it "bug" at the moment, but would call it a "limitation". I second Juha's command - as soon as a branch is canceled I do not care about any following responses and it may be useful t

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Carlos Ruiz Díaz
I think $T_branch_idx is only available on branch_route, and besides, it contains the current branch ID being processed so it wouldn't be useful from replies outside the current branch. Regards. Carlos. On Thu, Oct 11, 2012 at 11:48 AM, Alex Hermann wrote: > On Thursday 11 October 2012, Carlos

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Carlos Ruiz Díaz wrote: > I can confirm this behavior. > > I had a similar scenario when 2 or more branches were setup. First branch > timed out, while second branch was being processed a reply from first > branch arrived and handled improperly by a routing logic which

Re: [SR-Users] How can I directly access the domain of additional branches??

2012-10-11 Thread Klaus Darilion
Stephen, see "transformations" for a full feature list: http://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transformations On 09.10.2012 19:31, Daniel-Constantin Mierla wrote: On 10/9/12 5:45 PM, Stephen Dodge (Bistech) wrote: Thanks Klaus, I did look through the cookbook but I

[SR-Users] log alerting time, progress time connect time

2012-10-11 Thread pars3c
Hi , i need to register the time when arrive the following messages: invite, alerting, progress , connected and hangup. How can I make it ? it's is possible to store these value in the extra field in the acc module ? Thanks ___ SIP Express R

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Carlos Ruiz Díaz
I can confirm this behavior. I had a similar scenario when 2 or more branches were setup. First branch timed out, while second branch was being processed a reply from first branch arrived and handled improperly by a routing logic which was configured for the second branch. I isolated each respons

Re: [SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Juha Heinanen wrote: > Alex Hermann writes: > > 1) set onreply_route to A > > 2) relay 1st branch > > 3) 1st branch times out, internal 408 is created > > 4) tm send CANCEL to 1st branch > > > > 5) in failure route, onreply_route is set to B > > 6) relay 2nd branch > >

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread David J
Well any gateway software that does protocol conversion is going to be more overhead than pure sip. Something has to do the protocol conversion. Typically if you want to avoid using asterisk etc. The you can just buy a true media gateway like audio codes which does exclusively that. Usually the h

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread SamyGo
Hello Sir, With due respect, the only answer for your question I have is that, I think that the capacity handling of currently popular media servers is less than that of Kamailio. I agree that all of current media servers are getting better and stronger but why should Kamailio get bottlenecked b

[SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Juha Heinanen
Alex Hermann writes: > 1) set onreply_route to A > 2) relay 1st branch > 3) 1st branch times out, internal 408 is created > 4) tm send CANCEL to 1st branch > > 5) in failure route, onreply_route is set to B > 6) relay 2nd branch > 7) 1st branch responds with 487, and goes into reply_route B inst

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread Olle E. Johansson
11 okt 2012 kl. 13:57 skrev SamyGo : > :) "Soon..." But Not Today. > > Not everyone can afford the Gateways. Thanks for the replies. I was hoping > maybe someone else be thinking of freeing the kamailio from Asterisks or > Freeswitchs when it comes to interconnecting with PSTN. > Why? We ha

[SR-Users] Wrong onreply_route is called after serial forking

2012-10-11 Thread Alex Hermann
Hello, i noticed thet in serial forking, replies to earlier branches arriving after sending out a new branch use the onreply_route of the later branch instead of the onreply_route set before sending the earlier branch How to reproduce: 1) set onreply_route to A 2) relay 1st branch 3) 1st b

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > On 10/11/12 12:00 PM, Alex Hermann wrote: > > On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > >> Do you get any other error/debug > >> message before that can give an hint why is failing? > > > > Unfortunately not. > >

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread SamyGo
:) "Soon..." But Not Today. Not everyone can afford the Gateways. Thanks for the replies. I was hoping maybe someone else be thinking of freeing the kamailio from Asterisks or Freeswitchs when it comes to interconnecting with PSTN. Cheers Sammy On Oct 11, 2012 4:09 PM, "Neill Wilkinson" wrote

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread Neill Wilkinson
You might consider: http://sangoma.com/products/voip_gateways/netborder_software/netborder_express.html Then put Kamailio in front of that... Simple Gateway PRI -> SIP. Neill;o) Aeonvista Ltd Opening Up New Ideas On 11 October 2012 11:43, SamyGo wrote: > Hi David, > > Thanks for this us

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread SamyGo
Hi David, Thanks for this useful information. What I don't like is that if I've couple of Sangoma cards, each supporting 120 channels each, is using any of this B2BUAs in between the cards and Kamialio and get a limited capacity application in front of Kamailio. ! If there is any driver for kam

[SR-Users] db_sqlite bugs

2012-10-11 Thread Pedro Antonio Vico Solano
Hello everyone, We are developing a solution based on the SQLite module for Kamailio and we've found some bugs/errors regarding it. We use kamailio 3.2.4 and SQLite 3.7.14.1. The errors are about this: - Memory leaks on querys via sqlops. Kamailio main process leaks 4kB each 3 queries (aprox.) an

Re: [SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread David J
Asterisk yate or free switch. You need something as a gateway between PRI and sip. Kamailio does not handle this conversion On Oct 11, 2012 6:24 AM, "SamyGo" wrote: > Hello, > > I've a scenario in which I've to deploy a couple Sangoma PRI cards with > kamailio. What I wish is that I've some driv

[SR-Users] Kamailio direct interconnectivity with PRI

2012-10-11 Thread SamyGo
Hello, I've a scenario in which I've to deploy a couple Sangoma PRI cards with kamailio. What I wish is that I've some drivers for this purpose and so I don't ned to install FreeSWITCH or Asterisk in between the PRIs and Kamailio. Kindly give any feedback on what are the possibilities and options

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Daniel-Constantin Mierla
On 10/11/12 12:00 PM, Alex Hermann wrote: On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: is USE_IPV6 compile flag still on? Yes, the exact same verion is used on the IPv4 and IPv6 proxy processes. They're even on the same host. Do you get any other error/debug message before t

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
On Thursday 11 October 2012, Daniel-Constantin Mierla wrote: > is USE_IPV6 compile flag still on? Yes, the exact same verion is used on the IPv4 and IPv6 proxy processes. They're even on the same host. > Do you get any other error/debug > message before that can give an hint why is failing? Un

Re: [SR-Users] Get sip clients to work with sip:user@domain and ldap

2012-10-11 Thread Daniel-Constantin Mierla
Hello, I recommend using 3.3.x if you start a new deployment. Is the domain resolvable by DNS? What are the sockets kamailio is listening on? Cheers, Daniel On 10/10/12 5:21 PM, Christophe ROY wrote: Hello I'm quite new to SIP and TOIP so I may not understand the concepts correctly. I'm

Re: [SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Daniel-Constantin Mierla
Hello, is USE_IPV6 compile flag still on? Do you get any other error/debug message before that can give an hint why is failing? Cheers, Daniel On 10/11/12 10:53 AM, Alex Hermann wrote: Hello, I am using the dispatcher module with a database table shared among multiple proxies. Some proxie

Re: [SR-Users] kamailio 3.3.1 - uac - remote register - init delay possible?

2012-10-11 Thread Daniel-Constantin Mierla
What are the log messages you get with your patch? Was uac_reg_timer() executed at startup? Cheers, Daniel On 10/10/12 1:58 PM, Rene Bormann wrote: >> You added sleep(1000), which is sleep for 1000 seconds -- th

[SR-Users] IPv6 addresses in dispatcher on IPv4 only proxy

2012-10-11 Thread Alex Hermann
Hello, I am using the dispatcher module with a database table shared among multiple proxies. Some proxies do both IPv4 and IPv6, others only do IPv4. The problem is when i use an IPv6 address in the dispatcher table. Then the IPv4-only proxies fail to load the table. ERROR: dispatcher [dispat