Re: [SR-Users] db_redis and PUA

2020-05-08 Thread Andrew Pogrebennyk
Hi Carsten, a starting point could be: modparam("db_redis", "keys", "pua=entry:etag&pres:pres_id,pres_uri”) I’ve tested it on Kamailio 5.3.3, with default schema definition: # cat /etc/kamailio/db_redis/kamailio/pua id/int,pres_uri/string,pres_id/string,event/int,expires/int,desired_expires/int,fl

Re: [SR-Users] Kamailio not using system resolver for hostname resolution (DMQ)?

2020-05-19 Thread Andrew Pogrebennyk
Hi George, if you are wondering how to switch it to system resolver, set global options use_dns_cache=no, but per my understanding this may have performance impact. > On 19.05.2020, at 16:42, George Diamantopoulos wrote: > > Doesn't kamailio use nss for hostname resolution? Am I missing somethi

Re: [SR-Users] Kamailio 5.1.7 crash

2019-03-18 Thread Andrew Pogrebennyk
On 3/18/19 7:23 AM, Daniel-Constantin Mierla wrote: > > Hello, > > this should be fixed by commit > 2e3e72cfe906bf08b0c940d4e461890dd54b30c6 in branch 5.2 (fixed in > master as well). I will backport to 5.1 and try to plan a new release > in the near future. > > Cheers, > Daniel > Indeed, it is bac

Re: [SR-Users] Kamailio stop to process incoming SIP traffic via TCP.

2019-03-28 Thread Andrew Pogrebennyk
On 3/26/19 3:52 PM, Kristijan Vrban wrote: >> Just curious, did you get to compile with OpenSSL 1.0 and test? > Just compiled with OpenSSL 1.0 . Gone test now. Kristijan, any new occurrences since you have recompiled kamailio with openssl 1.0? Regards, Andrew

Re: [SR-Users] Possible conflict between t_newtran and setflag for ACC

2019-11-28 Thread Andrew Pogrebennyk
On 11/27/19 3:26 AM, Patrick Wakano wrote: > I am using the ACC module and using the setflag() function as done in > several examples. It works fine. However, I've added the t_newtran() > function almost in the begging of the INVITE handler to help the > retransmission detection and after that I no

Re: [SR-Users] rtpengine opening second RTP port

2017-05-23 Thread Andrew Pogrebennyk
John, rtpegnine changes its port whenever remote SDP changes bitwise. There is an option to reuse media port implemented through port latching flag: https://github.com/sipwise/rtpengine Hope this helps, Andrew On 05/22/2017 10:26 PM, John Petrini wrote: > Hello List, > > I'm having an issue with

[SR-Users] dialog:active_dialogs counter is steadily increasing

2017-09-25 Thread Andrew Pogrebennyk
Hi, using kamailio 4.4.5, we have noticed that the active_dialogs counter is not accurate and there seems to be some kind of "leak" present at least on higher loaded systems. For example, here active_dialogs was reporting just a bit over 1000 dialogs, but the numbers of dialogs confirmed and not j

Re: [SR-Users] dialog:active_dialogs counter is steadily increasing

2017-09-26 Thread Andrew Pogrebennyk
Hi Daniel, On 09/26/2017 08:48 AM, Daniel-Constantin Mierla wrote: > do you have dialogs terminated due to timeout or via rpc commands? the rpc is not being used, but we do have a dlg_timeout of 12 hours. There are a few calls every day that are terminated on timeout, but this is a very small num

Re: [SR-Users] Testing for user=phone with siputils uri_param() doesn't work

2017-10-25 Thread Andrew Pogrebennyk
George, Daniel: please have a look here: https://github.com/kamailio/kamailio/issues/953 Could it be an answer to the George's issue? I didn't check this deeper but maybe adding the npdi parameter is changing the parser behavior as pointed on this issue, would have to see the config file to confirm

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-10 Thread Andrew Pogrebennyk
On 11/10/2017 09:34 AM, Marco Capetta wrote: > +   > if(relayed_msg->REPLY_STATUS==uas_rb->activ_type) { > +   > run_trans_callbacks_with_buf( TMCB_RESPONSE_OUT, uas_rb, t->uas.request, > +  

Re: [SR-Users] Select last URI from Record-Route

2018-03-19 Thread Andrew Pogrebennyk
On 03/16/2018 05:07 PM, John Petrini wrote: > The simple answer to that is it's a last ditch effort to look up an AOR > record on a reply but it's part of other logic we use to establish > direct media. try with $(hdr(Record-Route)[-1]).. it works for us (though, with another header name). Andrew

Re: [SR-Users] Select last URI from Record-Route

2018-03-19 Thread Andrew Pogrebennyk
On 03/19/2018 10:37 AM, Andrew Pogrebennyk wrote: > On 03/16/2018 05:07 PM, John Petrini wrote: >> The simple answer to that is it's a last ditch effort to look up an AOR >> record on a reply but it's part of other logic we use to establish >> direct media. >

Re: [SR-Users] Jumping on new TCP connection during a SIP session?

2018-06-04 Thread Andrew Pogrebennyk
On 06/04/2018 03:39 PM, Amar Tinawi wrote: > Could this module work in scenario like in case if the call is > established and running,  > And one of the UA'a lost its connection and then reconnect and send a > new register > Could the call be continued ? > Without sending new INVITE.. just like the

Re: [SR-Users] Understanding 5XX stats in Kamailio

2018-07-03 Thread Andrew Pogrebennyk
Hi, just my 5 cents: we (sipwise) created a patch to introduce metrics of received reply codes per each method separately: - statistics for INVITE CANCEL, BYE, REG, MESSAGE, PRACK, UPDATE, REFER methods implemented. - 6 replies categories counted: 1xx, 2xx, 3xx, 4xx, 5xx, 6xx We are plann