[OpenSIPS-Users] FW: CDRTool - memory problem

2012-03-20 Thread Daniel Conte Laguna
I detected this problem when I was using a table with 15 records in billing rates history, and 7 records in destinations table. But I would like use without problems tables with 30 records or more and i think to put more memory in my server doesn't mean to solve the error. With

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Saúl Ibarra Corretgé
Hi, On Mar 19, 2012, at 10:34 PM, duane.lar...@gmail.com wrote: I don't think I am having any other issues. I used the Bye on timeout option very shortly before version 1.7 came out. I don't think I am doing anything when it comes to NOTIFY. This is a test user that is behind a Vontage

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Vlad Paiu
Hello Duane, Aside from the script miss-configurations that Saúl mentioned, please make sure that within your script, you first make alterations to NAT-ed contacts in INVITEs, and only after should you call create_dialog(), so that the dialog module gets the chance to see the modifications.

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Saúl Ibarra Corretgé
Hi, I managed to solve it as follows: if ($(ct.fields(uri){uri.params}) != $(ct.fields(uri){uri.params}{param.exist,gr}) == 1) { # Contact is a GRUU, do stuff } else { # Contact is not a GRUU, fix it } I had to use that compound test because apparently the

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Bogdan-Andrei Iancu
Hi Saúl, That is not a bug - all the transformations assume that they receive a valid input ; otherwise they will generated error. Regards, Bogdan On 03/20/2012 11:37 AM, Saúl Ibarra Corretgé wrote: Hi, I managed to solve it as follows: if ($(ct.fields(uri){uri.params}) !=

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Bogdan-Andrei Iancu
Hi Saúl, Indeed, it seems that the URI transformation returns empty string if the requested field does not exist (specific param, etc) - I would rather say the bug is here. Regards, Bogdan On 03/19/2012 08:07 PM, Saúl Ibarra Corretgé wrote: Hi, I'm trying to find a way to check if a URI

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Saúl Ibarra Corretgé
Hi Bogdan, On Mar 20, 2012, at 10:41 AM, Bogdan-Andrei Iancu wrote: Hi Saúl, That is not a bug - all the transformations assume that they receive a valid input ; otherwise they will generated error. Ok, so I see that params needs to be in param=val;param1=val2 form, thus the empty

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Saúl Ibarra Corretgé
On Mar 20, 2012, at 10:52 AM, Bogdan-Andrei Iancu wrote: Hi Saúl, Indeed, it seems that the URI transformation returns empty string if the requested field does not exist (specific param, etc) - I would rather say the bug is here. Yep, returning null would make sense IMHO. But I just

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Bogdan-Andrei Iancu
Hi Saúl, I will open a bug report related to the bogus behavior of URI transformation. Regards, Bogdan On 03/20/2012 11:54 AM, Saúl Ibarra Corretgé wrote: Hi Bogdan, On Mar 20, 2012, at 10:41 AM, Bogdan-Andrei Iancu wrote: Hi Saúl, That is not a bug - all the transformations assume that

Re: [OpenSIPS-Users] Finding value-less URI parameters

2012-03-20 Thread Bogdan-Andrei Iancu
On 03/20/2012 11:58 AM, Saúl Ibarra Corretgé wrote: On Mar 20, 2012, at 10:52 AM, Bogdan-Andrei Iancu wrote: Hi Saúl, Indeed, it seems that the URI transformation returns empty string if the requested field does not exist (specific param, etc) - I would rather say the bug is here. Yep,

Re: [OpenSIPS-Users] Trying to get Snom Contact List to work with OpenSIPS RLS

2012-03-20 Thread Duane Larson
Saul, That was the issue. Thanks for looking at that. On Mon, Mar 19, 2012 at 10:21 AM, duane.lar...@gmail.com wrote: OK. I see where the duplicate is now. I will test later today. On , Saúl Ibarra Corretgé s...@ag-projects.com wrote: Hi Duane, [snip] I created

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Duane Larson
Saul, I did make that one change. Thanks for the info. I still have the same issue. Here is a NGREP of the client registering and then calling someone. http://pastebin.com/gC0LPASn You will see that all messages to the softphone client are good except for the OPTIONS keepalive messages.

[OpenSIPS-Users] REFER erroneous retransmissions

2012-03-20 Thread Damien Sandras
Dear all, We are using opensips TRUNK together with Asterisk. Some requests like PUBLISH, SUBSCRIBE, MESSAGE are directly routed between peers but normal calls are still routed through Asterisk (that is a temporary solution). However, we noticed that even though a REFER sent by a phone has

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Vlad Paiu
Hello Duane, It seems the dialog module still sees the caller leg's initial contact ( with private IP), as the Options pings as well as the BYE when terminating the call are generated with the caller's original contact. Can you please, privately, send to me your OpenSIPS script so I can take

[OpenSIPS-Users] global variables

2012-03-20 Thread Jan D.
Another day, another question: I like to declare some variables at the beginning of my script and use this at several places, the variables must be known till restart. something like ie: $my_eth0_interface = 89.1.2.3; $my_eth1_interface = 10.0.1.2; $my_default_timeout = 100; etc etc. I was

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Duane Larson
Vlad, I just sent you three attachments to your email directly. Let me know if you don't get them. On Tue, Mar 20, 2012 at 10:05 AM, Vlad Paiu vladp...@opensips.org wrote: ** Hello Duane, It seems the dialog module still sees the caller leg's initial contact ( with private IP), as the

[OpenSIPS-Users] RTP Proxy - set_rtp_proxy_set and engage_rtp_proxy

2012-03-20 Thread John Quick
Documentation for RTPPROXY module (OpenSIPS v1.7) says that set_rtp_proxy_set can be used before unforce_rtp_proxy, rtpproxy_offer or rtpproxy_answer. Can it be used with engage_rtp_proxy? John Quick Smartvox Limited ___ Users mailing list

Re: [OpenSIPS-Users] RTP Proxy - set_rtp_proxy_set and engage_rtp_proxy

2012-03-20 Thread Bogdan-Andrei Iancu
Hi John, yes, it works also with the engage function. Regards, Bogdan On 03/20/2012 06:19 PM, John Quick wrote: Documentation for RTPPROXY module (OpenSIPS v1.7) says that set_rtp_proxy_set can be used before unforce_rtp_proxy, rtpproxy_offer or rtpproxy_answer. Can it be used with

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Vlad Paiu
Hello Duane, Got them. The problem with your script is that the dialog gets created before the time you fix the nated contact. In your script, you call trace_dialog() before fixing the contacts, which internally creates the dialog. Thus, when the script reaches the create_dialog(PpB) part,

Re: [OpenSIPS-Users] global variables

2012-03-20 Thread Vlad Paiu
Hello, If you want to accomplish this, you can use the localcache module. In startup_route, initialize all of your needed 'constants' and store them with no expiry time ( cache_store ), and when you want to use them later on, just make a call to cache_fetch. Regards Vlad Paiu OpenSIPS

Re: [OpenSIPS-Users] global variables

2012-03-20 Thread Nick
Use m4 macro processor. http://www.opensips.org/Resources/DocsTools -- Nick 2012/3/20 Jan D. j-doe...@zonnet.nl Another day, another question: I like to declare some variables at the beginning of my script and use this at several places, the variables must be known till restart.

Re: [OpenSIPS-Users] Does create_dialog behave differently on 1.6 than on 1.7?

2012-03-20 Thread Duane Larson
Awesome. That was the issue. I moved my trace_dialog() to be right after my fix nat stuff. That did the trick. Thanks Vlad and Saul for working with me on that. On Tue, Mar 20, 2012 at 12:19 PM, Vlad Paiu vladp...@opensips.org wrote: ** Hello Duane, Got them. The problem with your

Re: [OpenSIPS-Users] log_next_state_dlg bogus events

2012-03-20 Thread Flavio Goncalves
Hi Jan, I had the same issue recently, I have captured some packets at the same exact time of the messages. In some cases, if your system becomes unresponsive for a few seconds, CANCELs were not relayed by the proxy (actually I saw several requests without any reply for some time). Then, the