[SR-Users] Re: Dockerized VoIP Stack

2022-12-22 Thread Alex Balashov
y and payoff of the endeavour? -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio - Users Mailing List - No

[SR-Users] Re: Remove all Via Header or create custome Via Header

2022-12-22 Thread Alex Balashov
rs-le...@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristes

[SR-Users] Re: Dockerized VoIP Stack

2022-12-22 Thread Alex Balashov
I would have to agree with Henning that this may be more trouble than it's worth, particularly when it comes to the bottom-line result. — Sent from mobile, apologies for brevity and errors. > On Dec 22, 2022, at 2:22 AM, Henning Westerholt wrote: > >  > Hello, > > we have done some projects

[SR-Users] Re: auth_challenge() and async

2022-12-19 Thread Alex Balashov
Just to conclude this, I have worked around it by setting tm.wt_timer to about ~300 ms, which is low enough to shuffle the old transaction off before the retransmissions ad nauseum can start. But I don't think this is the ideal solution to this problem. -- Alex > On Dec 16, 2022, at 9:09

[SR-Users] Re: Multiple websocket connections with the same port

2022-12-19 Thread Alex Balashov
; > __ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an email to sr-users-le...@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! >

[SR-Users] Re: Which KEMI-language has the lowest runtime overhead?

2022-12-17 Thread Alex Balashov
reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-16 Thread Alex Balashov
l Discussions > To unsubscribe send an email to sr-users-le...@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-680

[SR-Users] Re: How to make a branch trigger persistent (still being active after failure route is triggered)?

2022-12-16 Thread Alex Balashov
Fax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > __ > __ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an em

[SR-Users] Re: Redundancy

2022-12-16 Thread Alex Balashov
AM, Alex Balashov wrote: > > Yes to all of that. :-) > > — > Sent from mobile, apologies for brevity and errors. > >> On Dec 16, 2022, at 10:25 AM, Jawaid Bazyar wrote: >> >> Hi Alex, >> >> Thanks for your (as usual) thorough reply. >

[SR-Users] Re: Redundancy

2022-12-16 Thread Alex Balashov
Yes to all of that. :-) — Sent from mobile, apologies for brevity and errors. > On Dec 16, 2022, at 10:25 AM, Jawaid Bazyar wrote: > > Hi Alex, > > Thanks for your (as usual) thorough reply. > > So, if I understand correctly what you're saying, as an example: > &

[SR-Users] Re: auth_challenge() and async

2022-12-16 Thread Alex Balashov
But what exactly shall we document? "Don't suspend a transaction and do an auth challenge + exit from the resume route unless you want the first transaction to be drawn out of wait state by a rapid subsequent INVITE, despite prior receipt of a negative ACK for the challenge?" :-

[SR-Users] Re: auth_challenge() and async

2022-12-16 Thread Alex Balashov
module offering async operation ... -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio - Users Mailing List - Non

[SR-Users] Re: auth_challenge() and async

2022-12-16 Thread Alex Balashov
dd more spam to the thread. :-) -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio - Users Mailing List - No

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
it; } I can't say for sure what's going on, not knowing TM internals. -- Alex > On Dec 15, 2022, at 2:40 PM, Alex Balashov wrote: > > Setting tm.wt_timer to a very low value (e.g. 200 ms) does provide a hack > around this behaviour, but it doe

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
───> ││60 │ ││ S The real question is why the negative ACK for the first transaction doesn't seem to be having the intended effect in this scenario. -- Alex > On Dec 15, 2022, at 2:21 PM, Alex Balashov wrote: > > Adding further to this, it seems to me the real problem

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
'exit'. > On Dec 15, 2022, at 12:42 PM, Alex Balashov wrote: > > As a test, I tried to put the auth_challenge() in the request_route before > any async suspension, and in that case works fine. > > The issue is definitely with the way auth_challenge() issued from _within_

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
As a test, I tried to put the auth_challenge() in the request_route before any async suspension, and in that case works fine. The issue is definitely with the way auth_challenge() issued from _within_ an async resume route (failure_route context) bears upon transaction state. -- Alex

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
the 407 keep being retransmitted? -- Alex > On Dec 15, 2022, at 12:00 PM, Alex Balashov wrote: > > Hi Henning, > >> On Dec 15, 2022, at 11:51 AM, Henning Westerholt wrote: >> >> Hi Alex, >> it might not help you much, but recently I was implementing a

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
Hi Henning, > On Dec 15, 2022, at 11:51 AM, Henning Westerholt wrote: > > Hi Alex, > it might not help you much, but recently I was implementing a similar > structure in one larger migration project, and it seems to work fine. > I am not using any special flags for the chall

[SR-Users] Re: auth_challenge() and async

2022-12-15 Thread Alex Balashov
│ │xy If the negative ACK were not being matched, I would think the retransmission would happen here too. It seems to happen because the subsequent INVITE keeps the old transaction alive and in its previous state somehow. Any suggestions welcome! -- Alex > On Dec

[SR-Users] Re: Redundancy

2022-12-14 Thread Alex Balashov
ort DNS-based failover, or may not implement it in the way you want. If you're offering a service to many different kinds of clients or devices, you'll have to take that into account. -- Alex [1] At a memory cost, but this isn't really a factor in modern computing. [2] Where it exists. An established

[SR-Users] Re: Failover - how does it work?

2022-12-14 Thread Alex Balashov
s being checked, and does more than its name might imply: https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tm.f.t_check_trans -- Alex > On Dec 14, 2022, at 6:19 PM, Jawaid Bazyar wrote: > > Alex, that did it! Now to understand it  > Thanks again, > Jawaid > From: Alex

[SR-Users] Re: Failover - how does it work?

2022-12-14 Thread Alex Balashov
} else if(is_method("ACK")) { if(t_check_trans()) { if(!t_relay()) sl_reply_error(); exit; } exit; } sl_send_reply("404", "Not here"); } -- A

Re: [SR-Users] Failover - how does it work?

2022-12-13 Thread Alex Balashov
es/tm.html#tm.serial_forking What you're after is serialising what is by default parallelised. I believe this should help you take control of that process. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.

Re: [SR-Users] auth_challenge() and async

2022-12-13 Thread Alex Balashov
ended to support, maybe. I'm wondering if the simplest thing to seed the credentials-info into Kamailio somehow, e.g. via JSONRPC+htable, so that an async query is not required in order to obtain it dynamically. I was hoping to avoid that, but maybe there's not another way to do it? --

Re: [SR-Users] auth_challenge() and async

2022-12-12 Thread Alex Balashov
To be clear, the two t_newtran() calls in the main request_route were naturally a typo. :-) Only the first one was intended. > On Dec 12, 2022, at 3:45 PM, Alex Balashov wrote: > > Hi, > > Is there any good solution for the scenario of an auth_challenge() with two > se

[SR-Users] auth_challenge() and async

2022-12-12 Thread Alex Balashov
bly stateful behaviour of auth_challenge() without "force_stateless_reply" enabled. In this case, it eclipses the second, unrelated 407 challenge from the subsequent routing query (407 challenge with +1 CSeq):  -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Te

Re: [SR-Users] Delays sending over WSS

2022-12-12 Thread Alex Balashov
level that timings are > accurate Thank you, Igor. However, this is occurring on already established connections that have been up for some time, e.g. delayed BYE. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.e

[SR-Users] Delays sending over WSS

2022-12-12 Thread Alex Balashov
also wonder if this is tied up in some low-level TLS or WS parameters unrelated to more general TCP configuration. Thanks much! — Alex — Sent from mobile, apologies for brevity and errors. __ Kamailio - Users Mailing List - Non Commercial

Re: [SR-Users] Does Kamailio supports Voice and Video call support for 5G Core

2022-12-08 Thread Alex Balashov
Are you familiar with how open-source software works? The project has nothing to sell you, but its maintainers also don't work for you. We are not your "Team". You need to work on your audience awareness skills. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706

Re: [SR-Users] Packet processing order

2022-12-06 Thread Alex Balashov
e different routing decisions. > > Daniel > > On 06.12.22 14:10, Alex Balashov wrote: >> I suspect that what Jawaid meant by "naive" was that, in Kamailio, there is >> not a central distributor thread which aims to buffer, serialise and >> otherwise order packet

Re: [SR-Users] Packet processing order

2022-12-06 Thread Alex Balashov
> On Dec 6, 2022, at 9:09 AM, Alex Balashov wrote: > > route[THE_REAL_PROC] { >while(mq_fetch("proc$var(qnum)")) { >$var(id) = $(mqk(term_proc){s.select,0,:}{s.int}); >$var(label) = $(mqk(term_proc){s.select,1,:}{s.int}); My bad. Replace `$(mqk(

Re: [SR-Users] Packet processing order

2022-12-06 Thread Alex Balashov
4 or 8 a great choice. :-) request_route { ... $var(q) = core_hash("$ci", "", 2); # 2^2, aka 4 queues if(!t_suspend()) { sl_send_reply("500", "Internal server error - cannot suspend"); exit; } mq_add("proc$var(q)"

Re: [SR-Users] Packet processing order

2022-12-06 Thread Alex Balashov
hat "naive" is perhaps not the best choice of vocabulary for it, and of course there would be performance downsides to such a centralised pipeline. But I think that's what was probably meant. -- Alex > On Dec 6, 2022, at 4:15 AM, Daniel-Constantin Mierla > wrote: > > He

Re: [SR-Users] Starting with Kamailio

2022-11-29 Thread Alex Balashov
. -- Alex > On Nov 28, 2022, at 9:57 PM, Clint Crabtree > wrote: > > Hello, > I’m a DIY entrepreneurial developer beginning to build a system and I > stumbled upon Kamailio. I’ve installed asterisk and kamailio in hopes of > setting up an IVR to collect voice to speech info

[SR-Users] Setting package memory from core config

2022-11-29 Thread Alex Balashov
Hi, There is a way to set the shared memory pool size from core config instead of external CLI arguments: https://www.kamailio.org/wikidocs/cookbooks/5.6.x/core/#shm_mem_size Is there something analogous for package memory (-M)? I could not find it. Thanks! -- Alex -- Alex Balashov

Re: [SR-Users] Info: Dates for next Kamailio World Conference in Berlin: June 5-7, 2023

2022-11-28 Thread Alex Balashov
on in the city center. > > > Y! > > Super! > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)

Re: [SR-Users] set_dlg_profile profile name with and without value?

2022-11-15 Thread Alex Balashov
Hi, A profile is either “with value” or “without value”, so you cannot use it both ways simultaneously; “with value” is not a superset of “without value”. You can, however, add a call to two different profiles, one with values and one without values. — Alex > On Nov 15, 2022, at 7:45

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-09 Thread Alex Balashov
> Kamailio - Users Mailing List - Non Commercial Discussions > sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > https://lists.kamailio.org/cgi-bin/

Re: [SR-Users] evapi:message-received and state

2022-11-07 Thread Alex Balashov
. This in effect would require two stages of marshalling. I would rather do it in one place and take the hit on compute-heavy inspection of the JSON payload twice, especially since it’s wrapped behind the convenience of libjansson. Thank you for the insights! — Alex — Sent from mobile, apologies

Re: [SR-Users] evapi:message-received and state

2022-11-07 Thread Alex Balashov
r(...), otherwise you can > propagate it to other process via mqueue (+rtimer). Using htable with a > key based on transaction ids should be fine as well, at the end htable > is designed as a fast key/value in-memory storage. > > Cheers, > Daniel > >> On 07.11.22 05:36, Al

[SR-Users] evapi:message-received and state

2022-11-06 Thread Alex Balashov
persist, of course, since the route is scoped outside of the transaction. I have been using htable to pass data into the transaction, keyed by the index and label. But, this strikes me as a kind of clumsy memory synchronisation anti-pattern. Is there a better way? Cheers, — Alex -- Alex

Re: [SR-Users] Serial Forking on BYE message

2022-11-05 Thread Alex Balashov
Hi Ilie, You’re asking more of a proxy than it can do. :-) After a call is established, the initial INVITE transaction is over and the destinations are fixed. That initial INVITE transaction is the only point at which the proxy can do any kind of forking. — Alex > On Nov 4, 2022, at 8:42

Re: [SR-Users] Appending new branches via external means

2022-11-01 Thread Alex Balashov
nsaction for which to add > new branches? > > Cheers, > Daniel > >> On 01.11.22 00:44, Alex Balashov wrote: >> And indeed, ts_append_to() almost does what I want, but it still requires >> that I launder my contacts through a registrar ‘domain’. >> &g

Re: [SR-Users] Appending new branches via external means

2022-11-01 Thread Alex Balashov
https://skalatan.de/blog/ > Kamailio services – https://gilawa.com > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Tuesday, November 1, 2022 12:48 AM > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] Appending new

Re: [SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
OpenSIPS seems to have captured well the spirit of this functionality, BTW: https://opensips.org/html/docs/modules/2.3.x/tm.html#t_inject_branches — Alex > On Oct 31, 2022, at 7:44 PM, Alex Balashov wrote: > > And indeed, ts_append_to() almost does what I want, but it still requires

Re: [SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
And indeed, ts_append_to() almost does what I want, but it still requires that I launder my contacts through a registrar ‘domain’. Is there any way to go around this requirement? It seems awfully silly to set up a stub/shadow registrar when I am not a registrar. — Alex > On Oct 31, 2

[SR-Users] Appending new branches via external means

2022-10-31 Thread Alex Balashov
to accomplish this? Cheers, — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio - Users Mailing List - Non

Re: [SR-Users] Kamailio sending response to source IP and port from Via ?

2022-10-27 Thread Alex Balashov
That’s controlled by this function. :-) https://www.kamailio.org/wiki/cookbooks/5.4.x/core#force_rport1 And its cousin, the global parameter (on the same docs page): https://www.kamailio.org/wiki/cookbooks/5.4.x/core#force_rport — Alex > On Oct 27, 2022, at 12:54 PM, Chaigneau, Nico

Re: [SR-Users] Kamailio sending response to source IP and port from Via ?

2022-10-27 Thread Alex Balashov
Ni Nicolas, This behaviour is regulated by: https://www.kamailio.org/wikidocs/cookbooks/5.6.x/core/#reply_to_via — Alex > On Oct 27, 2022, at 12:33 PM, Chaigneau, Nicolas > wrote: > > Hello, > > > I’m using Kamailio in stateless mode to send redirect resp

Re: [SR-Users] Create new listener on the fly

2022-10-25 Thread Alex Balashov
creation and destruction of listeners, or the additional child processes they beget. The child processes need to be forked on startup, before their heap is laden with runtime baggage. All this is relatively expensive to initialise. — Alex > On Oct 25, 2022, at 4:14 PM, H Yavari wr

Re: [SR-Users] Create new listener on the fly

2022-10-25 Thread Alex Balashov
Hi, Unfortunately, for a variety of architectural reasons, this is not practical. — Alex > On Oct 25, 2022, at 12:43 PM, H Yavari wrote: > > Hi Kamailio community, > > > I am running an IPsec server beside Kamailio, so I am interested to know if > there is any m

[SR-Users] tsilo usage more generally

2022-10-13 Thread Alex Balashov
een resolved to a contact binding elsewhere, so there are no lookup() calls. How should this play into the http_async_client workflow? Appreciate any help! — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.

Re: [SR-Users] tsilo logging

2022-10-13 Thread Alex Balashov
Certainly! If you can make that happen due to your greater familiarity with the module (as the author), my gratitude would know no bounds. :-) > On Oct 13, 2022, at 8:10 AM, Federico Cabiddu > wrote: > > Hi Alex, > you're right, that's not a pleasant experience. > Be

Re: [SR-Users] tsilo logging

2022-10-13 Thread Alex Balashov
If you’re asking if ts_append() has a documented return value, it does not. A function to count transactions stored for a given seems like a logical need. Then, one could do something like: if(ts_trans_count(“location”, “$tu”) > 0) ts_append(“location”, “$tu”); — Alex > On

[SR-Users] tsilo logging

2022-10-13 Thread Alex Balashov
messages this way? Would a patch to fix be welcome? — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio

Re: [SR-Users] suppress t1 timer retransmissions?

2022-10-10 Thread Alex Balashov
t; email: bbrid...@call48.com | web: www.call48.com > > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Monday, October 10, 2022 14:43 > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] suppress t1 timer retra

Re: [SR-Users] suppress t1 timer retransmissions?

2022-10-10 Thread Alex Balashov
Might this be what you’re after? https://kamailio.org/docs/modules/5.6.x/modules/tm.html#tm.f.t_send_reply — Alex > On Oct 10, 2022, at 5:37 PM, Brooks Bridges wrote: > > So I have a very odd situation that requires me to suppress retransmissions > when using t_reply() to sen

Re: [SR-Users] http_async_client "route_name" is what type of route?

2022-09-29 Thread Alex Balashov
was to use regular request routes with the regular blocking HTTP client, suspended/resumed over mqueue + rtimer. — Alex > On Sep 29, 2022, at 5:56 PM, Brooks Bridges wrote: > > I'm also running into issue with append_branch working correctly inside the > http_async event route,

Re: [SR-Users] http_async_client "route_name" is what type of route?

2022-09-29 Thread Alex Balashov
end option, thanks! > > Brooks Bridges > 1200 S. Rogers Circle, Unit 6 > Boca Raton, FL 33487 > Office: 916-235-2097 Main: 888-444- > email: bbrid...@call48.com | web: www.call48.com > > > -Original Message- > From: sr-users On Behalf Of Alex >

Re: [SR-Users] http_async_client "route_name" is what type of route?

2022-09-29 Thread Alex Balashov
It’s a module-specific event route. Are you using $http_req(suspend)? If so, try — and it’s a long shot, but try it: route[HTTP_REPLY] { … route(ANOTHER_ROUTE); } Are the functions you want available inside route[ANOTHER_ROUTE]? — Alex > On Sep 29, 2022, at 4:46 PM, Bro

Re: [SR-Users] Interactions of dmq_usrloc and usrloc w/db_mode > 0

2022-09-27 Thread Alex Balashov
Hi, No, there is no such replication; one node is the single source of truth for the DB, and the other nodes use db_mode 0. But still, some in-memory contacts are missing from the DB. I can’t really say if it’s a lot or a little; there are too many to spot-check. — Alex — Sent from mobile

Re: [SR-Users] Interactions of dmq_usrloc and usrloc w/db_mode > 0

2022-09-26 Thread Alex Balashov
ut it really depends on timings of the > clusters. > > But I'm really interested in the answer, too :) > > -- Matteo > > > On Mon, Sep 26, 2022 at 4:07 PM Alex Balashov > wrote: > Hi, > > Are there any known contraindications for replicating contacts using &g

[SR-Users] Interactions of dmq_usrloc and usrloc w/db_mode > 0

2022-09-26 Thread Alex Balashov
-free” vis-a-vis DMQ, it’s worth a shot? — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ __ Kamailio - Users Mailing

Re: [SR-Users] app_python3 crash woes

2022-09-22 Thread Alex Balashov
Another question: do we know if the handler function can be async/support coroutines internally? — Alex > On Sep 22, 2022, at 7:20 AM, Henning Westerholt wrote: > > Hi Alex, > > It probably makes sense to analyse this further in an issue report, with some > more detai

[SR-Users] app_python3 crash woes

2022-09-22 Thread Alex Balashov
() Is there a reasonable way to try to prevent this type of mid-air explosion? — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com

Re: [SR-Users] Log levels severely impacts performance

2022-09-15 Thread Alex Balashov
/dev/sda`[1]? What about monitoring background I/O demand, i.e. `iostat -x 1`? Look at the %util on the drive being written to. I know you said your log isn’t being written to the local disk, but other storage activity could still be pushing up your I/O base load. — Alex [1] Replace `/dev/sd

Re: [SR-Users] Log levels severely impacts performance

2022-09-15 Thread Alex Balashov
was abnormally slow for other reasons, such as other heavy demand on storage, or just intrinsically slow. — Alex > On Sep 15, 2022, at 5:18 PM, Henning Westerholt wrote: > > Hello, > > Kamailio is using the system interface for syslog, this is also a code which > is quite stable and

Re: [SR-Users] ndb_redis value substitution or escaping spaces

2022-09-15 Thread Alex Balashov
t; -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Thursday, September 15, 2022 09:39 > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] ndb_redis value substitution or escaping spaces > > base64 is a pretty trivial algorit

Re: [SR-Users] ndb_redis value substitution or escaping spaces

2022-09-15 Thread Alex Balashov
Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Thursday, September 15, 2022 09:11 > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] ndb_redis value substitution or escaping spaces > > A common approach to avoid delimiter issues in general is

Re: [SR-Users] ndb_redis value substitution or escaping spaces

2022-09-15 Thread Alex Balashov
ply only to the > sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

Re: [SR-Users] evapi_async_relay() and workers

2022-09-14 Thread Alex Balashov
evapi workers. (iirc > :-) ) > > Cheers, > Daniel > > On 14.09.22 13:58, Alex Balashov wrote: >> Hi, >> >> When a transaction suspended by evapi_async_relay() is resumed, in which >> child processes is it resumed? Is it in the dedicated “EVAPI RELAY” workers &g

[SR-Users] evapi_async_relay() and workers

2022-09-14 Thread Alex Balashov
for the worker pool for maximal throughput. It sounds, at first glance, like it should be roughly similar to the sizing considerations for listener children. Thoughts welcome! Cheers, — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web

Re: [SR-Users] HTTP client and HTTP/2 support

2022-08-31 Thread Alex Balashov
at’s what we have calls out to other languages, e.g. Python, for. Just thought I would check for the lower-hanging fruit first. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evarist

[SR-Users] HTTP client and HTTP/2 support

2022-08-30 Thread Alex Balashov
Hi, I wasn’t able to find an answer on the list previously, nor any trail of breadcrumbs in the docs: do any of the existing HTTP client modules support HTTP/2? — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http

Re: [SR-Users] Websockets Configuration

2022-08-29 Thread Alex Balashov
Hi, I think these will be useful to you: https://github.com/kamailio/kamailio/tree/master/misc/examples/webrtc — Alex > On Aug 29, 2022, at 9:04 AM, Mahmood Alkhalil > wrote: > > Hi, > > I'm trying to configure kamailio to register users over websockets, but i am >

Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-26 Thread Alex Balashov
or whatever, there are various ways to make such operations asynchronous — that is, to send them to be performed by a separate pool of worker processes unrelated to the main SIP message worker processes. — Alex > On Aug 26, 2022, at 10:20 AM, Lewis Hutchinson > wrote: > > Thanks Alex

Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)

2022-08-25 Thread Alex Balashov
Hi, While you have not said much about how your BYEs are processed, I would speculate that the operation in your config script does not consist purely of relaying these on the network, but also some sort of blocking database operation that is delaying execution of the config script. — Alex

Re: [SR-Users] remove header from reply?

2022-08-19 Thread Alex Balashov
Huh! Looks like we both learned something. :-) — Sent from mobile, with due apologies for brevity and errors. > On Aug 19, 2022, at 2:39 AM, Brett Nemeroff > wrote: > >  > Hey Alex, > I solved this, but I'm including my troubleshooting for the archives. > > It is

Re: [SR-Users] remove header from reply?

2022-08-18 Thread Alex Balashov
branch should leak into it. — Alex > On Aug 19, 2022, at 12:26 AM, Brett Nemeroff > wrote: > > Hello, > I'm receiving calls which I forward to a server I KNOW will reply with a 302. > When I get that 302, I parse some information and then t_reply(302) the > originator. T

Re: [SR-Users] Processing Async HTTP Requests in Real-time

2022-08-18 Thread Alex Balashov
.x/modules/tmx.html#tmx.f.t_suspend https://kamailio.org/docs/modules/5.6.x/modules/tmx.html#tmx.f.t_continue As you can surmise, t_suspend() also halts execution of the current cycle of message processing, and any further action on the message is done in the ‘continued’ route. — Alex > On

Re: [SR-Users] Processing Async HTTP Requests in Real-time

2022-08-18 Thread Alex Balashov
pattern for passing relatively more sophisticated, nonscalar data sets, or bits of state, into the other side of the async HTTP reply is to store some kind of payload in `htable`, keyed by `$http_req_id`. — Alex > On Aug 18, 2022, at 5:50 PM, Brett Nemeroff > wrote: > > Hello K

Re: [SR-Users] Processing Async HTTP Requests in Real-time

2022-08-18 Thread Alex Balashov
> On Aug 18, 2022, at 5:50 PM, Brett Nemeroff > wrote: > > When I get to the end of the HTTP_REPLY block, I'm EXPECTING it to RESUME > FROM the suspended location from the original route block, which it does NOT > seem to do. Is that expected? No, alas, that’s not going t

Re: [SR-Users] packets exceeding MTU size

2022-08-18 Thread Alex Balashov
> On Aug 18, 2022, at 7:33 AM, Greg Troxel wrote: > > > Alex Balashov writes: > >> In principle, that’s right. Practically, this depends on the behaviour >> of various intermediaries. I have seen both behaviours. In the >> scenarios I have troubleshot,

Re: [SR-Users] packets exceeding MTU size

2022-08-18 Thread Alex Balashov
be logged. — Alex > On Aug 18, 2022, at 4:20 AM, Ali Taher wrote: > > Hello all, > > Lately I faced an issue that Kamailio is not responding to some invite > packets coming from SBC. When investigating I found that these packets > exceeds MTU size. > Could th

Re: [SR-Users] Change reply code reason other than using change_reply_status

2022-08-12 Thread Alex Balashov
Depending on what you’re trying to accomplish, you could intercept the negative reply (if a negative reply is what you’re trying to change) in a failure_route and use send_reply() to send back an entirely different reply to the caller, functionally altering the status/reason. — Alex > On

Re: [SR-Users] Contact header modification - Kamailio

2022-08-03 Thread Alex Balashov
ead of, > Contact: > > > On Tue, Aug 2, 2022 at 12:56 PM Alex Balashov > wrote: > The suggestion given by Henning was to remove the existing Contact header, > and replace it with whatever value you like. > > > On Aug 2, 2022, at 1:12 AM, Ankit Jayswal wrote: >

Re: [SR-Users] Contact header modification - Kamailio

2022-08-02 Thread Alex Balashov
ion that can replace the contact header's value. > Please help me with this. > > > > -- > > Thanks & Regards, > Ankit Jayswal | Specialist - Software Development > > __ > Kamailio -

Re: [SR-Users] Contact header modification - Kamailio

2022-08-01 Thread Alex Balashov
> Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/li

Re: [SR-Users] dialog timeout_avp no longer works?

2022-07-17 Thread Alex Balashov
However, I don’t think that has any bearing on the functionality of the timeout facility. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ _

[SR-Users] dialog timeout_avp no longer works?

2022-07-17 Thread Alex Balashov
sion. Last version I have on which this positively works is 4.4.7, though, so not sure when it might have broken. One nuance: $avp(dlg_timeout) is not initialised prior to calling dlg_manage(), and the value is only set if certain conditions are true. Not sure if some stricter check appeared in lat

Re: [SR-Users] Multiple rtpengine servers

2022-07-07 Thread Alex Balashov
rg/docs/modules/5.6.x/modules/rtpengine.html#rtpengine.p.aggressive_redetection https://kamailio.org/docs/modules/5.6.x/modules/rtpengine.html#rtpengine.p.rtpengine_tout_ms https://kamailio.org/docs/modules/5.6.x/modules/rtpengine.html#rtpengine.p.rtpengine_retr — Alex -- Alex Balashov | Principal |

Re: [SR-Users] branch_route not called on DNS failover

2022-07-06 Thread Alex Balashov
> On Jul 5, 2022, at 7:44 AM, Daniel-Constantin Mierla > wrote: > > As you could notice, in the branch route the r-uri has the domain in its > value, the dns is done later, when about to send to the network. Ahhh. This is insightful. Thank you for clarifying this behav

Re: [SR-Users] Changing the From User in Failure Route

2022-07-05 Thread Alex Balashov
If you think about the logic of capriciously changing the From user in just a reply, in a way that doesn’t match the From user in the request which formed the transaction and/or dialog, there… isn’t any. :-) — Sent from mobile, with due apologies for brevity and errors. > On Jul 5, 2022, at

Re: [SR-Users] branch_route not called on DNS failover

2022-07-01 Thread Alex Balashov
> On Jul 1, 2022, at 10:23 AM, Patrick Karton wrote: > > do i need again to set branch_route in failure_route ? > Short answer: yes. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesy

Re: [SR-Users] Install Kamailio in captive network

2022-06-29 Thread Alex Balashov
chains which an Internet-connected package manager normally takes care of for you without much involvement on your part. — Alex > On Jun 29, 2022, at 9:03 AM, Rahul mm wrote: > > Hello guys, > > Ab initio, I'm loving Kamailio and the endless horizons it opens-up. > Is

Re: [SR-Users] Forward reply in onreply_route

2022-06-28 Thread Alex Balashov
> On Jun 28, 2022, at 10:06 AM, Olle E. Johansson wrote: > > I don’t know how to do it that way, but I would add stuff to mqueue and > process it asynchronously in the background. +1 — I think this is the way to go. Just push the workload off to some other async routine. -- A

Re: [SR-Users] Callback for TM´s "fr_inv_timer" ?

2022-06-14 Thread Alex Balashov
#tm.f.t_branch_timeout — Alex > On Jun 14, 2022, at 1:31 PM, Antonio Couto wrote: > > There some way to set a callback route for TM´s "fr_inv_timer" ? > I want to receive this callback when its fires and before Kamailio send 408 > Request Timeout to the caller ? > > I tryed

Re: [SR-Users] Hangup a call after a certain time from 183

2022-06-13 Thread Alex Balashov
. -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http

Re: [SR-Users] issue using phonenum module

2022-06-13 Thread Alex Balashov
My best guess is that `libphonenumber` just isn't perfect ... :-) -- Alex On Mon, Jun 13, 2022 at 9:49 AM David Escartín wrote: > Hello all > > we are using the phonenum_match_cn function to detect valid phone numbers, > but seems there are some numbers like 576015145834 which are

<    1   2   3   4   5   6   7   8   9   10   >