[SR-Users] why function result -1 cannot be assigned to variable?

2011-02-18 Thread Juha Heinanen
i have a local function x that returns a positive integer or -1. when it returns -1, assignment $var(tmp) = function_x("$rd"); produces to syslog an error: Feb 19 07:32:44 sip /usr/sbin/sip-proxy[27284]: ERROR: [lvalue.c:411]: assignment failed at pos: (1415,40-1415,40) i have had that funct

[SR-Users] HTABLE problem

2011-02-18 Thread Ricardo Martinez
Hello I’m trying to use “htable” module with the example to block a user with three time s failed password. When a REGISTER arrives I’m getting this error : Feb 18 17:26:34 /usr/local/sbin/kamailio[5840]: ERROR: [lvalue.c:358]: setting pvar failed Feb 18 17:26:34 /usr/local/sbin/kamailio[5840]

Re: [SR-Users] Interfaces guestures

2011-02-18 Thread Alex Balashov
Evgeniy, Try enable mhomed=1 option in kamailio.cfg. If this does not do what you want, explicitly force the outgoing interface by manipulating the $fs pseudovariable prior to relaying/forwarding, e.g. $fs = "udp:xxx.xxx.xxx.xxx:5060"; t_relay(); ... etc. Cheers, -- Alex On 02/1

[SR-Users] Interfaces guestures

2011-02-18 Thread Spinov Evgeniy
Hello, all. I'm having Kamailio 3.0.4. Server have 2 physical interfaces, one is private, second is public. INVITE request is coming to Kamailio from public interface and being routed by Kamailio to one of ther asterisk boxes, which is in private network. Packet is routed to correct interface, bu

Re: [SR-Users] Visiting CeBIT 2011 in Hanover

2011-02-18 Thread Olivier Taylor
I'll be there. Olivier Le 18/02/11 10:25, Daniel-Constantin Mierla a écrit : Hello, I am going to visit CeBIT show this year (first week of March in Hanover, Germany), if anyone else here is there and want to meet for a chat about latest developments in the project and VoIP world, drop me a

Re: [SR-Users] pdb module timeouts

2011-02-18 Thread marius zbihlei
On 02/18/2011 12:53 PM, Thomas Baumann wrote: Hello Marius, the main problem I had was caused with wrong debug-level in the script. Debug level 3 is not a good choice for loadtesting, my mistake. After changing to debug level 2, it looks a lot better. I did more testing with the right settings

Re: [SR-Users] pdb module timeouts

2011-02-18 Thread Thomas Baumann
Hello Marius, the main problem I had was caused with wrong debug-level in the script. Debug level 3 is not a good choice for loadtesting, my mistake. After changing to debug level 2, it looks a lot better. I did more testing with the right settings, and yes the change in pdb.c had some influence

[SR-Users] Visiting CeBIT 2011 in Hanover

2011-02-18 Thread Daniel-Constantin Mierla
Hello, I am going to visit CeBIT show this year (first week of March in Hanover, Germany), if anyone else here is there and want to meet for a chat about latest developments in the project and VoIP world, drop me an email, maybe we have some overlapping days and can sit together for a bit. C

Re: [SR-Users] AVP Error in version 3.1.0

2011-02-18 Thread Daniel-Constantin Mierla
Hello, is any particular reason to do the processing after t_relay() ? You can do the save before, since it is the same register message. Also, are you getting this in a testing environment while using tools like sipp to simulate traffic? Starting with 3.0, the AVPs (which are associated wi

Re: [SR-Users] ERROR: failover functions used, but AVPs paraamters required are NULL

2011-02-18 Thread Daniel-Constantin Mierla
ok, thanks for reporting back so future reads of the mailing list archive points to the solution. Cheers, Daniel On 2/17/11 4:23 PM, Gary Chen wrote: Never mind. I used wrong kamailio.cfg file. *From:*Daniel-Constantin