Re: [SR-Users] Kamailio stops responding to OPTIONS for some time

2022-09-30 Thread Yuriy Gorlichenko
I would check ksr_request_route() first if it contains any blocking operations like http_client or long database queries before sending a response to the sender пт, 30 сент. 2022 г. в 08:37, Muhammad Danish Moosa : > Hi, > > With Kamailio 5.5.3 (with KEMI/Lua) I noticed it apparently had

Re: [SR-Users] Disabling video rtp proxing

2022-08-26 Thread Yuriy Gorlichenko
The easiest way I see is: Set up mod parameters for rtpengine Read_avp and write_avp During the request processing get $rb and put it into read_avp Change/remove needed lines from the sdp in avp using regexp or lua/js/python (do not use sdpos as it works with initial sdp, so it won't affect the

Re: [SR-Users] Forward reply in onreply_route

2022-06-29 Thread Yuriy Gorlichenko
Since 5.6.0 there is forward_reply() in corex module https://kamailio.org/docs/modules/5.6.x/modules/corex.html#corex.f.forward_reply it doesn't have enough description but looking at the source it calls core->do_forward_reply function which ( at least as I see ) doesn't block the execution of the

Re: [SR-Users] ipops dns_query not working using Kemi

2022-06-09 Thread Yuriy Gorlichenko
BTW for the KEMI ( at least in Lua ) it is not a big deal to do in the language itself: local socket = require "socket" > local _, details = socket.dns.to.ip(domain) -- details.ip would contain list of IPs resolved. чт, 9 июн. 2022 г. в 08:44, Daniel-Constantin Mierla : > Hello, > > this

Re: [SR-Users] Debian: Kamailio: -> FIN - SYN -> on new port

2022-05-26 Thread Yuriy Gorlichenko
Usually Kamailio tries to establish connection with the port was described in latest contact from client. Whydo you expect to call other port? And the second question - there are keepalive tcp mechanics available at the kamailio side and reuse port as well. Why not use it to avoid reistablishing

Re: [SR-Users] Problem with Record-Route in Public to Private Network

2022-05-03 Thread Yuriy Gorlichenko
Adding some more info: It also can be tricky to manage Route headers via loose_route as Kamailio might not find an external (advertised ) IP and keep sending requests to this IP as it will present at the routes There are 2 ways how to avoid it: - Use one Record-Route and regex to change

Re: [SR-Users] function 'sl_send_reply' is not available

2022-05-03 Thread Yuriy Gorlichenko
Done it for myself but might be will be useful too: There are some helpers and tools might be reused for some who uses lua https://github.com/ovoshlook/kemi-lua-utils-and-tools вт, 3 мая 2022 г. в 13:28, David Villasmil : > Hello guys, > > To answer my own question and leave here for help: > > I

Re: [SR-Users] Can Kamailio send an ACK to a final response?

2022-03-21 Thread Yuriy Gorlichenko
Here are some methods You can use like: - t_uac_send from TM - uac_req_send from UAC - send_data from COREX Depending on your needs On Sat, 19 Mar 2022, 12:36 Marrold, wrote: > Hello, > > I'm exploring using Kamailio as a dumb edge proxy, and as such I want to > keep things as lean as

Re: [SR-Users] Kamailio call flows with Asterisk

2022-01-05 Thread Yuriy Gorlichenko
This might be tricky to move fast registrations from the asterisk to kamailio if asterisk for example, handles a lot of logic and used as presence service and queues manager. The other approach might work here: to go with kamailio as a load balancer between asterisks but keep registrations of

[SR-Users] Kamailio and robotics repo

2021-09-01 Thread Yuriy Gorlichenko
Following the promise during the Kamailio world 2021 I share the source code of the Kamailoi and robotics repo: https://github.com/arigativa/robolive __ Kamailio - Users Mailing List - Non Commercial Discussions *

Re: [SR-Users] Manage multiple RTP streams with different TO-tags (forking)

2021-08-27 Thread Yuriy Gorlichenko
Hello. The first thing: to tag can't be changed due session once it passed. If provider uses forking mechanism the it has to be hidden from your system. Regarding SDP according https://datatracker.ietf.org/doc/html/rfc3261#section-13.2.1 They can't change SDP answer description on the fly. Only

Re: [SR-Users] [VoLTE] 401 unauthorized error

2021-08-24 Thread Yuriy Gorlichenko
;http://ims.mnc001.mcc001.3gppnetwork.org>"* > * Nonce Value: ""* > *Digest Authentication Response: ""* > *Call-ID: txecbknlk@192.168.101.3 * > *CSeq: 1 REGISTER* > *Sequence Number: 1* > *Method: REGI

Re: [SR-Users] [VoLTE] 401 unauthorized error

2021-08-23 Thread Yuriy Gorlichenko
Hi 401 is normal response for sip auth It is also normal response for IMS service Look into sip basic auth mechanism to clarify what is going on here and additionally look into Spec of IMS auth. There should be only auth algo change I believe you did not check further request processing. On Mon,

Re: [SR-Users] How tell if rtp packets are being relayed through rtpengine in kamailio

2021-08-23 Thread Yuriy Gorlichenko
You can look into rtpengine logs with log level 7 to see if there are requests from the kamailio to rtpengine. Also you can look on it with tcpdump on port you passed into kamailio.cfg to connect rtpengine to. If there are requests and responses then you can look into SDP part of the packet to

Re: [SR-Users] RTPEngine: Async connection/communication between Kamailio and RTPEngine

2021-08-12 Thread Yuriy Gorlichenko
RTPengine since 9.0 provided HTTP transport for control protocol messages. you can use http_async_client as the easiest way to achieve async communication between Kamailio and RTPengine. But this doesn't resolve the latency problem. This will only unblock workers to be able to handle other

Re: [SR-Users] Issues with TOPOS when not relaying an in-dialog request

2021-08-05 Thread Yuriy Gorlichenko
for me, it seems you don't handle subscribe as other requests and it changes IP which came at the Contact header. Then this address is used for for the rest of the requests in this dialog. чт, 5 авг. 2021 г. в 14:27, Marrold : > Hi Henning, > > I realised as soon as I sent the message I'd

Re: [SR-Users] get defined names in kemi script

2021-07-13 Thread Yuriy Gorlichenko
#define is a directive for the cfg scripting. So you won't be able to reach this definition from Lua/python/etc AFAIK. But there are at least 2 possibilities how to achieve this: 1 - define global variables/constants in your script instead of #define. It will be visible across all namespace of

Re: [SR-Users] UAC_AUTH with RTPEngine NAT

2021-07-02 Thread Yuriy Gorlichenko
You won't see proper $mb after rtpengine changes in that way. $mb will be rewritten on the latest stage of packet processing. See sngrep or wireshark or either use read_sdp_pv / write_sdp_pv Also our can use apply_message_changes before log, but I would not recommend to do so if this is a

Re: [SR-Users] UAC module register originating from private interface on server

2021-06-02 Thread Yuriy Gorlichenko
ersion 5 and above? > > > > Thanks > > > > Jon > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Yuriy Gorlichenko > *Sent: *02 June 2021 14:16 > *To: *Kamailio (SER) - Users Mailing List >

Re: [SR-Users] UAC module register originating from private interface on server

2021-06-02 Thread Yuriy Gorlichenko
Ahh sorry I did not see the version of kamailio you are using... On Wed, 2 Jun 2021, 14:58 Yuriy Gorlichenko, wrote: > There is a socket field in the uacreg table you can use to manage which > interface to use to send register messages from. > > On Wed, 2 Jun 2021, 14:15 Jonathan Hu

Re: [SR-Users] UAC module register originating from private interface on server

2021-06-02 Thread Yuriy Gorlichenko
There is a socket field in the uacreg table you can use to manage which interface to use to send register messages from. On Wed, 2 Jun 2021, 14:15 Jonathan Hunter, wrote: > Hi, > > > > I am working with the UAC module and trying to register with providers, > and can see > > that kamailio keeps

Re: [SR-Users] kamailio: split initialized call to two (three or four or five) numbers

2021-05-28 Thread Yuriy Gorlichenko
If the question only in changing R-URI but not call forking behaviour itself - you can go with append_branch function and pseudo vars you can set to each branch. On Fri, 28 May 2021, 09:34 Henning Westerholt, wrote: > Hello, > > > > there are many ways of doing this parallel-call functionality.

Re: [SR-Users] Kamailio as front proxy for multiple sip servers

2021-05-06 Thread Yuriy Gorlichenko
ing. > > Yes, when a pair of softphones (ok) and softphones (not yet) exchange > signalling alright in that scenario, I will start on transcoding... > > > Wojtko, Daniel daniel.woj...@rittec.de por lists.kamailio.org 05:32 > (há 8 horas) > > afaik rtpproxy doesn't supp

Re: [SR-Users] Kamailio as front proxy for multiple sip servers

2021-05-06 Thread Yuriy Gorlichenko
If you looking for examples: you can use this one https://github.com/havfo/WEBRTC-to-SIP as starting point anyway, the Path mentioned by Alex is the best approach. чт, 6 мая 2021 г. в 10:34, Wojtko, Daniel : > ​Hi, > > afaik rtpproxy doesn't support WebRTC but rtpengine does > > > Regards > > >

Re: [SR-Users] kamailio 5.4.3 ubuntu 20.04 tls - http_async_client

2021-01-28 Thread Yuriy Gorlichenko
Running Debian 10 on docker with http_async_client Connect to HTTPS. No issues found. ср, 27 янв. 2021 г. в 14:01, Filippo Graziola : > Hello, > > here are the results for ssl packages (dpkg -l | grep ssl): > > ii libcrypt-openssl-bignum-perl 0.09-1build3 > amd64Perl module to

Re: [SR-Users] Kamailio and Serverless

2021-01-21 Thread Yuriy Gorlichenko
I'm using serverless Kamailio. It built with KEMI ( for me it based on Lua code ) which gives me much more freedom. Especially if you run Kamailio in docker or some dockerisation tech built in to the cloud ср, 20 янв. 2021 г. в 19:44, Alex Balashov : > You can use a module such as http_client or

Re: [SR-Users] BYE and TCP

2021-01-12 Thread Yuriy Gorlichenko
It doesn't matter whet port used by provider when it sent initial INVITE to you. Record-route and Route headers are Proxy headers. They are announce addresses of the proxy for the listening. That means when UA sends the request it has to use port mentioned in the first of the Route headers or in

Re: [SR-Users] sngrep TLS connection

2020-12-07 Thread Yuriy Gorlichenko
As I remember sngrep doesn't work with TLS 1.3, so may be it is your case. On Tue, 8 Dec 2020, 08:01 Agiftel, wrote: > Hi all, does anyone was able to use sngrep (with -k option) to decrypt TLS > connections? > I'am doing what help says; used private key is the correct one; but no > traffic is

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Yuriy Gorlichenko
Hello 2020-12-03T18:05:46.456106+00:00 ashmainkama51 kamailio[22147]: a=candidate:2274611867 1 tcp 1518283007 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71 9 typ host tcptype active generation 0 network-id 2 network-cost 10 is a local candidate sent in the offer from the client ICE=force just says

Re: [SR-Users] KEMI and Native mixing

2020-10-22 Thread Yuriy Gorlichenko
It is not a big deal to use it with lua_run(). It will work without any double_trouble in general I do it a lot in many projects which are still in native lang but already need some extensions I would recommend you to test your Lua before set into production. Here is a test suite which can help

[SR-Users] Lua kemi-test-suite now availble from luaRocks

2020-09-25 Thread Yuriy Gorlichenko
Hello Kamailians! I'm glad to announce some updates about the Lua Kemi-test-suite which has been presented on KamailioWorld online 2020 conference https://github.com/ovoshlook/kemi-lua-test-suite There are some important updates that I hope will make your life easier if you use Lua KEMI. - Now

Re: [SR-Users] Kamailio Slack Channel Invite

2020-09-21 Thread Yuriy Gorlichenko
Also if anyone wants to join: Here is a telegram unofficial chat. It is quite active. It is RU, but EN friendy. Feel free to join for kamailio/SIP questions and related interaction. t.me/ru_kamailio On Mon, 21 Sep 2020, 11:26 Daniel-Constantin Mierla, wrote: > Hello, > > there is an

Re: [SR-Users] Decrypting SRTP with Kamailio + rtpengine

2020-08-18 Thread Yuriy Gorlichenko
You have to call rtpengine_manage for the replies as well. On Tue, 18 Aug 2020, 20:14 Alex Balashov, wrote: > They can... > > On 8/18/20 1:25 PM, Sergey Safarov wrote: > > Thinks 180 Ringing messages do not contain SDP. > > Some misunderstanding present here > > > > Sergey > > > > On Tue, Aug

Re: [SR-Users] Do I need RTPEngine at every location onsite for webRTC

2020-08-17 Thread Yuriy Gorlichenko
Hello. If I understand your question correctly you have a PBX at each of the location which will be in between devices. If pbx you gonna use allows dtls and ICE, then you don't need rtpengine or any other kind of turn server. On Mon, 17 Aug 2020, 21:45 Johnny Ritzer, wrote: > We have 100

Re: [SR-Users] Manipulating SDP IP for Inbound Calls

2020-08-04 Thread Yuriy Gorlichenko
It looks like rtpengine has to be a bridge between docker-compose network and external ( for docker compose ) net. First of all there is an option of rrpengine to listen 2 interfaces, which can be the same interface but one of them can be advertised to external ip. So you can give aliases to

Re: [SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Yuriy Gorlichenko
Sorry, opposit. For 200 ACK is separate. For 300 or greater it is belongs o same transaction ofcourse. On Mon, 13 Apr 2020, 14:08 Yuriy Gorlichenko, wrote: > For 300 and greater reply transaction ends on reply and ACK is a new > thansaction > > On Mon, 13 Apr 2020, 13:25 Duarte R

Re: [SR-Users] Lifetime of Invite with no Ack

2020-04-13 Thread Yuriy Gorlichenko
For 300 and greater reply transaction ends on reply and ACK is a new thansaction On Mon, 13 Apr 2020, 13:25 Duarte Rocha, wrote: > Sorry i didn't specify. > > It is after the 200 Ok. Will it be different in a reply greater than 300? > > Best regards > > A segunda, 13/04/2020, 12:16,

Re: [SR-Users] [ot] lightweight sip app for auto-answering with play file and echo mode

2020-03-26 Thread Yuriy Gorlichenko
Sipp since version 3.3 ( as I remember ) can play files. I have used that for some kind of testing. On Thu, 26 Mar 2020, 08:45 Daniel-Constantin Mierla, wrote: > Hello, > > wondering if anyone here is aware of a lightweight sip app that can > answer a call, play some file and/or do echo mode,

Re: [SR-Users] Kamailio - Force UAC to re register

2020-03-02 Thread Yuriy Gorlichenko
I see here scenario that probably will help you: You can use asterisk real time db to share address of record between nodes. In that case any asterisk will be able to know Where to send request if some one calls to client. I coming registration you will need to route based on your dispatcher list

Re: [SR-Users] How to detect NAT during authenticated registration of clients which adjust the headers

2020-02-28 Thread Yuriy Gorlichenko
But why it becomes a problem? It looks like client reloves NAT issue on his side. So during the call of this user you will send request to the proper destination address anyway. On Fri, 28 Feb 2020, 18:03 David Villasmil, wrote: > Can you paste the challenge and responses? > > On Fri, 28 Feb

Re: [SR-Users] Access to CANCEL messages sent during parallel forking

2020-02-26 Thread Yuriy Gorlichenko
> are there. > > Do you have any other suggestion? > > Thanks > Regards > Marco > > On 2/25/20 5:50 PM, Yuriy Gorlichenko wrote: > > You can try event_route[tm:local-request] for this. > > On Tue, 25 Feb 2020, 15:36 Marco Capetta, wrote: > >> Hi Al

Re: [SR-Users] Access to CANCEL messages sent during parallel forking

2020-02-25 Thread Yuriy Gorlichenko
You can try event_route[tm:local-request] for this. On Tue, 25 Feb 2020, 15:36 Marco Capetta, wrote: > Hi All, > > I have a question regarding call forking and how to access failed > branches: the ones for which kamailio sends out the CANCEL because on > another one a 200OK was received. > This

Re: [SR-Users] ds_is_from_list doesn't accept groupid from a variable?

2020-02-14 Thread Yuriy Gorlichenko
You have to Put variable in "" as I remember. This is usual rool for all function calling in a config file. On Fri, 14 Feb 2020, 14:54 Björn Bylander, wrote: > Hi, > > According to > https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.f.ds_is_from_list, > ds_is_from_list

Re: [SR-Users] Same Via Tag for INVITE and ACK on S/L loadbalancer

2020-02-11 Thread Yuriy Gorlichenko
n Mon, Feb 10, 2020 at 4:15 PM Serge S. Yuriev > wrote: > > >>> Hi > > >>> > > >>> I believe you are using 5.2 or 5.3 series? This tend to work > > >>> properly on 5.1 series > > >>> > > >>> 10.02.2020, 1

Re: [SR-Users] Different REGISTER expires based on User-Agent

2020-02-11 Thread Yuriy Gorlichenko
But you will see those changes in the pcap even without apply_message_changes It is highly recommended to not use this function as it parses all message again. On Tue, 11 Feb 2020, 12:29 mayamatakeshi, wrote: > > > On Tue, Feb 11, 2020 at 7:48 PM Daniel Tryba wrote: > >> On Tue, Feb 11, 2020

Re: [SR-Users] Same Via Tag for INVITE and ACK on S/L loadbalancer

2020-02-10 Thread Yuriy Gorlichenko
ACK for successull response is a new transaction. It has to be different. May be it is better to point provider to this? On Mon, 10 Feb 2020, 14:26 Sebastian Damm, wrote: > Hi, > > I stumbled upon an interop problem with a carrier. We have the > following scenario: > > Gateway --> Loadbalancer

Re: [SR-Users] Binary Websocket messages

2020-02-06 Thread Yuriy Gorlichenko
og I can get from kamailio/rtpengine or is it better to use something > like wireshark? > > On Thu, Feb 6, 2020 at 10:52 AM Yuriy Gorlichenko > wrote: > >> Can you try to get SIP dump from kamailio to WebSocket endpoint on the >> kamailio machine? >> >> I belie

Re: [SR-Users] Binary Websocket messages

2020-02-06 Thread Yuriy Gorlichenko
Also this message does not looks like it is binary SIP as it contains headers. So it is encoding problem of the browser. In that case if you will get SIP traces on the kamailio side you have to see usual sip message from the kamailio to browser. On Thu, 6 Feb 2020, 14:48 Yuriy Gorlichenko, wrote

Re: [SR-Users] Binary Websocket messages

2020-02-06 Thread Yuriy Gorlichenko
5AxB x UDP 2 > 007b: 3x33 3037 303x 3x33 3x20 353x 2e32 3332 x3070xx3x xx.xxx > 007c: 2e32 3x38 2e32 203x 3x3x 3738 207x .xxx.xxx xxx78 t > 007d: 7x70 20x8 xf73 7x0d 0axx 3dx3 xxxe yp host..a=candi > 007e: 7xx5 3axc 3xxf xaxc 3235 3x53 d

Re: [SR-Users] Binary Websocket messages

2020-02-06 Thread Yuriy Gorlichenko
, just let me know. > > Thanks > Santos > > > > On Thu, Feb 6, 2020 at 9:29 AM Yuriy Gorlichenko > wrote: > >> SIP is a text protocol by default. Binary messages can be here only >> keepalive messages and etc. So it should not go to application layer of the

Re: [SR-Users] Binary Websocket messages

2020-02-06 Thread Yuriy Gorlichenko
SIP is a text protocol by default. Binary messages can be here only keepalive messages and etc. So it should not go to application layer of the client as it is a transport layer messages. Are you sure There is no other software between kamailio and client that creates a bridge between client and

Re: [SR-Users] Best practice to figure out one way rtp delay

2020-02-06 Thread Yuriy Gorlichenko
Kamailio does not handle RTP. But you can use heplify ( or homer) That will alliw you to collect rtcp in your infrastructure and map it with the SIP calls you have. On Thu, 6 Feb 2020, 09:23 Karsten Horsmann, wrote: > Hi List, > > I have a new setup with two Kamailios installations. One serves

Re: [SR-Users] modifying via header from public IP to private IP

2020-01-30 Thread Yuriy Gorlichenko
Kamailio as sip proxy according rfc adds via by its own based on set up you making in cfg file. You doing something wrong, explanations above have to work. On Fri, 31 Jan 2020, 07:42 vinod mn, wrote: > Anyone let me know is it possible to modify the public-IP in via to > private-IP. > > > On

Re: [SR-Users] Re-write contact header

2020-01-29 Thread Yuriy Gorlichenko
; > > ---------- > *From:* sr-users on behalf of Yuriy > Gorlichenko > *Sent:* Wednesday, January 29, 2020 12:25:03 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Re-write contact header > > It is wrong if your remote par

Re: [SR-Users] Re-write contact header

2020-01-29 Thread Yuriy Gorlichenko
It is wrong if your remote party ignores record-route. If it does not support work with RR/Route headers it at least should interrupt transaction on the first reply that contains RR. However There are a couple of ways to make kamailio work as SBC: - topos module - Rewrite contact header manually

Re: [SR-Users] rtpengine relay ip and port in avp

2020-01-23 Thread Yuriy Gorlichenko
Look here https://www.kamailio.org/docs/modules/5.3.x/modules/rtpengine.html#rtpengine.p.write_sdp_pv Then you will be able to get it with string operations. On Thu, 23 Jan 2020, 14:25 Pafel, wrote: > My bad, I am using rtpengine module but not rtpproxy. > > Regards, > Pavel > > На ср,

Re: [SR-Users] Parallel forking and rtpengine handling

2020-01-22 Thread Yuriy Gorlichenko
It is. In this case manage = delete On Wed, 22 Jan 2020, 19:16 George Diamantopoulos, wrote: > > > On Wed, 22 Jan 2020 at 18:28, Richard Fuchs wrote: > >> On 22/01/2020 11.06, Sebastian Damm wrote: >> > Hi, >> > >> > our scenario is the following: We have two clients registered to our >> >

Re: [SR-Users] [sr-dev] Merry Christmas and Happy Holidays!

2019-12-25 Thread Yuriy Gorlichenko
I wanna say thank you Dainel and all kamailio community for this amazing product from Russian VoIP community. 2019 was amazing as we have been start to make yearly (I hope) kamailio Russian conference at Moscow. I wish you all Merry Christmas with all the best and hope to see you all soon at

Re: [SR-Users] How to reduce re-INVITE time in Kamailio

2019-12-17 Thread Yuriy Gorlichenko
ically will be greatly appreciated. > > On Wed, 18 Dec 2019 at 12:18 AM, Yuriy Gorlichenko > wrote: > >> Session-Expires header ( Just remembered right name) will help you >> See rfc 4028 >> https://tools.ietf.org/html/rfc4028#page-6 >> >> On Tue, 17 Dec 201

Re: [SR-Users] How to reduce re-INVITE time in Kamailio

2019-12-17 Thread Yuriy Gorlichenko
Session-Expires header ( Just remembered right name) will help you See rfc 4028 https://tools.ietf.org/html/rfc4028#page-6 On Tue, 17 Dec 2019, 19:44 Yuriy Gorlichenko, wrote: > Hi. It is no a kamailio question but sip question itself. You can manage > how often te invite will be by

Re: [SR-Users] How to reduce re-INVITE time in Kamailio

2019-12-17 Thread Yuriy Gorlichenko
Hi. It is no a kamailio question but sip question itself. You can manage how often te invite will be by using session-timers. It will help you to setup time range between reInvite ir whatever message you will use as keepalive On Tue, 17 Dec 2019, 19:34 Anuran Barman, wrote: > Hi, I am using

Re: [SR-Users] Re-use TCP connections on different transactions

2019-10-31 Thread Yuriy Gorlichenko
You have to use tcp_accept_aliases=yes But this is not enough as this param will be triggered by function force_tcp_alias() you need to use in the route for request ( for example record_route or subroutes) It will add param paramname= (I Don't remember specific name) to Via header that will be

Re: [SR-Users] catching tls errors

2019-10-16 Thread Yuriy Gorlichenko
small period of time from the same ip. On Wed, 16 Oct 2019, 08:55 Juha Heinanen, wrote: > Yuriy Gorlichenko writes: > > > Looks no, because connection must be established for handling it in the > > config file. This error fired by ssl library during Negotiation process. >

Re: [SR-Users] catching tls errors

2019-10-16 Thread Yuriy Gorlichenko
Looks no, because connection must be established for handling it in the config file. This error fired by ssl library during Negotiation process. But you can try tcpdump, at least you will see Who tries to established connection On Tue, 15 Oct 2019, 15:51 Juha Heinanen, wrote: > Sometimes I see

Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-18 Thread Yuriy Gorlichenko
ted to see Lua error like "KSR not defined" or etc. But this gave me different error that at the start of the topic and that confused me :-) If need more clrification: I will be able to do it later on. Just let me know. On Wed, 18 Sep 2019, 08:44 Daniel-Constantin Mierla, wrote: >

Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-16 Thread Yuriy Gorlichenko
I found issue: Called KSR.log earlier than it was initiated. Moved part of code previously used in cfgengine "lua" to lua_run(). пн, 16 сент. 2019 г. в 15:25, Yuriy Gorlichenko : > Sorry Just a mistake. Offcourse it is path to kamailio.cfg file which > contains path to main

Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-16 Thread Yuriy Gorlichenko
> mistake, because the config path provided with -f should still be to the > kamailio.cfg where you set global parameters, load modules and set their > parameters? > > Cheers, > Daniel > > On Mon, Sep 16, 2019 at 7:23 AM Yuriy Gorlichenko > wrote: > >> Hi! Im usi

[SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-15 Thread Yuriy Gorlichenko
Hi! Im using kamailio 5.1.8 with app_lua and getting this message during startup of kamailio. Looks like I forgot to add something at the module setup, but cant figure out what is wrong. My setup of app_lua is: modparam("app_lua", "load", "/etc/kamailio/extended/main.lua")

Re: [SR-Users] About STIR/SHAKEN - Caller Identity

2019-08-22 Thread Yuriy Gorlichenko
Hello, Daniel. You disscussed it with Oleg Belousov at Kamailio World 2019. ( I added him in cc as he Just subscribed on list and did not saw this thread) I was a part of his team Who realized this. Yes, we've implemented STIR/SHAKEN platform for mobile operator, using Lua, which interrogates

Re: [SR-Users] How can I put updated sdp body to message in kemi

2019-02-26 Thread Yuriy Gorlichenko
Sorry. Searched in a wrong module. Textops offcourse... Question closed On Tue, 26 Feb 2019, 12:10 Yuriy Gorlichenko, wrote: > Hi. On the original config to set body with New data I used > set_body() function, exported from sdpops module. > But for kamailio 5.1 I can't find somet

[SR-Users] How can I put updated sdp body to message in kemi

2019-02-26 Thread Yuriy Gorlichenko
Hi. On the original config to set body with New data I used set_body() function, exported from sdpops module. But for kamailio 5.1 I can't find something same in case of using kemi Is There is some additional way to do this? ___ Kamailio (SER) - Users

Re: [SR-Users] Kamailio modules that can be used in Lua

2019-02-08 Thread Yuriy Gorlichenko
Possibly you looking into the old Version. Kamailio since 5.0 has kemi. Since 5.1 it support 99%of modules On Fri, 8 Feb 2019, 19:37 Leonid Fainshtein, wrote: > Hello, > I am checking a possibility to replace the traditional cfg script with a > Lua script. > In the app_lua module documentation

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
, 2 янв. 2019 г. в 18:02, Richard Fuchs : > On 02/01/2019 09.32, Yuriy Gorlichenko wrote: > > Thx for the reply > > Yes > > Internal hash table diffenentelly stores info > > But even it case of putting timeout to 0 it still grows in synthetic > > tests. So looks l

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
gt; The generate the summary via rpc: > > kamcmd corex.shm_summary > > Look in syslog for printed messages related to use of shared memory. > > Cheers, > Daniel > > > On Wed, Jan 2, 2019 at 2:45 PM Richard Fuchs wrote: > >> On 02/01/2019 07.45, Yuriy Gorlichenko wr

Re: [SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
not fully Is there some hidden function maybe to drop hast table o some ticky to do this? (we are using oru ow algorinthm that garanties to use same node in case of transaction) ср, 2 янв. 2019 г. в 16:45, Richard Fuchs : > On 02/01/2019 07.45, Yuriy Gorlichenko wrote: > > Hi! > &

[SR-Users] rtpengine in stateless kamailio

2019-01-02 Thread Yuriy Gorlichenko
Hi! Happy new year to all!!! Look like I am first in this year wit hthe questions in this list :-). I'm using stateless kamailio and RTPengnine to build some kind of the stateless cluster I found that kamailio keeps some data in the SHMEM in case of using RTPengine module even if it is not a

Re: [SR-Users] Forward() not handles Route headers

2018-11-29 Thread Yuriy Gorlichenko
Sorry for disturbing. Found forgotten loose_route functions in my config On Thu, 29 Nov 2018, 15:45 Yuriy Gorlichenko, wrote: > We are building some stateless solution and found that in case of using > forward() kamailio sends traffic only via URI or $du variable. It never > removes it

[SR-Users] Forward() not handles Route headers

2018-11-29 Thread Yuriy Gorlichenko
We are building some stateless solution and found that in case of using forward() kamailio sends traffic only via URI or $du variable. It never removes itself from route headers. Is this is the truth? Or I need to add some other module to handle it? (rr already added)

Re: [SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
st regards, > > Federico > > On Mon, Sep 17, 2018 at 2:32 PM Yuriy Gorlichenko > wrote: > >> all is default >> Maybe I need to set up something there? >> I jsut did not found anything about it at the docs >> >> пн, 17 сент. 2018 г. в 14:42, Sergiu P

Re: [SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
all is default Maybe I need to set up something there? I jsut did not found anything about it at the docs пн, 17 сент. 2018 г. в 14:42, Sergiu Pojoga : > Ok, what are your UAC parameters? > > On Mon, Sep 17, 2018 at 7:34 AM Yuriy Gorlichenko > wrote: > >> No. Tried from b

Re: [SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
No. Tried from branch route. пн, 17 сент. 2018 г., 14:25 Sergiu Pojoga : > From which route are you calling uac_replace_to(), failure_route? > > "This function can be used from REQUEST_ROUTE and from BRANCH_ROUTE" > > On Mon, Sep 17, 2018 at 6:05 AM Yuriy Gorlichen

Re: [SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
To header. for example: > subst('/^To:(.*)sip:[^@]*@[a-zA-Z0-9.]+(.*)$/t:\1$avp(sip_address)\2/ig') > With Regards.Mojtaba > > On Mon, Sep 17, 2018 at 1:19 PM Yuriy Gorlichenko > wrote: > > > > Hi > > I'm building some system with failover trunk > >

Re: [SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
kamialio and replace domain in To header. for example: > subst('/^To:(.*)sip:[^@]*@[a-zA-Z0-9.]+(.*)$/t:\1$avp(sip_address)\2/ig') > With Regards.Mojtaba > > On Mon, Sep 17, 2018 at 1:19 PM Yuriy Gorlichenko > wrote: > > > > Hi > > I'm building some system with failover

[SR-Users] issue with rewrite to domain in failure route

2018-09-17 Thread Yuriy Gorlichenko
Hi I'm building some system with failover trunk but my providers requires to set their doamin in domain part of To Header so when I rewrite it at the my failure_route $td = FAILOVER_PROVIDER my To filed looks like To: what i tried: Move this change to BRANCH_ROUTE: here tried as $td = as

Re: [SR-Users] Remove branch from branch list

2018-09-11 Thread Yuriy Gorlichenko
; Cheers, > Daniel > > On 11.09.18 15:16, Yuriy Gorlichenko wrote: > > Hi I'm trying to manipulate with branches at the $branch variable. 8 > actually need to remove unneeded branch if not passed some checks. > For now I Just rewriting uri and dst_uri with some face address b

[SR-Users] Remove branch from branch list

2018-09-11 Thread Yuriy Gorlichenko
Hi I'm trying to manipulate with branches at the $branch variable. 8 actually need to remove unneeded branch if not passed some checks. For now I Just rewriting uri and dst_uri with some face address but it looks little bit dirty way. Is here any an other more clear way to do this?

Re: [SR-Users] ACK Cseq incrases after 404 on uac_auth()

2018-07-17 Thread Yuriy Gorlichenko
Yep that works thx! 2018-07-17 9:14 GMT+03:00 Daniel-Constantin Mierla : > Hello, > > one more thing, do: > > $dlg_var(cseq_diff) = $null; > > when you reset the internal flag for uac auth. > > Cheers, > Daniel > > On 16.07.18 21:13, Yuriy Gorlichenko wrote:

Re: [SR-Users] ACK Cseq incrases after 404 on uac_auth()

2018-07-16 Thread Yuriy Gorlichenko
8-07-16 14:42 GMT+03:00 Daniel-Constantin Mierla : > Hello, > > when you re-route to a new destination, can you try resetting the internal > flag with: > > msg_iflag_reset("UAC_AUTH"); > > Cheers, > Daniel > > On 16.07.18 10:31, Yuriy Gorlichenko wrote: &

[SR-Users] ACK Cseq incrases after 404 on uac_auth()

2018-07-16 Thread Yuriy Gorlichenko
Hi. I found some additional scenario when kamailio works incorrect with ACK Cseq after succesfull auth with uac_auth but unsuccesfull call: 1.Caller via kamailio as proxy (Cseq 1) 2.Kamailio resends call to provider with Auth method (Cseq 1) 3. Provider answers 401/407 (Cseq 1) 4. Kamailio

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
GMT+03:00 Yuriy Gorlichenko : > Jut in update > In kamailio case all goes well > Kamailio sets to UAC Record-Route in the 200 reply and then UAC sends ACK > via Route sent... > > I totally confised... > In both examples from my provider 200 contains Route set but in case of >

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
... both Route heanders contains "lr" Provider based Route header jsut contains only *sip:ip:port;lr *when my testing kamaili regitrar contains *sip:ip:port;lr,ftag=fromtaghere* 2018-07-02 10:45 GMT+03:00 Yuriy Gorlichenko : > Anyway thank you so much for your responses > I really

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
Anyway thank you so much for your responses I really appreciate your time and your help here 2018-07-02 10:42 GMT+03:00 Yuriy Gorlichenko : > Yep this clear for me from the start. > > For me for now not clear question abot direct connect for now. > > 2018-07-02 10:00 GMT+03:0

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
Yep this clear for me from the start. For me for now not clear question abot direct connect for now. 2018-07-02 10:00 GMT+03:00 Alex Balashov : > On Mon, Jul 02, 2018 at 09:59:12AM +0300, Yuriy Gorlichenko wrote: > > > That was my point also... > > But they sent me lint

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
myProxy should sent ACK to instead of using Contact in thi case In case direct conntect UAC -> Provider I still need to use Contact field as URI to send ACK to that explained on the 12.1.2 of rfc3261? 2018-07-02 9:46 GMT+03:00 Alex Balashov : > On Mon, Jul 02, 2018 at 09:31:02AM +0300,

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
. Not in the contact field offcource 2018-07-02 9:31 GMT+03:00 Yuriy Gorlichenko : > Sorry for noize from my side > I just cant fully understand dependency: > > I understand that actually route header shoud not be ingnored because it > is shows way for the in-dialog packet > That

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
der at the ACK that actually exists 2018-07-02 9:02 GMT+03:00 Alex Balashov : > On Mon, Jul 02, 2018 at 09:00:02AM +0300, Yuriy Gorlichenko wrote: > > > yep I understand that. > > I just see that in fact ACK soudl ignore Route header if it... Single? > > What? No. >

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-02 Thread Yuriy Gorlichenko
yep I understand that. I just see that in fact ACK soudl ignore Route header if it... Single? 2018-07-02 1:45 GMT+03:00 Alex Balashov : > The "remote target" in this case refers to the request URI, > cosmetically. > > On Mon, Jul 02, 2018 at 12:10:26AM +0300, Y

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Yuriy Gorlichenko
>set, even if empty, overrides any pre-existing route set for future >requests in this dialog. The remote target MUST be set to the URI >from the Contact header field of the response. 2018-07-02 0:05 GMT+03:00 Alex Balashov : > On Mon, Jul 02, 2018 at 12:03:24AM

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Yuriy Gorlichenko
Gorlichenko : > Hm... Nice guess > I will try to check it > Thank you so much for clarify these things Alex! > > 2018-07-01 11:35 GMT+03:00 Alex Balashov : > >> On Sun, Jul 01, 2018 at 11:27:36AM +0300, Yuriy Gorlichenko wrote: >> >> > So FS in this cas

Re: [SR-Users] Should I ignore Route header in ACK?

2018-07-01 Thread Yuriy Gorlichenko
Hm... Nice guess I will try to check it Thank you so much for clarify these things Alex! 2018-07-01 11:35 GMT+03:00 Alex Balashov : > On Sun, Jul 01, 2018 at 11:27:36AM +0300, Yuriy Gorlichenko wrote: > > > So FS in this case ignores single route header and sends request to the

  1   2   >