Re: [SR-Users] Kamailio vs FreeSWITCH as SBC

2022-06-09 Thread Unai Rodriguez
Thank you so much for the great insights! On 31 May 2022, 12:54 +0200, Karsten Horsmann , wrote: > Hi Unai, > > you can take a look at sbcOS https://github.com/voiceboys/sbcOS > and use only the kamailio/rtpengine config parts as inspiration or use the (a > littlebit outdated) image. > > Also you

[SR-Users] t_drop_replies can't be used on a route?

2022-06-09 Thread David Villasmil
Hello guys, I have a failure route which calls another route, and on this route I need to t_drop_replies(); But i'm getting: [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/include/relay_routes.cfg, line 143, column 20: Command cannot be used in the block Any way to f

Re: [SR-Users] remove header in async processing (e.g. by http_async_client)

2022-06-09 Thread Henning Westerholt
Hello, (answering to myself) it is working after moving it the last route before the t_relay(). So, one just need to be careful to not chain several async route executions, as the previous state gets lots apparently. Cheers, Henning From: Henning Westerholt Sent: Thursday, June 9, 2022 12:53

[SR-Users] remove header in async processing (e.g. by http_async_client)

2022-06-09 Thread Henning Westerholt
Hello, I'd like to remove headers during async processing e.g. in a route called from http_async_client(..). The usual textops functions are not working here. Adding headers could be done using something like rtjson, but it do not offer a remove header function. I could of course loop the reque

[SR-Users] Siremis startup helper service for systemd

2022-06-09 Thread Joseph Goettgens
Hi, I had some difficulties getting Siremis 5.3 to run under Debian 11 Bullseye. It turned out that the problem was the creation of the Siremis socket: address="/run/siremis/siremis_rpc.sock" timeout="3.0"/> There is a warning in siremisJRCommands.xml that points out that systemd has to be

Re: [SR-Users] Re-establishment of a closed TCP connection

2022-06-09 Thread Richard Edmands
Have you considered some sort of keep-alive packet? Usually the phones can be configured to send these, if not then you could write something up in Kamailio to send them every 5 minutes or so. > On 9 Jun 2022, at 5:04 pm, Daniel-Constantin Mierla wrote: > > Hello, > > there is no tight relati

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 shoul

Re: [SR-Users] Re-establishment of a closed TCP connection

2022-06-09 Thread Daniel-Constantin Mierla
Hello, there is no tight relation between sip traffic and transport connections, meaning that you can can enforce any target address when sending requests within dialog via config operation. By default kamailio.cfg processing, the connection is matched based on Route or R-URI addresses. But you c