Re: [SR-Users] Multiple calls uac_replace_from()

2013-03-19 Thread Anca Vamanu
Hi Alex, If you create dialog before and use the implementation that relies on dialog variables [1], it is safe to call uac_replace_from() multiple times on the same message, or even the same initial message but looped. The module will detect that uac_replace_from() was called multiple times

Re: [SR-Users] Kamailio Crash using Cassandra 1.1.2 during SIP unregister

2012-08-29 Thread Anca Vamanu
Hi Bou, You are right, those columns were added this year and the schema was not updated in the cassandra file also. I have committed the fix for that file. I will investigate also why it crashed in this case, as it shouldn't crash in any case. Thanks and regards, Anca Vamanu On 08/24

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
per normal. Another question, Have you got pointers on how to install the tables / setup Cassandra. I have created the column families for location, subscriber, version but not yet filled these with data. Regards Bou *From:*sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lis

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
Hi, I tried compiling the module with the latest 3.1 from git and indeed it did not compile initially. This very simple patch that is attached was needed. There were some problems with implicit casts. I see that you are talking about 3.1.1 version, I have not tried with this exact version.

Re: [SR-Users] uac module From header rewriting problems

2012-07-19 Thread Anca Vamanu
Hi Timo, You might be interested in checking out the commit 0f702f6e236eb0cbb238bf83a0c4ae94d7b3cad8 . It adds an alternative implementation to the AUTO mode for uac_replace_from/to() by using the dialog module to store the URIs. Here is the excerpt from the README file explaining this:

Re: [SR-Users] Subscription-State: terminated;reason=terminated?

2012-06-27 Thread Anca Vamanu
Hi Min, Klaus, I followed your suggestions and added a module parameter - xcapauth_userdel_reason in presence_xml module. It has default value "probation". The retry-after parameter can be added easily by just attaching it also to the end of the reason when setting this parameter. 3.10. xca

Re: [SR-Users] Subscription-State: terminated;reason=terminated?

2012-06-26 Thread Anca Vamanu
please wait until there is a further discussion on it? thanks again. min On 06/26/2012 12:02 PM, Anca Vamanu wrote: Hi Min, I also consider the "terminated" reason is not the best choice in this case. I think reason "deactivated" is more appropriate. Since you seem to hav

Re: [SR-Users] Subscription-State: terminated;reason=terminated?

2012-06-26 Thread Anca Vamanu
Hi Min, I also consider the "terminated" reason is not the best choice in this case. I think reason "deactivated" is more appropriate. Since you seem to have researched about this also, do you agree? I can do this change in the code. Thanks and regards, Anca On 06/26/2012 01:07 AM, Min Wa

Re: [SR-Users] kamailio debug send messages

2012-05-21 Thread Anca Vamanu
between/after a 'skip' extending (attached as log.diff). Thanks! 2012/5/16 Anca Vamanu mailto:anca.vam...@1and1.ro>> Hi Konstantin, Can you tell me exactly what you are calling in onsend_route and how you observe it is not working? Reg

Re: [SR-Users] kamailio debug send messages

2012-05-16 Thread Anca Vamanu
Hi Konstantin, Can you tell me exactly what you are calling in onsend_route and how you observe it is not working? Regards, Anca On 05/15/2012 04:55 PM, Konstantin M. wrote: Hi Anca, I've tested your patch and I don't think it's working. At least I was noticed that a logic is going to 'sk

Re: [SR-Users] kamailio debug send messages

2012-05-15 Thread Anca Vamanu
Hi Konstantin, I have attached the patch that allows calling onsend route also for replies. After the 3.3 release is done, I will commit it also upstream. Regards, Anca On 05/14/2012 09:00 PM, Konstantin M. wrote: Hi Marius, My opinion that a replies should be routed to onsend_route after

Re: [SR-Users] Presence question

2012-03-19 Thread Anca Vamanu
Hi David, This query comes from code and is executed when a Notify receives an error reply. Check which is the reply received by the Notify that is sent imediately after the 200OK for Subscribe. Regards, Anca On 03/19/2012 06:30 PM, David wrote: Hello, I am running a presence server. I

Re: [SR-Users] alias problem

2012-01-30 Thread Anca Vamanu
Hi Mihaylov, If your Asterisk servers add a Record-Route header to the initial Invite, for in-dialog requests ( ACK, BYE) you should use *loose_route() *function to do the routing. This will make sure the requests go the same path as the initial Invite. It is not a good practice to manually r

Re: [SR-Users] save a Q850 cause reason from a reply

2012-01-30 Thread Anca Vamanu
Hi Uri, You can use the param transformation: $(hdr(Reason){param.value,cause}) http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x#parameters_list_transformations Regards, Anca On 01/30/2012 08:20 AM, Uri Shacked wrote: Hi, the gateway i use for sending call to pstn has an optio

Re: [SR-Users] dbcassandra - 483

2012-01-27 Thread Anca Vamanu
Hi David, Do you see any errors in sip-router log? Also how have you created the column family in cassandra? Probably you already created it correctly but I will mention here the way to do it anyway. You have to create a keyspace corresponding to the name of the database. Then you have to

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Anca Vamanu
Hi, I also found a memory leak in pua module which is probably causing the increase in memory that you observe. Laura, if you could please update your code and check? Regards, Anca ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users maili

Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-26 Thread Anca Vamanu
Hi, Looking roughly in the pua_xmpp module I found some error cases where the memory allocated by libxml2 was not freed. I have fixed them now in master. Not sure though if there are related to the memory leak Laura observed. Laura, can you check if there were any error messages in the logs p

Re: [SR-Users] dbcassandra - 483

2012-01-26 Thread Anca Vamanu
Hi David, I believe it has to do more with your configuration fine than with location and db_cassandra, but lets see exactly what happens. First of all do a message capture on the server to see that happens to the Invite the first time it passes the server. Look at the RURI. Is it changed to t

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
Hi David, I have just committed an extension of the module to allow queries without any condition (this is what domain module did and it did not work). I have tested myself with domain module and it was ok. Update your code and check it out. Regards, Anca On 01/23/2012 03:16 PM, David wrot

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
expires col [1]. I realise now that maybe I should change the name of this type, because I see it might be confusing. [1] http://sip-router.org/docbook/sip-router/branch/master/modules/db_cassandra/db_cassandra.html#id2796778 Regards, Anca On 1/23/12 7:45 AM, Anca Vamanu wrote: Hi David, How

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists 0(22484) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done 0(22484) DEBUG: [mem/shm_mem.c:242]: shm_mem_destroy 0(22484) DEBUG: [mem/shm_mem.c:245]: destroying the shared memory lock On 1/23/12 4:05 AM, Anca Va

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
Hi David, As mentioned in the documentation[1], the module is compatible with thrift library version 0.6.1. [1] http://sip-router.org/docbook/sip-router/branch/master/modules/db_cassandra/db_cassandra.html Regards, Anca On 01/22/2012 09:16 AM, David wrote: Using thrift/0.8.0/thrift-0.8.

[SR-Users] NEW : DB_CASSANDRA module

2012-01-17 Thread Anca Vamanu
it. Thanks and regards, Anca On 01/16/2012 12:28 PM, Henning Westerholt wrote: Hello all, I'm happy to announce a new developer for the project: Anca Vamanu. Welcome to the development team! Anca joined 1&1 last year and worked since then on several internal modules and also many