Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Carlos Ruiz Díaz
Hi Jonathan, Cnxcc was heavily updated a couple of months ago, so I suggest you update your copy and let me know if the update fixes this bug. Regards, Carlos On Feb 20, 2015 8:45 AM, Jonathan Hunter hunter...@hotmail.com wrote: Hi Guys, Using kamailio Version 4.1.4 on Centos 6.5 I have an

Re: [SR-Users] usrloc: Unregister client on TCP connection close

2014-10-22 Thread Carlos Ruiz Díaz
Well, in websocket module you have the event route that's triggered when a connection is lost [1]. You wouldn't be able to use the unregister function of the registrar module, because a faked SIP message is used to trigger the event, but you can always write a custom SQL to delete the record of

Re: [SR-Users] Call Group versus MAX_BRANCHES limit

2014-09-30 Thread Carlos Ruiz Díaz
Hi Daniel, would it be inappropriate to increase the branch number to the maximum possible, by default? Regards, Carlos On Tue, Sep 30, 2014 at 5:28 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 29/09/14 22:47, João Vitor Arruda wrote: Hi folks, I have a question

Re: [SR-Users] R: Re: R: Re: RTPPROXY BRANCH

2014-09-30 Thread Carlos Ruiz Díaz
Hi Richard, this is more or less the same problem that I am experiencing. To understand it better, just assume one branch needs to do SRTP, and the other simple RTP. To make this happen, you will have to enable rtpengine differently for the same call, and this is where the crash/error happens.

Re: [SR-Users] cnxcc serial fork

2014-08-28 Thread Carlos Ruiz Díaz
Hi Kelvin, this is an interesting scenario. I will have to reproduce it myself in order to reply you properly. Answering your question, yes, it should be updated to 200. Let me check ASAP. Regards, Carlos On Thu, Aug 28, 2014 at 4:31 AM, Kelvin Chua kel...@gmail.com wrote: hi carlos, i

Re: [SR-Users] CNXCC curious case

2014-08-21 Thread Carlos Ruiz Díaz
Thank you for the feedback Kelvin. On Thu, Aug 21, 2014 at 2:48 AM, Kelvin Chua kel...@gmail.com wrote: just to close this issue, it does not happen on 4.1.5 Kelvin Chua On Thu, Jul 10, 2014 at 9:26 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hi Kevin, what are the steps

Re: [SR-Users] Kamailio on Mac

2014-07-30 Thread Carlos Ruiz Díaz
:50, Victor Seva wrote: On 07/27/2014 01:46 AM, Carlos Ruiz Díaz wrote: Hi all, I'm switching my development environment from Linux to Mac. Is there any tutorial on how to setup Kamailio on this OS? It may be an Unix flavor, but it's still quite different from Linux :). Maybe using docker

[SR-Users] Kamailio on Mac

2014-07-26 Thread Carlos Ruiz Díaz
Hi all, I'm switching my development environment from Linux to Mac. Is there any tutorial on how to setup Kamailio on this OS? It may be an Unix flavor, but it's still quite different from Linux :). Thanks, -- Carlos http://caruizdiaz.com http://ngvoice.com +52 55 3048 3303

Re: [SR-Users] CNXCC curious case

2014-07-10 Thread Carlos Ruiz Díaz
Hi Kevin, what are the steps to reproduce this? Also, do you have the latest update of the module? I remember fixing a deadlock that could be the root cause of this problem. Regards, Carlos On Thu, Jul 10, 2014 at 12:03 AM, Kelvin Chua kel...@gmail.com wrote: I am using

Re: [SR-Users] Calls per second

2014-07-03 Thread Carlos Ruiz Díaz
Hi, do you know how the autoexpire is implemented in the htable module? If it's a timer doing the polling and checking the expiration value, it may not be ideal for your CPU do it that way. Several entries will surely impact negatively on the performance. I'm planning to implement this for cnxcc

Re: [SR-Users] Calls per second

2014-07-03 Thread Carlos Ruiz Díaz
Ok. Thanks Alex. On Thu, Jul 3, 2014 at 8:00 AM, Alex Balashov abalas...@evaristesys.com wrote: On 07/03/2014 08:52 AM, Carlos Ruiz Díaz wrote: Hi, do you know how the autoexpire is implemented in the htable module? If it's a timer doing the polling and checking the expiration value

Re: [SR-Users] RTP to SRTP encryption with Kamailio.

2014-06-26 Thread Carlos Ruiz Díaz
Hi, you are on the right track. Mediaproxy-ng/rtpengine does the conversion of SDP profiles for you, so basically, you will only need to flag the call with the right parameters and rtpengine will do the rest. Check out the webrtc example that comes with Kamailio, or my example [1]. You can use

Re: [SR-Users] Disabling rtpengine abrt handler

2014-06-22 Thread Carlos Ruiz Díaz
The core file is usually stored in the working directory where the executable was invoked. Regards, Carlos On Sun, Jun 22, 2014 at 9:28 AM, Alex Balashov abalas...@evaristesys.com wrote: On 06/21/2014 10:01 PM, Richard Fuchs wrote: This is not something that rtpengine is doing. You'd have

Re: [SR-Users] Disabling rtpengine abrt handler

2014-06-22 Thread Carlos Ruiz Díaz
: On 06/22/2014 10:59 AM, Carlos Ruiz Díaz wrote: The core file is usually stored in the working directory where the executable was invoked. Yeah, if it's not being caught and then mishandled by a specious endeavuor like ABRT, conceived by cretins and imbeciles. -- Alex Balashov

Re: [SR-Users] CNXCC and multiple servers

2014-06-04 Thread Carlos Ruiz Díaz
Hi Kelvin, actually, it's something I wanted to do myself for like 4 months, but I haven't found the time to work on this. If you do, you are welcome to implement your idea :). I believe it's doable, and my original script was about using a proxy that should be aware of where the calls belonging

Re: [SR-Users] cnxcc

2014-06-03 Thread Carlos Ruiz Díaz
() comes before cnxcc_set_max_credits() Kelvin Chua On Mon, May 12, 2014 at 10:00 AM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hi, Check this commitdiff [1], it has some subtle lines of code that remove the deadlock. Rtimer is not required, it is only used in the sample

Re: [SR-Users] mediaproxy

2014-06-03 Thread Carlos Ruiz Díaz
Hi, make sure you are using the right control protocol. Check --listen-udp and --listen-ng parameters when starting mediaproxy-ng daemon. Rtpproxy-ng uses the ng protocol, rtpproxy uses the classic one. Regards, On Tue, Jun 3, 2014 at 11:56 AM, Slava Bendersky volga...@networklab.ca wrote:

Re: [SR-Users] JSSIP with Kamalio with SIP end points

2014-05-31 Thread Carlos Ruiz Díaz
Just proxy the authentication to their SIP providers, and let kamailio put itself in the path so it can bridge between UDP (probably) and WS transport. You can use dispatcher, carrierroute, whatever module you want. The only non-ordinary thing here are the UA's communicating via websockets, and

Re: [SR-Users] JSSIP with Kamalio with SIP end points

2014-05-31 Thread Carlos Ruiz Díaz
:10 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Just proxy the authentication to their SIP providers, and let kamailio put itself in the path so it can bridge between UDP (probably) and WS transport. You can use dispatcher, carrierroute, whatever module you want. The only non

Re: [SR-Users] CNXCC PrePaid module

2014-05-12 Thread Carlos Ruiz Díaz
? the test with only integers works perfect On Sun, May 11, 2014 at 10:48 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Yep, assignment failed because the variables contain floating point values and Kamailio does not handle well this kind of precision. I patched the module to add

Re: [SR-Users] cnxcc

2014-05-11 Thread Carlos Ruiz Díaz
the rtimer module? is it really required? what if i would only use CNXCC_MONEY and not CNXCC_TIME or CNXCC_CHANNEL? should i still load rtimer.so before loading cnxcc.so? Kelvin Chua On Mon, Apr 28, 2014 at 9:13 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: I'm glad that it worked

Re: [SR-Users] CNXCC PrePaid module

2014-05-11 Thread Carlos Ruiz Díaz
doesn't evaluate the variable if($var(cost_per_sec) $var(credit)) { sl_send_reply(402,payment required); exit; } On Fri, May 9, 2014 at 4:41 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: On Fri, May 9, 2014 at 3:52 PM, Rene Montilva

Re: [SR-Users] CNXCC PrePaid module

2014-05-11 Thread Carlos Ruiz Díaz
and 6, and check if the call is actually terminated or even initiated. This will give you a quick diagnosis of your routing script. Regards, Carlos On Sun, May 11, 2014 at 9:04 PM, Rene Montilva renemonti...@gmail.comwrote: Hi Carlos kamailio version 4.1 El 11/05/2014 21:32, Carlos Ruiz Díaz

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
Hi, Can you paste the code you are using, with the values that each variable contain at the moment of initiating the call? Regards, On Fri, May 9, 2014 at 2:35 PM, Rene Montilva renemonti...@gmail.comwrote: Hi list I don't understand prepaid logic calculation, because when my credit is 0

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
]: set_max_credit(): credit value must be 0: 0.00 On Fri, May 9, 2014 at 3:08 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hi, Can you paste the code you are using, with the values that each variable contain at the moment of initiating the call? Regards, On Fri, May 9

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
Oops, correction: *if ($var(credit) $var(cost_per_second)) {* *sl_send_reply(402, payment required);* *exit;* *}* By the way, please inform of your results after doing your tests. Thanks, Carlos On Fri, May 9, 2014 at 3:17 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.comwrote

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
are the long value: *if ($var(credit) $var(cost_per_second)) {* *sl_send_reply(402, payment required);* *exit;* *}* Did not get that, what does not work? On Fri, May 9, 2014 at 3:48 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Oops, correction: *if ($var(credit

Re: [SR-Users] cnxcc

2014-04-28 Thread Carlos Ruiz Díaz
later this week :). Regards, On Sun, Apr 27, 2014 at 9:27 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hi Andrzej, I found a deadlock situation using the script you posted, thanks to an unusual way of using the functions that the module exports. About the script itself: I

Re: [SR-Users] cnxcc

2014-04-27 Thread Carlos Ruiz Díaz
I used a shared memory variable, to give you an idea of how to persist the customer's ID across processes. Regards, Carlos - On Sat, Apr 26, 2014 at 10:34 AM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: I did find a bug, using your config script, I will fix it this weekend. Try

Re: [SR-Users] cnxcc

2014-04-27 Thread Carlos Ruiz Díaz
Kelvin, can you update your copy and try again? Maybe your problem was related to this, or maybe not. In either case, I will try to reproduce your issue later this week :). Regards, On Sun, Apr 27, 2014 at 9:27 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hi Andrzej, I found

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
Hi, sorry guys, I forgot about this. I will make my own tests and post the results. Andrzej, can you post the configuration file you are using? Regards, Carlos On Sat, Apr 26, 2014 at 4:15 AM, Kelvin Chua kel...@gmail.com wrote: No, I have not yet found the solution for this issue on my

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
); } xlog(L_INFO, CNXCC ROUTE: $var(client) has $var(count) call(s)); # perform some kind of notification, database update, email sending, etc } Greetings Andrzej Ciupek *Od:* Carlos Ruiz Díaz carlos.ruizd...@gmail.com *Wysłano:* ‎sobota‎, ‎26‎ ‎kwietnia‎ ‎2014 ‎15‎

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
-- Od: Carlos Ruiz Díaz carlos.ruizd...@gmail.com Wysłano: ‎2014-‎04-‎26 16:42 Do: Andrzej Ciupek andrzej.ciu...@hotmail.com DW: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Temat: Re: [SR-Users] cnxcc Hi Andrzej, are you trying to setup cnxcc

Re: [SR-Users] cnxcc

2014-04-09 Thread Carlos Ruiz Díaz
/08/2014 10:31 AM, Carlos Ruiz Díaz wrote: Hi Carsten, that's right, I'm replying to this while I wait for a tour to the Vatican City :-D ;-) Cheers, On Tue, Apr 8, 2014 at 3:27 AM, Carsten Bock cars...@ng-voice.com mailto:cars...@ng-voice.com wrote: Hi Carlos

Re: [SR-Users] cnxcc

2014-04-08 Thread Carlos Ruiz Díaz
Hi Kelvin, probably the dialog matching parameter is wrong, or something in the parameter configuration of cnxcc. The value of max_amount is 0, because the call wasn't established or was established and cnxcc couldn't detect it (probably because of the dlg matching, as I mentioned). It will

Re: [SR-Users] cnxcc

2014-04-08 Thread Carlos Ruiz Díaz
Carlos Ruiz Díaz carlos.ruizd...@gmail.com: Hi Kelvin, probably the dialog matching parameter is wrong, or something in the parameter configuration of cnxcc. The value of max_amount is 0, because the call wasn't established or was established and cnxcc couldn't detect it (probably

Re: [SR-Users] trixbox or asterisk as a media server for kamailio

2014-03-12 Thread Carlos Ruiz Díaz
Hi, have you looked this [1] already? I would recommend dropping trixbox is favor of a plain Asterisk installation. It makes things easier to configure. [1] http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb Regards, On Wed, Mar 12, 2014 at 9:47 AM, malik sherif

Re: [SR-Users] [sr-dev] dialog module with DB Backend

2014-03-05 Thread Carlos Ruiz Díaz
Hi Jay, I tried the module as is for the location service, and it worked fine. Considering this, why was this part working if usrloc uses the same DB API that was binding a buggy implementation?. It makes me suspicious. Did you make sure the records were actually inserted on the cluster?

Re: [SR-Users] Incorrect Contact address

2014-03-05 Thread Carlos Ruiz Díaz
Why is erroneous to have the contact header with the backend IP? With the record-route on the 200 Ok, the ACK should be directed to the backend IP, but containing a route header pointing to the Kamailio IP. Kamailio will loose_route() this request and send it to the backend server as expected.

Re: [SR-Users] [sr-dev] dialog module with DB Backend

2014-02-24 Thread Carlos Ruiz Díaz
I would suggest that you change the DBMS to something a little less complicated than Cassandra, MySQL for example, make your tests again and see if you can reproduce this. In case you can't, and you get to work everything with the DBMS you chose, it would mean that you have found a bug in the

Re: [SR-Users] kamailio with mediaproxy-ng, 488 Not Acceptable Here

2014-02-24 Thread Carlos Ruiz Díaz
Just in case someone is interested, I created a sample script that could help new comers having the same problem. I will write a blog entry explaining how this works, but in a nutshell: - this script is configured to run behind NAT, port TCP 10080 and TCP/UDP 5090 are exposed to the Internet -

Re: [SR-Users] Performance impact with AVP and VAR's

2014-02-20 Thread Carlos Ruiz Díaz
Maybe you should replace AVPs with VARs where needed. Vars are more lightweight and with a per-process scope only. Regards, On Thu, Feb 20, 2014 at 9:38 PM, Ovidiu Sas o...@voipembedded.com wrote: AVPs are in shared men and protected by locks. VARs are not. There shouldn't be a big impact on

Re: [SR-Users] call limit by trunk/user

2013-12-18 Thread Carlos Ruiz Díaz
Hi Oliver, maybe you can use the cnxcc prepaid module [1]. Hopefully, it is what you are looking for. [1] http://kamailio.org/docs/modules/devel/modules/cnxcc.html#idp130984 Regards, On Wed, Dec 18, 2013 at 9:42 AM, Oliver Roth oliver.r...@triotel.ch wrote: Hi all I need a solution to

Re: [SR-Users] call limit by trunk/user

2013-12-18 Thread Carlos Ruiz Díaz
are not able to run Kamailio 4.x with carrierroute and Ubuntu 12.04 – we have to stay with Kamailio 3.3 *Von:* sr-users-boun...@lists.sip-router.org [mailto: sr-users-boun...@lists.sip-router.org] *Im Auftrag von *Carlos Ruiz Díaz *Gesendet:* Mittwoch, 18. Dezember 2013 13:54 *An:* Kamailio

Re: [SR-Users] Timezone in acc table

2013-11-14 Thread Carlos Ruiz Díaz
Hi, as a workaround you could create a trigger for the before-insert event to modify the new row with the correct values by adding or subtracting hours depending on your timezone. Regards, Carlos On Thu, Nov 14, 2013 at 11:37 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello,

[SR-Users] Google search

2013-11-06 Thread Carlos Ruiz Díaz
Hi guys, this happens to me all the time: when I search for documentation about a specific Kamailio module on Google, I always land on outdated entries usually from Kamailio 1.6.x. Although this seems trivial and I could simply update the URL to the current version of Kamailio, this may be not

Re: [SR-Users] hanging active dialog...

2013-08-23 Thread Carlos Ruiz Díaz
I don't know what exactly happened in your case but if you don't have time to investigate you can try cnxcc module [1] channel control to achieve the same goal. Take a look at the sample configuration file located in [2] xlog(L_INFO, Setting up channel based credit control);

Re: [SR-Users] Writing a module

2013-08-20 Thread Carlos Ruiz Díaz
There's also a Perl module that can be used to execute a Perl script containing your business logic. Sounds like you are doing lots of database queries and doing that from a C module will always be more difficult than using a DB abstraction layer that the one Perl provides. On Tue, Aug 20, 2013

Re: [SR-Users] Writing a module

2013-08-20 Thread Carlos Ruiz Díaz
:53 AM, Alex Balashov abalas...@evaristesys.comwrote: On 08/20/2013 07:51 AM, Carlos Ruiz Díaz wrote: There's also a Perl module that can be used to execute a Perl script containing your business logic. Sounds like you are doing lots of database queries and doing that from a C module

Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Carlos Ruiz Díaz
Hi Jayesh, I just applied the changes and updated the documentation. Please give it a try. Regards, Carlos On Wed, Jul 17, 2013 at 11:01 PM, Jayesh Nambiar jayesh1...@gmail.comwrote: Thank you Carlos. --- Jayesh On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz carlos.ruizd

Re: [SR-Users] Get duration in cnxcc:call-shutdown event

2013-07-20 Thread Carlos Ruiz Díaz
The lack of values in some of the standard pseudo variables is a limitation of the dialog module which does not provide the necessary information in the event route block in cases when the call is forced to end. You can calculate the duration using: * $var(duration) = $TS - $dlg(start_ts);* *

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
Hi Jayesh, yes, I think this behavior can be added. As a workaround you can check the credit data before relaying the INVITE so you can reject it immediately in case of lacking enough credit. Have you tried that? Regards, Carlos. On Wed, Jul 17, 2013 at 10:57 AM, Jayesh Nambiar

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
like it would have been more neater if done in the cnxcc module itself since it is anyways checking the credit after the call is active !! I would wait for that behavior though in the cnxcc module. Thanks again. --- Jayesh On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz carlos.ruizd

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Carlos Ruiz Díaz
What if you set the default dialog timeout to a value much less than 12/14 hours, maybe 2 hours. It's very unlikely that a session last that long. On Tue, Jul 2, 2013 at 9:23 AM, Charles Chance charles.cha...@sipcentric.com wrote: Hi, I don't think this will help at all, as regardless of DB

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Carlos Ruiz Díaz
a small patch will be required though. Regards, Charles On 2 July 2013 15:11, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Ok, I haven't noticed that, although I can't tell for sure whether it will work or not. If you can dump the dialogs using xmlrpc or rpc interface, maybe you could

Re: [SR-Users] Issue with RTP proxy....

2013-07-02 Thread Carlos Ruiz Díaz
Not true. I'm running RTP proxy behind NAT without problems. On Tue, Jul 2, 2013 at 3:22 PM, Sergey Okhapkin s...@sokhapkin.dyndns.orgwrote: That might not work. Substituting of advertise IP address is not enough. NAT router could mangle IP port too. Once again - RTP proxy must run on a

Re: [SR-Users] $DLG_lifetime

2013-06-21 Thread Carlos Ruiz Díaz
Maybe cnxcc module can help you [1]. If you need to set a time limit you could use cnxcc_set_max_time() and when the call times out, an event route is called. [1] http://kamailio.org/docs/modules/devel/modules/cnxcc.html Regards, Carlos On Fri, Jun 21, 2013 at 8:30 AM, Federico Cabiddu

Re: [SR-Users] $DLG_lifetime

2013-06-21 Thread Carlos Ruiz Díaz
)); unforce_rtp_proxy(); } On Fri, Jun 21, 2013 at 8:45 AM, Federico Cabiddu federico.cabi...@gmail.com wrote: Thanks! I'll have a look on this too. Regards, Federico On Fri, Jun 21, 2013 at 2:43 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Maybe cnxcc module can help you [1

Re: [SR-Users] Missed calls notification supporting

2013-06-11 Thread Carlos Ruiz Díaz
Whenever I get a missed call I store it in a database table of my own logic (maybe you could use the built-in table for that), later, when the user appears online again after a registration, I read the records belonging to him and I send him a SIP MESSAGE containing his missed calls. Needless to

Re: [SR-Users] cnxcc developer module pulse concept

2013-06-06 Thread Carlos Ruiz Díaz
Hi Eduardo, please take into account that there might be telephony concepts mistranslated from Spanish to English. In case you find something else that seems confusing, please let me know. Regards, Carlos On Thu, Jun 6, 2013 at 7:56 AM, Eduardo Lejarreta lejarret...@sarenet.eswrote: Good

Re: [SR-Users] Kamailio dialog termination

2013-04-25 Thread Carlos Ruiz Díaz
Hi, did you wait the default 12 hours (default_timeout) for the dialog to be released? If after that time, the dialog is still there, it is probably because of a bug. You should also take into account the matching mode currently configured:

Re: [SR-Users] var vs avp...

2013-04-19 Thread Carlos Ruiz Díaz
Use $var when you want to manipulate values inside a route block, for example, when you want to store a value that will live only in the scope of that route block. When the route block exits, it will be automatically deallocated. Use $avp when you want to store a value that you want to read

Re: [SR-Users] Send Bye to all calls in one profile

2013-01-21 Thread Carlos Ruiz Díaz
+595981146623 On Mon, Nov 19, 2012 at 5:10 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Thanks! I'll start a new thread and I'll put the code on github. If it turns to be actually useful to the community, it would be great, but if not, it will be a good learning material

Re: [SR-Users] Kamailio-Java Integration

2012-11-24 Thread Carlos Ruiz Díaz
I don't think Java would be a performance limitation at all, as long as it runs on a separate machine with its own processor, memory and pool of disks. If you don't like writing complex modules in C, you can always implement your business logic in your preferred high level languages (Java, C#,

Re: [SR-Users] Send Bye to all calls in one profile

2012-11-19 Thread Carlos Ruiz Díaz
Hello Camila, Alex. I wrote a module that you may find useful for this purpose and which I'm planning to release in the next few days. Please allow me to introduce its features: - It relies on the dialog module to track the calls it handles - You can group calls by an ID, which can be the

Re: [SR-Users] Send Bye to all calls in one profile

2012-11-19 Thread Carlos Ruiz Díaz
. On Mon, Nov 19, 2012 at 5:01 PM, Alex Balashov abalas...@evaristesys.comwrote: That is indeed a rather sophisticated superset of what I've been working on! I look forward to this contribution. On 11/19/2012 03:00 PM, Carlos Ruiz Díaz wrote: Hello Camila, Alex. I wrote a module that you

Re: [SR-Users] RPC, XMLRPC or other

2012-11-13 Thread Carlos Ruiz Díaz
. -- Carlos http://caruizdiaz.com +595981146623 On Tue, Nov 13, 2012 at 8:24 AM, Kristofer Signer kristofer.sig...@gmail.com wrote: Hello, On Tue, Nov 13, 2012 at 5:03 AM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Hello, I've been through this problem a few weeks ago with my

Re: [SR-Users] RPC, XMLRPC or other

2012-11-12 Thread Carlos Ruiz Díaz
Hello, I've been through this problem a few weeks ago with my module that exports nested structures through xmlrpc. Apparently, there's a limitation in the technology itself that makes the nested structures to be overwritten everytime the response XML is parsed, if you look closely, you will

Re: [SR-Users] unsubscribe

2012-10-16 Thread Carlos Ruiz Díaz
To unsubscribe, go to: http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users, search for the button unsubscribe or edit options. 2012/10/16 Pablo R. Digonzelli pdigonze...@softsargentina.com -- *Ing. Pablo Digonzelli* Sofware Solutions IP Soluciones SRL

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

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

2012-10-11 Thread Carlos Ruiz Díaz
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 was configured

Re: [SR-Users] [sr-dev] moving all to kamailio namespace

2012-10-08 Thread Carlos Ruiz Díaz
HI Daniel, I consider myself a new comer and having both kamailio and ser interacting with each other is indeed confusing. For me, the change is welcome and I'm in favor of doing all the effort at once. Regards. Carlos On Mon, Oct 8, 2012 at 11:33 AM, Daniel-Constantin Mierla

Re: [SR-Users] avp usage limit

2012-08-19 Thread Carlos Ruiz Díaz
I believe it is directly related to the amount of physical memory available for the process. Anyways, you can always delete the AVP after using it although this is automatically done after the transaction finishes. Maybe increasing the maximum memory limit could help:

Re: [SR-Users] append_branch with pseudo variables

2012-08-17 Thread Carlos Ruiz Díaz
I'll try that :). Thanks for your help. Carlos. On Fri, Aug 17, 2012 at 5:30 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 8/16/12 10:50 PM, Carlos Ruiz Díaz wrote: On Thu, Aug 16, 2012 at 4:30 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 8/16/12 9:15 PM

Re: [SR-Users] append_branch with pseudo variables

2012-08-17 Thread Carlos Ruiz Díaz
. On Fri, Aug 17, 2012 at 11:38 AM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: I'll try that :). Thanks for your help. Carlos. On Fri, Aug 17, 2012 at 5:30 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 8/16/12 10:50 PM, Carlos Ruiz Díaz wrote: On Thu, Aug 16, 2012 at 4

Re: [SR-Users] append_branch with pseudo variables

2012-08-17 Thread Carlos Ruiz Díaz
. On Fri, Aug 17, 2012 at 4:32 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: I can't set any of the attributes values using the assignment syntax. Everytime I do: $(branch(q)[1]) = 0.1; I get ERROR: core [lvalue.c:354]: setting pvar failed. This is true for all attributes, nut just

[SR-Users] append_branch with pseudo variables

2012-08-16 Thread Carlos Ruiz Díaz
Hello guys, Why I can only append_branch() a SIP URI as a literal constant string? Why not from a pseudovariable? It's the same for most of the core functions. My intention is to do something like this: append_branch($cnx3a(route1)); t_relay(); where cnx3a is a variable containing the SIP

Re: [SR-Users] append_branch with pseudo variables

2012-08-16 Thread Carlos Ruiz Díaz
Great! I'll give it a try. Thanks! Carlos. On Thu, Aug 16, 2012 at 12:13 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 8/16/12 5:25 PM, Carlos Ruiz Díaz wrote: Hello guys, Why I can only append_branch() a SIP URI as a literal constant string? Why not from

Re: [SR-Users] append_branch with pseudo variables

2012-08-16 Thread Carlos Ruiz Díaz
it using assignation on $ru pseudovariable and writing a route to manage the serial forking I need. Thanks. Carlos. On Thu, Aug 16, 2012 at 2:17 PM, Carlos Ruiz Díaz carlos.ruizd...@gmail.com wrote: Great! I'll give it a try. Thanks! Carlos. On Thu, Aug 16, 2012 at 12:13 PM, Daniel

Re: [SR-Users] append_branch with pseudo variables

2012-08-16 Thread Carlos Ruiz Díaz
On Thu, Aug 16, 2012 at 4:30 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: On 8/16/12 9:15 PM, Carlos Ruiz Díaz wrote: Looks like km_append_branch() doesn't have all of the signatures that the original append_branch() has. I can't add q values for serial/parallel forking