Re: [SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, i noticed that there was some very old patch, but its for opensips branch: http://sourceforge.net/p/opensips/patches/42/ can this still be something with usage? Did anyone try sleeping for random period in kamailio? Antanas On 08/07/15 11:01, Antanas Masevicius wrote: Hello, been

[SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, been struggling to make a random sleep with cfgutils functions. ex: $avp(i:444) = 123; usleep("$avp(i:444)"); gives an error: ERROR: [route.c:1189]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio-sp1new.cfg:723 Kamailio version: 4.3 If usleep accepts only numb

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-27 Thread Antanas Masevicius
12.07.27 12:41, Juha Heinanen wrote: > Antanas Masevicius writes: > >> it looks like column order a bit changed in my system after using alter >> table during migrations. >> That is prefix col is not it its place. Thus this data: >> (1424,90,'OP1','10.10.10

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-26 Thread Antanas Masevicius
as: (1424,90,'OP1','10.10.10.10','',5060,NULL,1,0,NULL,NULL,'11#',1,NULL); Antanas NTT On 2012.07.26 12:12, Juha Heinanen wrote: Antanas Masevicius writes: Here is my DB excerpt which i use to reproduce the problem: INSERT INTO `lcr_rul

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-26 Thread Antanas Masevicius
90,'OP1','10.10.10.10','',5060,NULL,1,0,NULL,'11#',1,NULL,NULL);/ those are the only records in lcr tables. System i am running it on is was kamailio 3.3 head (debian squeeze). best regards, Antanas NTT On 2012.07.26 11:54, Juha Heinanen wrote: Antanas

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-24 Thread Antanas Masevicius
ntanas NTT On 2012.07.24 12:20, Antanas Masevicius wrote: > Hello, > > Looks like i finally got it. REGEXP patterns in from_uri and > request_uri must be terminated between //. > Maybe someone could add a notice about this in LCR documentation? > Only got it after reading some d

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-24 Thread Antanas Masevicius
gws(), try putting $rU and $fu in double quotes, >> e.g. "$rU" rather than $rU bare. >> >> >> >> >> -- Alex >> >> -- >> Sent from my Samsung mobile, and thus lacking in the refinement one >> might expect from a proper keyboard

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-24 Thread Antanas Masevicius
thus lacking in the refinement one > might expect from a proper keyboard. > > Alex Balashov - Principal > Evariste Systems LLC > 235 E Ponce de Leon Ave > Suite 106 > Decatur, GA 30030 > Tel: +1-678-954-0670 > Web: http://www.evaristesys.com/ > > Antanas Masevicius wrote

[SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-24 Thread Antanas Masevicius
t line added. Without print line, kamailio starts, but never loads that rule. Any help would be appreciated. best regards, Antanas Masevicius NTT ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] lcr from_uri not matching

2012-06-07 Thread Antanas Masevicius
Hello, I experience the same issue in 3.1.5 best regards, Antanas Masevicius On 2012.03.01 08:07, Juha Heinanen wrote: > Ben WIlliams writes: > >> here is the dump, prefix 8 should use gateway number 2. Its not a big >> issue, I've managed to do it without LCR now. &g

Re: [SR-Users] ACK routing loop

2011-10-20 Thread Antanas Masevicius
Thank you, this looks like a good alternative since grouping was introduced. best regards, Antanas Masevicius On 2011.10.20 16:20, Daniel-Constantin Mierla wrote: > Hello, > > maybe permissions is a better option to check ip addresses against a > cached list. It offers also the po

Re: [SR-Users] ACK routing loop

2011-10-20 Thread Antanas Masevicius
de-in external (PSTN) IPs and compare against those. In general, the need to store remote IPs came up only because there are still some old equipment which is not able to set domain in from header (such as old cisco equipment). best regards, Antanas Masevicius On 2011.10.20 13:43, Daniel-Const

[SR-Users] ACK routing loop

2011-10-19 Thread Antanas Masevicius
route() should still check if given IP in request is really bound to local interface? Domain module documentation states that "A “local” domain is one that the proxy is responsible for", but id does not tell you that you cannot set remote IP address as a local domain. Please advice

Re: [SR-Users] no more pkg mem on ul_dump

2011-10-06 Thread Antanas Masevicius
Hello, i would vote for dynamic allocation too. These days i had to allocate way more than default 4MB of pkg mem. Does anyone who used heavy MI loaded system with MI_SYSTEM_MALLOC compiled could give us feedback on how this feature is stable currently? best regards, Antanas Masevicius On

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Antanas Masevicius
note. If not, i would try to implement this change myself a bit later. Is there a chance that such change would be accepted into main tree? best regards, Antanas Masevicius On 2011.09.26 08:45, Antanas Masevicius wrote: > Hello Edson, > > as i understand this, Kamailio module SNMPstats

Re: [SR-Users] SNMPStats and multiple proxies

2011-09-25 Thread Antanas Masevicius
). Problem here is that i don't know how to bind more than one kamailio instance to single snmpd instance. best regards, Antanas Masevicius On 2011.09.23 18:55, Edson - Lists wrote: > There is a SNMP module in Kamailio > (http://kamailio.org/docs/modules/stable/modules_k/snmpstats.ht

[SR-Users] SNMPStats and multiple proxies

2011-09-23 Thread Antanas Masevicius
snmpd daemons binded to specific IP addresses. Is there a better way to do it? best regards, -- Antanas Masevicius ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi

[SR-Users] wildcarded sip contacts

2011-09-13 Thread Antanas Masevicius
have in sip-router / kamailio besides LCR based ones ? I want to do local contact matching as fast as possible and without a need to reload lcr table. Antanas Masevicius NTT ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr

Re: [SR-Users] LCR module : same IP address for different prefix.

2011-02-09 Thread Antanas Masevicius
Juha, Thank you for your work! This feature is highly needed i suspect. Antanas NTT On 2011.02.09 06:25, Juha Heinanen wrote: > Juha Heinanen writes: > >> Antanas Masevicius writes: >> >>> I already wrote on this list about this issue. Currently the only way

Re: [SR-Users] LCR module : same IP address for different prefix.

2011-02-07 Thread Antanas Masevicius
Hello Ricardo, I already wrote on this list about this issue. Currently the only way to do it is to disable duplicate gws checking in sources itself. In general, gw duplication checking should be extended to check not only by ip_addr or its hostname, but to include 'tag' and even 'strip' columns.

Re: [SR-Users] gws with same ip

2010-12-09 Thread Antanas Masevicius
Hello Anders, i have the same usage scenario as you have. I only was able to solve that by modifying module sources itself. Simply remove duplicate checks in the module. It seems that it does not have any other side effects. For me its not very clear the idea of keeping track of duplicates. Kamail

Re: [SR-Users] lcr

2010-08-29 Thread Antanas Masevicius
Hi Anders, you probably will need to create this 5512 prefix for trunk 2. This logic of including only the same length prefixes for re-routing has its pluses and minuses. Maybe someone else can share their practices for re-routing with lcr? Antanas On 2010.08.27 17:37, Anders wrote: > Hi, > > I