Re: [SR-Users] topos: how to hide one side only

2019-12-24 Thread Dmitri Savolainen
lio. > > Maybe if you describe your goals and why you what this behavior, someone > said "yes I did that with xyz module or solution ABC". > > Merry Christmas > Karsten Horsmann > > Dmitri Savolainen schrieb am Di., 24. Dez. 2019, > 10:23: > >> i'm s

Re: [SR-Users] topos: how to hide one side only

2019-12-24 Thread Dmitri Savolainen
, 24 Dec 2019 at 01:29, Karsten Horsmann wrote: > Hi Dimitri, > > > You need to fill in the media_sever_ip that should see all the stuff. > > If you fill in one of the Topos running Kamailio ips it's disables Topos, > that's true. > > Cheers > Karsten Horsmann

Re: [SR-Users] topos: how to hide one side only

2019-12-23 Thread Dmitri Savolainen
drop; > } > } > > Cheers > Karsten Horsmann > > > Dmitri Savolainen schrieb am Mo., 23. Dez. 2019, > 17:32: > >> Hi all. >> I have Kamailio with 2 addr: >> kamailio_external_ip - for client interconnect >> kamailio_internal_ip

[SR-Users] topos: how to hide one side only

2019-12-23 Thread Dmitri Savolainen
Hi all. I have Kamailio with 2 addr: kamailio_external_ip - for client interconnect kamailio_internal_ip - for local media server interconnect Like this: client - kamailio_external_ip - kamailio_internal_ip - media_server "topos" module hide sip headers for both "client" and "media_server"

Re: [SR-Users] Disable Dispatcher GW from DB

2019-03-04 Thread Dmitri Savolainen
hi Patrick You may set flag=4 in "dispatcher" table for appropriate GW On Tue, 5 Mar 2019 at 04:57, Patrick Wakano wrote: > Hello list, > Hope you are all doing well! > > I am looking for a way to disable a Dispatcher GW from the DB. I know I > can disable it using the "kamcmd

Re: [SR-Users] kamailio rabbitmq segfault

2019-01-10 Thread Dmitri Savolainen
URL is set to "guest:guest@localhost > :5672/%2F". > > Am Mi., 9. Jan. 2019, 19:50 hat Dmitri Savolainen > geschrieben: > >> Can you please try the bt full to get full trace? >> >> >> (gdb) bt full >> #0 find_delim (pp=pp@entry=0x7fff0e

Re: [SR-Users] User connection history

2019-01-10 Thread Dmitri Savolainen
hi > > when that user has been registered for the last time or, if possible, all > the times he has been registered. > By default you can't get it. But it is possible by customizing your config The way is very depends on your current logic (how you use usrloc 'db_mode' for example). Some

Re: [SR-Users] kamailio rabbitmq segfault

2019-01-09 Thread Dmitri Savolainen
__ = "main" On Wed, 9 Jan 2019 at 21:14, Rick Barenthin wrote: > Hi, > > Can you please try the bt full to get full trace? > > Greetings > Rick > > Am Mi., 9. Jan. 2019, 17:16 hat Dmitri Savolainen > geschrieben: > >> Hello. >> I also have se

Re: [SR-Users] kamailio rabbitmq segfault

2019-01-09 Thread Dmitri Savolainen
Hello. I also have segfault for current master just after adding 'loadmodule "rabbitmq.so"' string to cfg file (centos7). Here is my backtrace: [root@centos_new sbin]# gdb -c /tmp/core.30978 -f /usr/local/dev_kamailio/sbin/kamailio GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7 Copyright

Re: [SR-Users] Manipulate sip header on an in-dialog negative reply

2018-12-24 Thread Dmitri Savolainen
Hi. I resolved similar situation with modparam("tm", "on_sl_reply", "stateless_replies") . onreply_route["stateless_replies"] { # do not allow stateless replies to be forwarded return 0; } On Fri, 21 Dec 2018 at 23:31, Olli Attila wrote: > Hello, > > The onreply route removal does

Re: [SR-Users] occasional processing delay and UAC remote registration

2018-09-19 Thread Dmitri Savolainen
at all by script, that disable/enable registrations with domains periodically according to dns-resolve status check On 3 September 2018 at 14:11, Dmitri Savolainen wrote: > Hi all. > > i encountered in my 4.1.5 kamailio server some inconstant issue. > > I have 2 listen a

[SR-Users] maxbuffer value

2018-09-14 Thread Dmitri Savolainen
Hi. Does anybody know what kamailio core maxbuffer parameter means? And is there any conjunction with system net.core.rmem_max parameter? Doc is obscure for me "The size in bytes not to be exceeded during the auto-probing procedure of descovering the maximum buffer size for receiving UDP

Re: [SR-Users] occasional processing delay and UAC remote registration

2018-09-03 Thread Dmitri Savolainen
> > in my 4.1.5 kamailio server > 5.1.5 of course On 3 September 2018 at 14:11, Dmitri Savolainen wrote: > Hi all. > > i encountered in my 4.1.5 kamailio server some inconstant issue. > > I have 2 listen address: > addr1 for incoming SIP requests and as source add

Re: [SR-Users] Dispatcher - Force one end point active

2018-08-21 Thread Dmitri Savolainen
Did you try: ds_probing_mode = 3; you problem host in "AX" (flag=0) and others in "AP" (flag 8) On 21 August 2018 at 14:23, Marrold wrote: > Hi, > > We are currently using the dispatcher module and probing end points with > OPTIONS, and making them active / inactive depending on the response:

Re: [SR-Users] Encoding mechanism in UAC Module

2018-08-21 Thread Dmitri Savolainen
Hi Base64 is only used On 21 August 2018 at 17:51, Duarte Rocha wrote: > Greetings, > > Is there a way to choose the encoding algorithm that builds the vsf and > vst parameters in the Record-Route? > > What is the default method that Kamailio uses for this ? > > Thanks in advance, > > Duarte

Re: [SR-Users] Call Transfer Scenario Using Freeswitch

2018-08-21 Thread Dmitri Savolainen
hi, Sunil. It seems as FreeSwitch issue. You may use att transfer via SIP 1. hold current call 2. invite new call 3. transfer call (with REFER message) So, you may look at SIP trace and try to find problem point or share it here. Also there is FreeSwitch app "att_xfer"

Re: [SR-Users] Dialplan priority

2018-08-20 Thread Dmitri Savolainen
hi, Igor > I'm not sure to understand in which situation "pr" value is used. > assume you want send 200 to 200 and others to 100 1. ^.*$ -> 100 2. ^200$->200 so you should set more priority to second rule (for avoid 200 to 100 translation) like 1. ^.*$ -> 100; pr=2 2. ^200$->200; pr=1 The

Re: [SR-Users] Kamailio 5.1 Nathelper sipping on different transport protocols.

2018-08-20 Thread Dmitri Savolainen
hi. It is ok; nathelper sends OPTIONS for UDP only, TCP is managed by core (by using params like "tcp_keepalive") On 20 August 2018 at 19:03, Володимир Іванець wrote: > Hello everyone! > > I have system with Kamailio v5.1 which needs to send OPTIONS packets to > all active clients. Here is

Re: [SR-Users] Bogus event 8 in state 1 for dlg

2018-08-17 Thread Dmitri Savolainen
> > an in-dialog OPTIONS is not normal, it should be not required for the > normal > call-flow. > i'v seen many in-dialog OPTIONS for checking is dialog alive, but only after INVITE-OK-ACK handshake. On 17 August 2018 at 14:10, Phillman25 Kyriacou wrote: > Thank you so much for your prompt

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Dmitri Savolainen
as ICE, etc. from Asterisk (which is currently the case > without Kamailio SBC in prod). > > Kevin > > > > Am Do., 16. Aug. 2018 um 12:29 Uhr schrieb Dmitri Savolainen < > savolai...@erinaco.ru>: > >> Hi Kevin. >> I use Kamailio as FreeSwitch set balancer

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-16 Thread Dmitri Savolainen
Hi Kevin. I use Kamailio as FreeSwitch set balancer almost without rtpengine (rtpengine is used only in some specific cases). All in public IPs. I just tune FS SIP profile to let it get requests only from Kamailio IP:PORT and add same firewall rules also. All RPC commands work via local

Re: [SR-Users] how to enable tcp_write_buf?

2018-08-16 Thread Dmitri Savolainen
> > After that, I was able to fetch 1000 mtree records by issuing mtree.list > command over xmlrpc. it works ofcause. But if response will become greater it wilt failed again. For example 30K rows htable: root@sw5 src]# curl -X GET -H "Content-Type: application/json" -d '{"jsonrpc": "2.0",

Re: [SR-Users] how to enable tcp_write_buf?

2018-08-15 Thread Dmitri Savolainen
Hi, Juha This issue is discussed here https://github.com/kamailio/kamailio/pull/1376 As temporary solution i use jsonrpcs fifo for big results. For example cat /tmp/kamailio_jsonrpc_reply_fifo > lastcontact.dump & echo '{"jsonrpc": "2.0", "method": "htable.dump", "params":["last_contact"],

Re: [SR-Users] Releasing Kamailio v5.1.4

2018-06-05 Thread Dmitri Savolainen
Hi Daniel, can't locate this one https://github.com/kamailio/kamailio/pull/1552 2018-05-30 19:29 GMT+03:00 Daniel-Constantin Mierla : > Hello, > > I am considering to release a new minor version out of branch 5.1, > respectively the v5.1.4, sometime next week, likely on Tuesday, June 5, > 2018.

Re: [SR-Users] Dialog module's keep-alive feature uses wrong CSeq?

2018-04-16 Thread Dmitri Savolainen
oint (60 sec for ex) 3. let's media server send options by itself via kamailio 2018-04-16 15:37 GMT+03:00 Oded Arbel <od...@cloudonix.io>: > > > On Mon, Apr 16, 2018, 14:59 Dmitri Savolainen <savolai...@erinaco.ru> > wrote: > >> hi >> >> Ind

Re: [SR-Users] Dialog module's keep-alive feature uses wrong CSeq?

2018-04-16 Thread Dmitri Savolainen
hi Indeed dialog OPTIONS are send with wrong CSeq and there is no way to fix it without patching source. In docs for dialog module "If keep alive is enabled for a dialog, the module will send SIP OPTIONS requests with CSeq lower or equal than last request within dialog" Usually Kamailio is

Re: [SR-Users] Is it possible to alter SDP content before forwarding the packet?

2018-04-11 Thread Dmitri Savolainen
Hello. Yes, it is possible with module http://www.kamailio.org/docs/modules/devel/modules/sdpops.html 2018-04-11 17:49 GMT+03:00 Wilkins, Steve : > Hello all, > > > > I was curious whether or not it possible to alter SDP content before > forwarding the packet? > > > > Thank

Re: [SR-Users] Kamailio logs in RHEL 7 environment

2018-04-11 Thread Dmitri Savolainen
Hi. i set for it in my centos7 env : /etc/systemd/journald.conf RateLimitBurst=100 /etc/rsyslog.conf $imjournalRatelimitInterval 1 $imjournalRatelimitBurst 50 systemctl restart rsyslog.service systemctl restart systemd-journald 2018-04-11 15:12 GMT+03:00

Re: [SR-Users] Reply Destination

2018-04-11 Thread Dmitri Savolainen
Hi with tmx module for ex: onreply_route[MANAGE_REPLY] { xlog("L_INFO", "reply $T_reply_code from $si:$sp; reply to: $T_req($si):$T_req($sp)"); } 2018-04-11 15:07 GMT+03:00 Duarte Rocha : > Hey > > Is there any variable that retrieves me the destination of a

Re: [SR-Users] cnxcc module - make auth for redis connection

2018-02-26 Thread Dmitri Savolainen
Hello! As you mentioned, cnxcc can't perform password auth. But using redis in local address is good practice in my mind: it used as DB cache often On 26 Feb 2018 9:32 p.m., "Donat Zenichev" wrote: Hi community. This message is specially dedicated to developers of the

Re: [SR-Users] Partial/regex match on hash table key?

2018-01-31 Thread Dmitri Savolainen
Hi, Anthony Masks are not possible for getting values. But sometimes "array" approach may be usefull $var(i) = 0; $var(cache_mask) = "slice_a"; $var(cache_size) = $sht(mycache=>$var(cache_mask)::size); while( $var(i) < $var(cache_size) ){ # do smth with

Re: [SR-Users] Case insensitive regexp in textops::search() function

2018-01-31 Thread Dmitri Savolainen
Hi, Andrey. for PCRE there is module http://kamailio.org/docs/modules/devel/modules/regex.html and this should works modparam("regex", "pcre_caseless", 1) if (pcre_match("$mb", " $shtitval(i1)")) { } also with POSIX if ($mb =~ $shtitval(i1) ){ } 2018-01-31 14:42 GMT+03:00 Andrey

Re: [SR-Users] PUBLISH modification.

2017-12-27 Thread Dmitri Savolainen
hi! You may try to use " msg_apply_changes()"; if ( is_method('PUBLISH') ){ replace_body_all("sip:300", "sip:300"); msg_apply_changes(); handle_publish(); } if you use pua_dialogi msg_apply_changes() Bye the way, some presence parameters you may set via

Re: [SR-Users] Dispatcher flow regarding weight and priority.

2017-12-11 Thread Dmitri Savolainen
Hi, Joel! You may call ds_select_dst for two sets: set 1 with 1.1.1.1 ds_select_dst("1", "4") set 2 with 2.2.2.2 and 3.3.3.3. If set1 is down (ds_select_dst("1", "4")==false) then try ds_select_dst("2", "9") 2017-12-07 20:47 GMT+03:00 Joel Serrano : > Hi all, > > I have a

Re: [SR-Users] Adding strip and preix attribute to Dispatcher table

2017-11-21 Thread Dmitri Savolainen
strip as i have to strip few > numbers before i send out request from kamailio. > > Regards, > Ashutosh Chaubey > > On Tue, Nov 21, 2017 at 6:32 PM, Dmitri Savolainen <savolai...@erinaco.ru> > wrote: > >> Hi. >> >> Attributes should be ";"

Re: [SR-Users] Adding strip and preix attribute to Dispatcher table

2017-11-21 Thread Dmitri Savolainen
Hi. Attributes should be ";" separeted: attributes: extra fields in form of name1=value1;...;nameN=valueN. Also prefix/strip are not in "predefined names" in dispatcher doc , so it is possible: modparam("dispatcher", "attrs_avp", "$avp(dsattrs)") $rU =$(avp(dsattrs){param.value,prefix})

Re: [SR-Users] max_contacts does not work as expected

2017-11-17 Thread Dmitri Savolainen
One of them is expired in my mind and wiating for "usrloc" "timer_interval" for clearing in DB. Expired contact will ignore while calling. Like this MariaDB [kamailio_dev]> select username, expires, UNIX_TIMESTAMP(expires) - UNIX_TIMESTAMP(now()), user_agent from location where

Re: [SR-Users] How to use $var as arguments to module functions

2017-11-16 Thread Dmitri Savolainen
Hi. According to docs no variables are possible here. As workaround if ($var(nat_fix) == 11){ fix_nated_sdp("11"); } else if 2017-11-14 19:04 GMT+03:00 Duarte Rocha : > Greetings, > > Is there a way to use the NATHELPER functions with a variable insted of a >

Re: [SR-Users] Question about Kamailio Performance

2017-09-28 Thread Dmitri Savolainen
Hi. In my tests the best perfomance was achieved with combination of mysql and htable as mysql cache ( http://www.kamailio.org/docs/modules/devel/modules/htable.html). With SIPP testing it is important to switch off kamailio logging (set critical level for example) and check network perfomance

Re: [SR-Users] Multiple FreeSWITCH servers behind kamailio-websocket

2017-06-07 Thread Dmitri Savolainen
webrtc kamailio for example here https://github.com/havfo/WEBRTC-to-SIP By the way rtpengine is not mandatory with FreeSwitch. It is possible to use a set of FS(1.6) and balancing by dispatcher module 2017-06-07 14:47 GMT+03:00 Karsten Horsmann : > Hello List, > > > is