Re: [SR-Users] Problems with pseudo-variables

2011-08-25 Thread Daniel-Constantin Mierla
Hello, On 8/19/11 2:58 PM, Rocío Ruz wrote: Hello, I am using kamailio ims extensions and I am observing some problems with pseudo-variable handling. On the s-cscf the pseudo-variables are not 'translated' into the real values. When using xlog like this: xlog("L_ERR", " found pai: $ai tim

Re: [SR-Users] Status of t_relay()

2011-08-25 Thread Fabian Borot
I tested it and it serves my purposes. txs a lot! Date: Thu, 25 Aug 2011 19:14:03 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.org CC: fbo...@hotmail.com Subject: Re: [SR-Users] Status of t_relay() Hello, On 8/25/11 5:20 PM, Fabian Borot wrote:

[SR-Users] Kamailio 3.1.1 snmpstat help!!

2011-08-25 Thread Stephen Dodge (Bistech)
Hello, I am having difficulty running the snmpstats module. We are running CentOS 5.6 and Kamailio version 3.1.1 (i386/linux).I've tried a fresh install of Kamailio, installing net-snmp from source but I can't seem to get it running - I've seen a couple of posts regarding the issue but no

Re: [SR-Users] Status of t_relay()

2011-08-25 Thread Fabian Borot
thank you Daniel, I will try it and report back Date: Thu, 25 Aug 2011 19:14:03 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.org CC: fbo...@hotmail.com Subject: Re: [SR-Users] Status of t_relay() Hello, On 8/25/11 5:20 PM, Fabian Borot wrote:

Re: [SR-Users] Status of t_relay()

2011-08-25 Thread Daniel-Constantin Mierla
Hello, On 8/25/11 5:20 PM, Fabian Borot wrote: ok, my bad, let me rephrase the question. I meant: after relaying the INVITE, if the "result" of that transaction is negative (4xx, 5xx or 6xx is received, the request times out before fr_timer expires etc) , is there a variable that one can us

Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-25 Thread Daniel-Constantin Mierla
Hello, On 8/25/11 2:21 PM, Marcus Hunger wrote: MI_SYSTEM_MALLOC did the trick, dumping>100k AOR worked that way. Should this be mentioned somewhere (like documentation) or is a permanent fix needed? maybe we could make this default. Documentation about it should be added in several places, li

Re: [SR-Users] Segmentation Fault in ACC module

2011-08-25 Thread Daniel-Constantin Mierla
Hello, where do you call this function? Is it for a routing block executed on a MI/RPC command? Could you get the core and send the backtrace taken with gdb here? Cheers, Daniel On 8/25/11 2:20 PM, Bruno Bresciani wrote: Hi all, ACC module is generating segmentation fault at acc_db_request

Re: [SR-Users] Kamailio 3.1.1 snmpstat help!!

2011-08-25 Thread Daniel-Constantin Mierla
Hi Stephen, On 8/25/11 6:47 PM, Stephen Dodge (Bistech) wrote: Hello, I am having difficulty running the snmpstats module. We are running CentOS 5.6 and Kamailio version 3.1.1 (i386/linux).I've tried a fresh install of Kamailio, installing net-snmp from source but I can't seem to get

[SR-Users] Kamailio 3.1.1 snmpstat help!!

2011-08-25 Thread Stephen Dodge (Bistech)
Hello, I am having difficulty running the snmpstats module. We are running CentOS 5.6 and Kamailio version 3.1.1 (i386/linux).I've tried a fresh install of Kamailio, installing net-snmp from source but I can't seem to get it running - I've seen a couple of posts regarding the issue but no

Re: [SR-Users] Status of t_relay()

2011-08-25 Thread Fabian Borot
ok, my bad, let me rephrase the question. I meant: after relaying the INVITE, if the "result" of that transaction is negative (4xx, 5xx or 6xx is received, the request times out before fr_timer expires etc) , is there a variable that one can use to retrieve that value? txs a lot fborot

Re: [SR-Users] Status of t_relay()

2011-08-25 Thread Klaus Darilion
Am 25.08.2011 16:37, schrieb Fabian Borot: > > Hi, > If t_relay() fails, is it possible to retrieve the status/reason on a > variable or something? > I am using|t_grep_status("code")| and trying to catch each case that I > am interested but I was wondering if there was a better way. > One could

[SR-Users] Status of t_relay()

2011-08-25 Thread Fabian Borot
Hi, If t_relay() fails, is it possible to retrieve the status/reason on a variable or something? I am using t_grep_status("code") and trying to catch each case that I am interested but I was wondering if there was a better way. One could do something like this: If (result > 400) { do actio

Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-25 Thread Marcus Hunger
MI_SYSTEM_MALLOC did the trick, dumping >100k AOR worked that way. Should this be mentioned somewhere (like documentation) or is a permanent fix needed? Cheers, Marcus On Wed, Aug 17, 2011 at 2:08 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 8/17/11 1:41 PM, Sebastian Damm wrote: > > Hi

[SR-Users] Segmentation Fault in ACC module

2011-08-25 Thread Bruno Bresciani
Hi all, ACC module is generating segmentation fault at acc_db_request function in kamailio 3.1.2 with database postgres. When module try to access the struct db_func_t acc_dbf.use_table (line 389) the child proccess that execute this operation is exited by a signal 11. Someone know why this segme

Re: [SR-Users] dialplan question

2011-08-25 Thread אורי שקד - חטיבת הנדסה ורשת - Uri Shacked
Works perfect! Thanks a lot. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, August 25, 2011 2:26 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: אורי שקד - חטיבת הנדסה ורשת - Uri Shacked Subje

Re: [SR-Users] ACC with MySqsl problem after installing Siremis

2011-08-25 Thread Daniel-Constantin Mierla
On 8/25/11 1:29 PM, אורי שקד - חטיבת הנדסה ורשת - Uri Shacked wrote: I managed… the softphones clients were configured with “multicast” so

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > > $(var(float){s.replace,.,}{s.int}) > > OK. I am not familiar with the deep details of database value types - to > expect that it is a way that I can get always the trailing 0's for such > value? For example, if I want a db column type

Re: [SR-Users] dialplan question

2011-08-25 Thread Daniel-Constantin Mierla
Hello, On 8/25/11 1:12 PM, אורי שקד - חטיבת הנדסה ורשת - Uri Shacked wrote: Hi, Below in red…. BR, Uri *From:*Daniel-Constantin Mierla [mailto:dan...@asipto.com] *Sent:* Thursday, August 25, 2011 1:56 PM *To:* SIP Rou

Re: [SR-Users] ACC with MySqsl problem after installing Siremis

2011-08-25 Thread Daniel-Constantin Mierla
Hello, do you get any error message in syslog from acc module. Depending on your Linux OS, the syslog file should be /var/log/syslog or /var/log/messages. Since you have acc to syslog enabled as well, do you see the ACC records for syslog written? C

Re: [SR-Users] Float Comparison

2011-08-25 Thread Daniel-Constantin Mierla
On 8/25/11 1:08 PM, Alex Hermann wrote: On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: On 8/25/11 12:54 PM, Alex Hermann wrote: If you just use fixed-point for fractional values, you can remove the dot and convert to int. $(var(float){s.replace,.}{s.int}) By fixed point do you

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > On 8/25/11 12:54 PM, Alex Hermann wrote: > > If you just use fixed-point for fractional values, you can remove the dot > > and convert to int. > > > > $(var(float){s.replace,.}{s.int}) > > By fixed point do you mean when the fractional

Re: [SR-Users] [sr-dev] [regression] Message flags set in branch_route not saved into transaction

2011-08-25 Thread Daniel-Constantin Mierla
On 8/25/11 1:02 PM, Alex Hermann wrote: On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: Hello, On 8/22/11 6:35 PM, Alex Hermann wrote: On Monday 22 August 2011 16:43:43 Alex Hermann wrote: On Monday 22 August 2011, Alex Hermann wrote: It seems kamailio 3 does not save message f

Re: [SR-Users] Float Comparison

2011-08-25 Thread Daniel-Constantin Mierla
On 8/25/11 12:54 PM, Alex Hermann wrote: On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: as mentioned before, script variables work only with integer or string values. In this case I suggest you load the values as string and then use Lua to compute what you want as float. Alternati

Re: [SR-Users] [sr-dev] [regression] Message flags set in branch_route not saved into transaction

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > Hello, > > On 8/22/11 6:35 PM, Alex Hermann wrote: > > On Monday 22 August 2011 16:43:43 Alex Hermann wrote: > >> On Monday 22 August 2011, Alex Hermann wrote: > >>> It seems kamailio 3 does not save message flags set in branch route >

Re: [SR-Users] Float Comparison

2011-08-25 Thread Alex Hermann
On Thursday 25 August 2011, Daniel-Constantin Mierla wrote: > as mentioned before, script variables work only with integer or string > values. In this case I suggest you load the values as string and then > use Lua to compute what you want as float. Alternative, load as string > (n the format integ

Re: [SR-Users] [sr-dev] [regression] Message flags set in branch_route not saved into transaction

2011-08-25 Thread Daniel-Constantin Mierla
Hello, On 8/22/11 6:35 PM, Alex Hermann wrote: On Monday 22 August 2011 16:43:43 Alex Hermann wrote: On Monday 22 August 2011, Alex Hermann wrote: It seems kamailio 3 does not save message flags set in branch route into the transaction. In reply_route and failure_route the flag set in branch_r

Re: [SR-Users] Kamailio Freezes and no calls are processed

2011-08-25 Thread Daniel-Constantin Mierla
Hello, Morten was referring to an issue with the dialog module, eventually fixed by Timo meanwhile. I understand you don't use that module but carrier route. I asked several details about the symptoms in such case (an email sent earlier in this thread) -- if you can answer then we may come u

Re: [SR-Users] Float Comparison

2011-08-25 Thread Daniel-Constantin Mierla
Hello, as mentioned before, script variables work only with integer or string values. In this case I suggest you load the values as string and then use Lua to compute what you want as float. Alternative, load as string (n the format integer.decimals) and split the value using transformation i

Re: [SR-Users] add carrierroute module

2011-08-25 Thread marius zbihlei
On 08/25/2011 11:46 AM, Skyler wrote: Hi, What OS are you running? Did you compile from source or install via packages? Hello, If installed via packages apt-get install kamailio-carrierroute-modules If compiled check that carrierroute it's not in the exclude_module list (it depends on so

Re: [SR-Users] add carrierroute module

2011-08-25 Thread Skyler
Hi, What OS are you running? Did you compile from source or install via packages? Skyler On Tue, 2011-08-23 at 15:40 +0300, אורי שקד - חטיבת הנדסה ורשת - Uri Shacked wrote: > Hi, > > > > I am trying to add the carrierroute module. (I installed Kamailio > 3.1.4 with mysql). > > I add to th