[sr-dev] memory leak fix on xcap_ auth.c

2012-01-30 Thread laura testi
Hi Daniel, I'm sending you some memory leak fix we have found and fixed on modules/utils/xcap_ auth.c. The fixed memory leak is in pres_watcher_allowed (), and it is about the "xmlFreeDoc" that it's never called for the "xcap_tree" variable. We downloaded the source file from master branch and th

Re: [sr-dev] [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-29 Thread laura testi
understood right, it is about NOTIFY getting processed faster than > 200OK for SUBSCRIBE. Do I remember correctly, you are running 3.1.x? It > might not be in branch 3.1. > > Cheers, > Daniel > > > On 12/28/11 6:15 PM, laura testi wrote: > > Hi Daniel, > Yes, all pat

Re: [sr-dev] [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread laura testi
eers, > Daniel > > > On 12/23/11 12:36 PM, Daniel-Constantin Mierla wrote: >> >> Hello, >> >> looks like a leak in a module that is storing record-routes and use them >> later, perhaps pua module, I will check it soon. >> >> Cheers, >> Dani

Re: [sr-dev] [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread laura testi
Mierla wrote: > Hello, > > pkg.stats was added in 3.2.0, iirc. For 3.1, you can walk the packets in > memory with gdb -- 3.1 has memory debug on, so you don't need to recompile > (unless you turned it off). > > Just attach to the pid of a sip worker  (gdb /path/to/kamailio

Re: [sr-dev] [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread laura testi
http://www.asipto.com/pub/kamailio-devel-guide/#c04troubleshooting > > See if you have lot of allocated chunks from same place in source code > (ignore those at the beginning, mainly related to cfg parsing) and send the > details here. > > Cheers, > Daniel > > > On 12/21/

[sr-dev] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-21 Thread laura testi
Hi, we are using the PUA_XMPP and PUA modules from the master branch. When the modules are started, everything are ok, the presence events from XMPP are sent to kamailio SIP servers (PUBLISH/SUBSCRIBE) and cached in the hash. But when there are several thousands records in the hash tabel, the updat

Re: [sr-dev] [SR-Users] kamailio fail to start when there are many records in DB in location or in pua table

2011-12-06 Thread laura testi
Tested the new pua module with the patch. the fetch_rows works! Thank you very much! Best Regards, Laura On Thu, Dec 1, 2011 at 2:01 PM, laura testi wrote: > Thank you very much Daniel! > > I will try the patch. > > > Best Regards, > Laura > > On Wed, Nov 3

Re: [sr-dev] [SR-Users] kamailio fail to start when there are many records in DB in location or in pua table

2011-12-01 Thread laura testi
sidering the amount > of records that can be there, it is indeed a limitation. I will add the > functionality in the near future. > > Cheers, > Daniel > > > On 11/30/11 10:01 AM, laura testi wrote: >> >> Hi all, >>    when there many records in DB tables

[sr-dev] kamailio fail to start when there are many records in DB in location or in pua table

2011-11-30 Thread laura testi
Hi all, when there many records in DB tables like location(usrloc use write back mode), pua etc, kamailio fail to start by complaining "no pkg memory left" when try to load (restore) all records from DB to hashtable of location/pua. The share momory are allocated enough for the hashtable, but th

Re: [sr-dev] [tracker] Comment added: kamailio 3.1.3 Presence + XCAP problem, is it a bug?

2011-07-06 Thread laura testi
subs.reason.s = get_status_str(TERMINATED_STATUS); > + subs.reason.len = strlen(subs.reason.s); > + } > + > update_vals[u_status_col].val.int_val= subs.status; > update_vals[u_reason_col].val.str_val= subs.reason; >

Re: [sr-dev] [tracker] Comment added: kamailio 3.1.3 Presence + XCAP problem, is it a bug?

2011-07-06 Thread laura testi
It's for v3.1.4. But I think the problem is also in devel. # diff -u presence.c.orig presence.c.patch -- cut here --- --- presence.c.orig 2011-06-10 15:35:49.0 +0200 +++ presence.c.patch2011-06-17 18:44:05.0 +0200 @@ -712,6 +712,13 @@ (reason

Re: [sr-dev] [SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
access it, now it works. I can start the kamailio as a service with "service kamailio start" with the running user and group is kamailio. Thank you all for your helps and suggestions! Best Regards, Laura On Tue, Jun 21, 2011 at 5:44 PM, laura testi wrote: > The SELinux is disabled. >

Re: [sr-dev] [SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
The SELinux is disabled. On Tue, Jun 21, 2011 at 5:26 PM, Andrew Pogrebennyk < andrew.pogreben...@portaone.com> wrote: > On 21.06.2011 17:30, laura testi wrote: > >> Should I need to set a some special environment variable to load ldap.so >> in the /etc/init.d/kamaili

Re: [sr-dev] [SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
/etc/init.d/kamailio? Thanks, Laura On Tue, Jun 21, 2011 at 4:23 PM, Andrew Pogrebennyk < andrew.pogreben...@portaone.com> wrote: > On 21.06.2011 17:08, laura testi wrote: > >> Yes, it can be read by all user like other configuration file: >> -rw-r--r-- 1 root root 5

Re: [sr-dev] [SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
Yes, it can be read by all user like other configuration file: -rw-r--r-- 1 root root 566 Jun 20 18:56 ldap.cfg On Tue, Jun 21, 2011 at 2:33 PM, Daniel-Constantin Mierla wrote: > > > On 6/21/11 12:33 PM, laura testi wrote: > > The LDAP server is running on another machine

Re: [sr-dev] [SR-Users] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
mailio'? > > You can change the user/group for kamailio service in /etc/default/kamailio > > Cheers, > Daniel > > > On 6/21/11 12:00 PM, laura testi wrote: > > Hi Daniel, > thank you very much for your quick reply. Yes I can connect to ldap and > make search

Re: [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
n/kamailio[8786]: ERROR: ldap > [ldap_connect.c:166]: [sipaccounts]: ldap bind failed: Can't contact LDAP > server > > suggesting connectivity problem to ldap server. Is it running? Can you > connect to ldap server from a terminal? > > Cheers, > Daniel > > > On 6/21/

[sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread laura testi
Hi, we try to use LDAP module in kamailio, first we try only load the ldap.so only to see if it can be loaded. When we start from the command line with either "kamctl start" or directly "kamilio", the kamailio is started normally with different children. When I try to start as service with "service

Re: [sr-dev] Kamailio Dispatcher Module with Xcap

2011-06-01 Thread laura testi
Thanks Iñaki, I'm sorry, I'll do it next time. kind regards, laura > 2011/5/30 laura testi : >> Could you please tell me if I can use the Dispatcher for processing XCAP >> requests? > > Sure not. I recommend you using Nginx HTTP proxy, really efficient and >

[sr-dev] kamailio 3.1.3 Presence + XCAP problem, is it a

2011-05-31 Thread laura testi
Hello, do you have any news about this case? About the described scenario: I think the step 4a) may be a bug: the subscription STATUS of B (watcher of A) to A should remain ACTIVE (1) instead of PENDING(2). this state is very strange and that causes the strange step 4b) after A having removed B

[sr-dev] Kamailio Dispatcher Module with Xcap

2011-05-30 Thread laura testi
Hello all, I’m trying to use the Kamailio Dispatcher module in order to load balancer the SIP requests against two Kamailio Servers (Presence Servers) that are also XCAP Server for the presence and resources management. As far as I know, the Dispatcher works with the SIP messages but I don’t know

[sr-dev] Multiple Presence Server Problem

2011-05-24 Thread laura testi
Hello all, I’m trying to configure my Kamailio environment with multiple Presentation Server in active/active mode. This should be needed in order to manage the scalability problem. So, I have already installed two PS/Registrar Servers but we have a problem when a message is delivered from the

Re: [sr-dev] kamailio 3.1.3 Presence + XCAP problem, is it a bug?

2011-05-24 Thread laura testi
b.2020...@pernau.at> Content-Type: text/plain; charset=windows-1252 Am 20.05.2011 17:00, schrieb laura testi: > Hello, > > > > I?m wring you again about the Presence = xcap Problem on Kamailio > related with the deleting of a contact. > > Here a detailed descript

[sr-dev] Problem with Presence Server when a contat is deleted from a contact list

2011-05-05 Thread laura testi
Hello, I’m asking your help because I’m facing with the following issue: 1. The user A deletes the contact B from its own contact list; 2. The client sends a XCAP PUT event in order to update the user A resource- list (removing the contact B) and to remove the watcher A from the

Re: [sr-dev] Kamailio TLS Problem

2011-04-27 Thread laura testi
Hi Klaus and Juha, I would just inform you that we solved the problem using the NAT traversal module and disabling the rtpproxy. Thanks for your help. Kind regards, laura ___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org

Re: [sr-dev] ORACLE_DB module Problem

2011-04-27 Thread laura testi
NAME = openserdb) ) ) The command used to query the oracle DB successfully is: ./kamailio_orasel openser/openserrw@LAB -e "select * from subscriber;" Thanks in advance. Kind regards, laura On Thu, Apr 21, 2011 at 2:19 PM, laura testi wrote: > Hello, > > >Ora

[sr-dev] Kamailio TLS Problem

2011-04-22 Thread laura testi
Hi all, I'm trying to use the TLS module in order to allow the secure communication between Kamailio server v. 3.1.3 as registrar and presence server and my PC Client. I'm using SIP Communicator (Jitsi). When the PC client open the SSL connection to Kamailio server for Register/Subscriber/Publish

Re: [sr-dev] ORACLE_DB module Problem

2011-04-21 Thread laura testi
ierla < mico...@gmail.com> wrote: > Hello, > > > On 4/20/11 6:52 PM, laura testi wrote: > > Hi all, > > we are trying to setup a Kamailio as a SIP/SIMPLE presence server for > chat based on the guide published in SIP SIMPLE Presence Made Simple with > Ka

[sr-dev] Presence Problem

2011-04-20 Thread laura testi
Hi all, thank Peter very much for the suggestion. In fact, with the XHTTP_AUTH enable, SIP Communicator (JITSI) doesn’t work with XCAP of Kamailio. With the XHTTP_AUTH comment out. The Presence authorization finally works, but partially. When bob add alice as a contact, there is a authorization re

[sr-dev] ORACLE_DB module Problem

2011-04-20 Thread laura testi
Hi all, we are trying to setup a Kamailio as a SIP/SIMPLE presence server for chat based on the guide published in SIP SIMPLE Presence Made Simple with Kamailio 3.1.x on the site: http://kb.asipto.com/kamailio:presence:k31-made-simple. *The OS we are using is Linux RHEL 5.6 x64 and ORACLE 11g

Re: [sr-dev] sr-dev Digest, Vol 30, Issue 39 - Presence Problem

2011-04-19 Thread laura testi
Hi Peter, thank you very much for the suggestion. In fact, with the XHTTP_AUTH enable, SIP Communicator (JITSI) doesn’t work with XCAP of Kamailio. With the XHTTP_AUTH comment out. The Presence authorization finally works, but partially. When bob add alice as a contact, there is a authorization

[sr-dev] Presence problem

2011-04-19 Thread laura testi
Hi, we are trying to setup a Kamailio as a SIP/SIMPLE presence server for chat based on the guide published in SIP SIMPLE Presence Made Simple with Kamailio 3.1.x on the site: http://kb.asipto.com/kamailio:presence:k31-made-simple. The OS we are using is Linux RHEL 5.6 x64 and MYSQL as Database.