[SR-Users] problem with $time Pseudo-Variables on 3.3.2

2012-11-20 Thread Uri Shacked
Hi, I upgraded to 3.3.2 On 3.2 i used the variable $time() to get the current time for some process. Every 2 minutes a RTIMER process started, checked the $time(hour) and $time(min) and on a certain time executed something. This process stopped working on 3.3.2 When i debug, i see that the $ti

Re: [SR-Users] LCR weight

2012-11-20 Thread Juha Heinanen
Camila Troncoso writes: >scripts are provided in lcr/utils directory that can be used to check >the probabilities resulting from a given set of weight values. Same can >be done with command 'kamctl eval_weights'. > > I really don't understand what is the probability finally assign to

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Andrew Mortensen
On Nov 20, 2012, at 3:43 PM, Ovidiu Sas wrote: > Hello Andrew, > > First of all, thank you for sharing your work. > I was following this thread and I have a couple of questions. Why do > you need to bind to the usrloc module? The subscription itself should > be sufficient because if a phone wi

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Daniel-Constantin Mierla
On 11/20/12 10:41 PM, Ovidiu Sas wrote: On Tue, Nov 20, 2012 at 4:22 PM, Andrew Mortensen wrote: On Nov 20, 2012, at 3:16 PM, Daniel-Constantin Mierla wrote: On 11/20/12 8:43 PM, Andrew Mortensen wrote: On Nov 20, 2012, at 4:08 AM, Daniel-Constantin Mierla wrote: Hello, thank for contr

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Ovidiu Sas
On Tue, Nov 20, 2012 at 4:22 PM, Andrew Mortensen wrote: > > On Nov 20, 2012, at 3:16 PM, Daniel-Constantin Mierla > wrote: > >> >> On 11/20/12 8:43 PM, Andrew Mortensen wrote: >>> On Nov 20, 2012, at 4:08 AM, Daniel-Constantin Mierla >>> wrote: >>> Hello, thank for contribution

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Andrew Mortensen
On Nov 20, 2012, at 3:16 PM, Daniel-Constantin Mierla wrote: > > On 11/20/12 8:43 PM, Andrew Mortensen wrote: >> On Nov 20, 2012, at 4:08 AM, Daniel-Constantin Mierla >> wrote: >> >>> Hello, >>> >>> thank for contribution! >>> >>> On 11/20/12 12:16 AM, Andrew Mortensen wrote: On Nov 1

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Andrew Mortensen
On Nov 20, 2012, at 2:11 AM, "Olle E. Johansson" wrote: > > 19 nov 2012 kl. 23:19 skrev Andrew Mortensen : > >> >> On Nov 19, 2012, at 4:56 PM, David J wrote: >> >>> This looks really awesome. Thanks for sharing >> >> Thanks, and you're welcome. I've added very simple installation instruct

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Ovidiu Sas
Hello Andrew, First of all, thank you for sharing your work. I was following this thread and I have a couple of questions. Why do you need to bind to the usrloc module? The subscription itself should be sufficient because if a phone will unregister, it will also unsubscribe, which leads me to the

Re: [SR-Users] t_branch_timeout()

2012-11-20 Thread Daniel-Constantin Mierla
On 11/19/12 5:46 PM, Alex Balashov wrote: I don't have an explicit value set, and did not know about this parameter. So, I suppose it defaults to 0. What should I set it to to get the correct reply from every failed branch in failure_route? IIRC, the default value is the one closer to RFC

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Daniel-Constantin Mierla
On 11/20/12 8:43 PM, Andrew Mortensen wrote: On Nov 20, 2012, at 4:08 AM, Daniel-Constantin Mierla wrote: Hello, thank for contribution! On 11/20/12 12:16 AM, Andrew Mortensen wrote: On Nov 19, 2012, at 5:53 PM, David | StyleFlare wrote: Also quick read at the readme, it looks like it d

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2012-11-20 Thread Daniel-Constantin Mierla
Hello, On 11/20/12 7:34 PM, Uri Shacked wrote: Hi, can you be a litle more specific of the steps of the install and where do i make the changes? in the source tree, edit the file Makefile.defs and set: MEMDBG=1 then run: make all make install some words of what is the diff between f_mallo

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Andrew Mortensen
On Nov 20, 2012, at 4:08 AM, Daniel-Constantin Mierla wrote: > Hello, > > thank for contribution! > > On 11/20/12 12:16 AM, Andrew Mortensen wrote: >> On Nov 19, 2012, at 5:53 PM, David | StyleFlare wrote: >> >>> Also quick read at the readme, it looks like it does not support >>> multi-dom

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2012-11-20 Thread Uri Shacked
Hi, can you be a litle more specific of the steps of the install and where do i make the changes? some words of what is the diff between f_malloc and q_malloc will be great :-). thanks, Uri On Tue, Nov 20, 2012 at 6:26 PM, Daniel-Constantin Mierla wrote: > Hello, > > ok, I will look over it.

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2012-11-20 Thread Daniel-Constantin Mierla
Hello, ok, I will look over it. At this moment the f_malloc (which is enabled for 3.3) has a pretty inefficient mem join implementation, can you try with q_malloc? Edit Makefile.defs and set: MEMDBG=1 Then compile and install. The join operation should be faster, let's see if you get blocki

Re: [SR-Users] [sr-dev] Next IRC devel meeting

2012-11-20 Thread Daniel-Constantin Mierla
Hello, we should do the last call for either Thursday or Friday this week. So far I haven't seen anyone explicitly preferring Friday. If by tomorrow noon are no other preferences, then the meeting will be Thursday. I'm sure it is very hard to find a day that's fine for everyone. For me the e

Re: [SR-Users] reload to memory is much slower and has problms after upgrade to 3.3.2 and using mem_join=1

2012-11-20 Thread Uri Shacked
Daniel hi, I attached 2 txt files. One with mem_join=1, the other with mem_join=0, and the info you asked for. Let me know if it is OK. Thanks, Uri On Mon, Nov 19, 2012 at 10:50 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > if you set memjoin to 0, do you see any differ

Re: [SR-Users] temporary SIP user

2012-11-20 Thread Bolang
On 11/20/2012 03:57 PM, Olle E. Johansson wrote: 19 nov 2012 kl. 19:25 skrev Bolang : Hi all, is there any standard mechanism to create a temporary user? i know i can create it and then delete it after some amount of time. but, i'm looking for an established/standard way of doing this. Ideall

Re: [SR-Users] RTPProxy with kamailio : How to get calls count?

2012-11-20 Thread Richard Fuchs
Hi, On 11/12/12 13:57, Carsten Bock wrote: > - is there a changelog availabe somewhere? The changelog is installed through the debian packages in /usr/share/doc/$PACKAGE/changelog.gz, while the source .tgz contains it in the ../debian/changelog file. > - i haven't looked at the sources, but can

Re: [SR-Users] LCR weight

2012-11-20 Thread Camila Troncoso
Hi, Here is a copy of part of README: " When the function load_gws() is called, matching gateways (that are not currently designated as defunct) are ordered for forwarding purposes as follows: * (1) according to longest user part match * (2) according to tuple's priority *

Re: [SR-Users] Clarification on is_known_dlg()

2012-11-20 Thread Alex Balashov
That is indeed right. David wrote: >Hello, > >I am running Kamailio 3.2.3. I am storing dialogs in the database table > >dialog. > > >loadmodule "dialog.so" >modparam("dialog", "dlg_flag", 4) >modparam("dialog", "db_mode", 1) > > >later I have : > >if ( is_known_dlg() ) >{ > >} > > >I would lik

[SR-Users] Clarification on is_known_dlg()

2012-11-20 Thread David
Hello, I am running Kamailio 3.2.3. I am storing dialogs in the database table dialog. loadmodule "dialog.so" modparam("dialog", "dlg_flag", 4) modparam("dialog", "db_mode", 1) later I have : if ( is_known_dlg() ) { } I would like a clarification on how the matching is done. Given that

Re: [SR-Users] UAC and realm

2012-11-20 Thread Johan Wilfer
2012-11-20 10:43, Olle E. Johansson skrev: 20 nov 2012 kl. 10:25 skrev Johan Wilfer : I've done some tests with the UAC module to authenticate to a remote proxy. I've based my config on this example: http://docs.huihoo.com/opensips/tutorials/uac/ar01s06.html (example 9) But as I would like to

Re: [SR-Users] [sr-dev] Next IRC devel meeting

2012-11-20 Thread Carsten Bock
Hi Peter, you're right, i was mistaken. Most likely i won't participate this thursday and definitely not this friday, sorry, busy times. Carsten 2012/11/20 Peter Dunkley > ** > Friday this week works for me, but Friday next week I will be travelling. > > Peter > > > On Tue, 2012-11-20 at 10:53

Re: [SR-Users] [sr-dev] Next IRC devel meeting

2012-11-20 Thread Peter Dunkley
Friday this week works for me, but Friday next week I will be travelling. Peter On Tue, 2012-11-20 at 10:53 +0100, Carsten Bock wrote: > Next week Friday works for me better, too. > > > > Carsten > > > 2012/11/20 Peter Dunkley > > Friday works for me. > > >

Re: [SR-Users] [sr-dev] Next IRC devel meeting

2012-11-20 Thread Carsten Bock
Next week Friday works for me better, too. Carsten 2012/11/20 Peter Dunkley > ** > Friday works for me. > > > On Mon, 2012-11-19 at 09:40 +0100, Daniel-Constantin Mierla wrote: > > Hello, > > would this week Friday at same time suit more people? > > I created a page to collect the topics to dis

Re: [SR-Users] [sr-dev] Next IRC devel meeting

2012-11-20 Thread Peter Dunkley
Friday works for me. On Mon, 2012-11-19 at 09:40 +0100, Daniel-Constantin Mierla wrote: > Hello, > > would this week Friday at same time suit more people? > > I created a page to collect the topics to discuss, feel free to add > content there: > * http://www.kamailio.org/wiki/devel/irc-meetin

Re: [SR-Users] UAC and realm

2012-11-20 Thread Olle E. Johansson
20 nov 2012 kl. 10:25 skrev Johan Wilfer : > Hi, > > I've done some tests with the UAC module to authenticate to a remote proxy. > I've based my config on this example: > http://docs.huihoo.com/opensips/tutorials/uac/ar01s06.html (example 9) > > I have found that if I send a call from a aster

[SR-Users] UAC and realm

2012-11-20 Thread Johan Wilfer
Hi, I've done some tests with the UAC module to authenticate to a remote proxy. I've based my config on this example: http://docs.huihoo.com/opensips/tutorials/uac/ar01s06.html (example 9) I have found that if I send a call from a asterisk via kamailio to my remote proxy the realm the remote

Re: [SR-Users] Shared Call Appearances module

2012-11-20 Thread Daniel-Constantin Mierla
Hello, thank for contribution! On 11/20/12 12:16 AM, Andrew Mortensen wrote: On Nov 19, 2012, at 5:53 PM, David | StyleFlare wrote: Also quick read at the readme, it looks like it does not support multi-domain setups? Not yet, no. I don't think it would take much work, though. I see it b

Re: [SR-Users] Dialog module not decrementing profile size

2012-11-20 Thread Grant Bagdasarian
Hello Daniel, I've enabled the cfgtrace. Now all I have to do is wait till it happens again, as the problem does not occur often. For now I'm getting the following: 2012-11-20T09:56:15+01:00 kamailio /usr/local/sbin/kamailio[16350]: ERROR: *** cfgtrace: c=[/etc/kamailio/kamailio.cfg] l=302 a=25

Re: [SR-Users] temporary SIP user

2012-11-20 Thread Olle E. Johansson
19 nov 2012 kl. 19:25 skrev Bolang : > Hi all, > is there any standard mechanism to create a temporary user? > i know i can create it and then delete it after some amount of time. > but, i'm looking for an established/standard way of doing this. > > Ideally, the user will be automatically delete