[SR-Users] ip address error with exec module

2012-01-11 Thread Uri Shacked
Hi, i am doing this command in a timer under kamailio: $var(log)=''+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+''; exec_msg(nc -u -w0 10.2.0.54 514 $var(log)); each time the command is executed, i get the following error: 9(19302) : exec [../../parser/../ip_addr.h:688]: BUG:

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Henning Westerholt
On Tuesday 10 January 2012, Henry Fernandes wrote: I upgraded from Kamailio 3.1 to Kamailio 3.2 (x86_64/linux) 31c991 recently. Since upgrading, my LCR does not work. The load_gws command always returns a 2 (meaning no routes found). When I do a sercmd lcr.dump_rules, I get the following

Re: [SR-Users] Hashed Passwords

2012-01-11 Thread Elena-Ramona Modroiu
Hi, On 1/9/12 12:25 AM, Ben WIlliams wrote: Is it possible to make Siremis store passwords in plaintext? siremis stores plaintext password, but I assume you want not to store. At this moment there is no config option for that, it will store plain text. You can update in the php file

Re: [SR-Users] ip address error with exec module

2012-01-11 Thread Daniel-Constantin Mierla
Hello, On 1/11/12 11:36 AM, Uri Shacked wrote: Hi, i am doing this command in a timer under kamailio: $var(log)=''+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+''; exec_msg(nc -u -w0 10.2.0.54 514 $var(log)); each time the command is executed, i get the following error: 9(19302) :

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Daniel-Constantin Mierla
Hello, it may be that the private memory is used completely, so you need to start kamailio with more. Starting with 3.2.0, it can be adjusted from command line, via '-M': ./kamailio -M 8 ... will start kamailio with 8MB of private memory instead of the default 4. Cheers, Daniel On 1/11/12

Re: [SR-Users] send bye to caller after dialog timeout

2012-01-11 Thread Daniel-Constantin Mierla
Hello, On 1/10/12 2:06 PM, Uri Shacked wrote: hi, i am manging dialogs in memory only. no DB. i would like to set a timeout for a dialog and when the timeout is reached, to send bye to the parties. today i know how to timeout the dialog, and using the dlg_bye function is understood. but, how

Re: [SR-Users] send bye to caller after dialog timeout

2012-01-11 Thread Uri Shacked
I set the timeout parameter to 30 sec to check. The call was not disconnected. After i did hang up the phone, i got an error for a misplaced bye with no dialog... I notice there i an option to set some $dlgctx parameters. Where can i find out more about it? What i timeout-bye=1 in the module

Re: [SR-Users] ip address error with exec module

2012-01-11 Thread Uri Shacked
Thanks, will be waiting :-) On 1/11/12, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, On 1/11/12 11:36 AM, Uri Shacked wrote: Hi, i am doing this command in a timer under kamailio: $var(log)=''+'denied_calls-'+$stat(denied_calls)+',dos-'+$shv(dos)+''; exec_msg(nc -u -w0

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Henry Fernandes
Thanks for the tip. I increased this to start with 8MB private memory. Now I'm getting the following error: error: 500 - Internal server error processing '{': buffer too small (overflow) (-2) I tried increasing the binrpc_max_body_size and binrpc_struct_max_body_size but this

Re: [SR-Users] ip address error with exec module

2012-01-11 Thread Daniel-Constantin Mierla
Looking into the source, exec_msg() does not access receive info (source/destination address). Is there any other action in timer route accessing source IP or destination IP (like xlog printing $si)? Cheers, Daniel On 1/11/12 6:05 PM, Uri Shacked wrote: Thanks, will be waiting :-) On

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Daniel-Constantin Mierla
Hello, On 1/11/12 6:10 PM, Henry Fernandes wrote: Thanks for the tip. I increased this to start with 8MB private memory. Now I'm getting the following error: error: 500 - Internal server error processing '{': buffer too small (overflow) (-2) I tried increasing the binrpc_max_body_size

Re: [SR-Users] ip address error with exec module

2012-01-11 Thread Uri Shacked
no, only the lines you see. On Wed, Jan 11, 2012 at 7:40 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Looking into the source, exec_msg() does not access receive info (source/destination address). Is there any other action in timer route accessing source IP or destination IP (like

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Henry Fernandes
I've tried all sorts of values. For binrpc_max_body_size, I've tried from 8 up to 1. For binrpc_struct_max_body_size, I've tried from 2 up to 1. Here are the number of entries in my LCR tables. lcr_gw: 47 lcr_rule: 1841 lcr_rule_target: 1846 -H On 2012-01-11, at 12:02 PM,

Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Daniel-Constantin Mierla
Hello, On 1/11/12 7:53 PM, Henry Fernandes wrote: I've tried all sorts of values. For binrpc_max_body_size, I've tried from 8 up to 1. For binrpc_struct_max_body_size, I've tried from 2 up to 1. Here are the number of entries in my LCR tables. * lcr_gw: 47 * lcr_rule: 1841 *