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

2022-09-26 Thread Alex Balashov
eally 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 usin

[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 details

[SR-Users] app_python3 crash woes

2022-09-22 Thread Alex Balashov
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
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
! > > -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 trivi

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:11 > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] ndb_redis value substitution or escaping spaces > > A common approach to avoid delimiter

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

2022-09-15 Thread Alex Balashov
ents, do not reply 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.c

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

2022-09-14 Thread Alex Balashov
rkers. (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
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
y; that’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.ev

[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-30 Thread Alex Balashov
the message to the event_route exposed by xhttp. In general, the HTTP handling inside Kamailio mostly makes use of the existing SIP parser, since there two protocols are grammatically similar. — Alex > On Aug 30, 2022, at 3:38 AM, Mahmood Alkhalil > wrote: > > Hi Alex, > &

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
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. > >

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 > originat

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 go

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, rec

Re: [SR-Users] packets exceeding MTU size

2022-08-18 Thread Alex Balashov
> On Aug 18, 2022, at 7:15 AM, Greg Troxel wrote: > > > Alex Balashov writes: > >> Hi Ali, >> >> Kamailio reassembles fragmented UDP just fine. > > Do you really mean that, or "operating systems reassemble fragmented UDP > packets and

Re: [SR-Users] packets exceeding MTU size

2022-08-18 Thread Alex Balashov
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 this be 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 > > __ > Kamai

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/mailm

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-16 Thread Alex Balashov
n. 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-05 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 10:

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. >

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 whic

Re: [SR-Users] Use of interface name or listening socket name as DMQ server_socket

2022-06-10 Thread Alex Balashov
I don’t think the interface name aliases were intended to be usable in every single scenario where any network socket, used by any module, needs to be specified. If they were, that would make some far-reaching implementational demands beyond DMQ. But I do agree it would be nice if things work

Re: [SR-Users] Accept IP/Domain Register

2022-05-10 Thread Alex Balashov
gt; with kamailio using Kamailio IP or Kamailio associated Domains; this using > digest authentication. > > Regards > > --- > I'm SoCIaL, MayBe > >> El 10/05/2022 a las 12:26 p. m., Alex Balashov escribió: >> Yes. There is no rule that you have to issue a dig

Re: [SR-Users] Accept IP/Domain Register

2022-05-10 Thread Alex Balashov
Yes. There is no rule that you have to issue a digest authentication challenge in response to registrations. You can handle them like any other request, including validating the source IP against an IP ACL (e.g. allow_trusted(), or hard-coded like if(src_ip == 1.2.3.4)). — Alex — Sent from

Re: [SR-Users] Kamailio functionality clarification - call forwarding no replay (call is ringing but not answered)

2022-04-28 Thread Alex Balashov
Hi Pavel, Yes, this is quite possible with Kamailio. I would go so far as to say it is a routine use. — Alex > My questions: > - is it possible to CANCEL just specific branch of parallel forked calls? > - is it possible start timer just for specific branch? > - do you think is

Re: [SR-Users] Htable reload

2022-04-07 Thread Alex Balashov
- 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/listinfo/sr-users -

Re: [SR-Users] Kamailio as a SBC

2022-04-05 Thread Alex Balashov
Yes and no. Have a read: http://www.evaristesys.com/blog/kamailio-as-an-sbc-five-years-on/ — Sent from mobile, with due apologies for brevity and errors. > On Apr 5, 2022, at 2:10 AM, Nileshwar Goswami > wrote: > >  > Hi There, > > I'm looking out for an SBC and came across your platform. >

Re: [SR-Users] DMQ version compatability

2022-03-18 Thread Alex Balashov
It sounds like this is a broad-based principle about DMQ compatibility that is generalised beyond any specific module. Are you looking for an alternate set of rules that specially apply to only one module and not to any other module, or are you looking for a “de facto” exception that cannot be e

Re: [SR-Users] clean an easy way to get sip uri of contact header

2022-03-14 Thread Alex Balashov
Won’t $ct vs $hdr(Contact) address that? — Sent from mobile, with due apologies for brevity and errors. > On Mar 14, 2022, at 8:51 PM, Patrick Karton wrote: > >  > hello, > > i want a generic way to get the sip uri in contact header. > > for example if > > Contact: Sipp ;tid=700 > > i wan

Re: [SR-Users] Any clever ways to strip down a user portion of an RURI?

2022-03-12 Thread Alex Balashov
quot;, "$rU"); > > $xavp(u) = $null; Confirmed it works! Brilliant; definitely much better than my solution. Thank you for that. Will it work with $xavus too? -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-

Re: [SR-Users] Any clever ways to strip down a user portion of an RURI?

2022-03-10 Thread Alex Balashov
= $var(i) + 1; } $rU = $var(new_ru); -- For a test RURI value of: sip:14045551212;npdi;moo;rn=14045550...@sip.evaristesys.com This yields: sip:14045551212;moo;rn=14045550...@sip.evaristesys.com More parameters to strip out can just be added to the ’switch’ statem

Re: [SR-Users] SQLOPS sql_query_async() not functioning in an async manner?

2022-02-22 Thread Alex Balashov
Is there a difference in how it behaves when: a) A database that was previously reachable becomes unreachable or unresponsive? vs. b) A db_url that is not reachable in principle? — Alex > On Feb 22, 2022, at 7:11 PM, Ben Kaufman wrote: > > I’m not sure if this is by design or not

Re: [SR-Users] [sr-dev] Info: sipexer v1.0.0 - sip cli tool

2022-02-14 Thread Alex Balashov
e to register and wait for calls, so another > sipexer instance can be used for register and initiate calls. > > Writing the sip traffic in a pcap file is something that I would like to > add as well. > > Cheers, > Daniel > >> On 14.02.22 19:27, Alex Balashov wrote:

Re: [SR-Users] [sr-dev] Info: sipexer v1.0.0 - sip cli tool

2022-02-14 Thread Alex Balashov
! Thank you so much for this work! — Alex > On Feb 14, 2022, at 1:23 PM, Juha Heinanen wrote: > > Daniel-Constantin Mierla writes: > >> WebSocket (for WebRTC) >> * send SIP requests of any type (e.g., INFO, SUBSCRIBE, NOTIFY, …) >> >> One usage example tha

Re: [SR-Users] Kamailio doc request

2022-02-10 Thread Alex Balashov
the recipients, do not reply 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:/

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-10 Thread Alex Balashov
Come to think of it, I imagine the license has language saying that it cannot be superseded in part or in whole by any contradictory agreement. — Sent from mobile, with due apologies for brevity and errors. > On Feb 10, 2022, at 5:42 AM, Alex Balashov wrote: > > Is it legally possi

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-10 Thread Alex Balashov
rvice to which Kamailio > > interfaced using very narrowly confined and general-purpose communication > > channels? > > I do not think there is a problem regarding to the GPL in this case. > Interfacing over SIP/HTTP/RPC/XMLRPC or other standard mechanism to a > dedicated pro

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-09 Thread Alex Balashov
ing very narrowly confined and general-purpose communication channels? — 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] SEMS license with kamailio and rtpengine

2022-02-09 Thread Alex Balashov
stitutes combining two parts into one program? This is a legal question, which ultimately judges will decide.” :-) — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesy

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-09 Thread Alex Balashov
l, that’s just it; what’s the standard of “closely” being appealed to here, in technical terms? I assume the licence leaves it sufficiently vague that any given case would need to be judicially tested, but perhaps there is ample prior experience with architectures substantially similar to Ka

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-09 Thread Alex Balashov
strongly that this is generally the wrong way to do things, born first and foremost of a kind of grandiose delusion of “unique” requirements or top-secret formulas. :-) — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Alex Balashov
ote: > >  > >> 8 feb. 2022 kl. 17:51 skrev Alex Balashov : >> >> You do not need to purchase a licence to incorporate SEMS into a service >> platform to sell telephony to customers. You may not, however, sell SEMS per >> se. >> > That’s wrong. You may sell GP

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Alex Balashov
t; > On 08.02.22 21:36, Patrick Karton wrote: >> Thanks again Alex :). I will make further read about FOSS licensing. >> >> Using open source at large scale is relatively new for us. >> >> We have Law department so WE will discuss in more details about it. >> &

Re: [SR-Users] Failure route with t_relay()

2022-02-08 Thread Alex Balashov
. Accordingly, you will need to call append_branch() yourself prior to t_relay(). — Alex > On Feb 8, 2022, at 12:29 PM, Max Kemel wrote: > > Hey, I am trying to make a re-transmission mechanism from the failure route, > I’ve tried to use $dp and $du as a relay, but variables are not

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Alex Balashov
research it, get familiar with its basic premises, and, of course, consult a lawyer if you have any truly esoteric questions. — Alex > On Feb 8, 2022, at 2:50 PM, Patrick Karton wrote: > > Thanks for explanation Alex. > > Im a service provider. > > Le 8 févr. 2022 20:14, A

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Alex Balashov
software for service providers? > On Feb 8, 2022, at 12:37 PM, Patrick Karton wrote: > > Hi Alex, > > Thank you very much for the response. > > i did not understand your last phrase "You may not, however, sell SEMS per > se". what is per se ? > > a

Re: [SR-Users] SEMS license with kamailio and rtpengine

2022-02-08 Thread Alex Balashov
You do not need to purchase a licence to incorporate SEMS into a service platform to sell telephony to customers. You may not, however, sell SEMS per se. That’s the very, very simple version. — Sent from mobile, with due apologies for brevity and errors. > On Feb 8, 2022, at 11:47 AM, Patrick K

Re: [SR-Users] Use specific expires per User-Agent

2022-01-30 Thread Alex Balashov
‘max_contacts’ parameter. — Alex > On Jan 31, 2022, at 1:15 AM, mayamatakeshi wrote: > > Hi, > I have a requirement to specify a REGISTER max_expires based on the > User-Agent. > I checked the docs and it seems there is no pseudo-variable or something like > that would permit

Re: [SR-Users] Comunication between devices RTP/SRTP and viceversa

2022-01-27 Thread Alex Balashov
amailio.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/listinfo/sr-users -- Alex Balashov | Principal | Evariste Sys

Re: [SR-Users] Does cfgutils usleep block the process?

2022-01-19 Thread Alex Balashov
Yes, it blocks the process. — Sent from mobile, with due apologies for brevity and errors. > On Jan 19, 2022, at 9:15 PM, mayamatakeshi wrote: > >  > Hi, it seems execution of usleep eventually reaches this code: > https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 > so it

Re: [SR-Users] EVAPI workload allocation across processes

2022-01-11 Thread Alex Balashov
t the messages. — Alex > On Jan 11, 2022, at 10:09 AM, Henning Westerholt wrote: > > Hi Alex, > > not the author of this module - but I think you are right after having > briefly looked to the code. The dispatcher process accept(..) the connections > and then pass them to the wo

Re: [SR-Users] Call Preservation Mode in Kamailio

2022-01-09 Thread Alex Balashov
disconnect the proxy server from the network - without interrupting the call… — Alex > On Jan 9, 2022, at 5:48 AM, varun pratapsingh wrote: > > Happy New Year 2022 Everyone. Wish you a lot of innovation this year! > > I was just curious to know if any of us had handled the mid-call fa

Re: [SR-Users] Calling t_relay([host, port]) with variables

2022-01-05 Thread Alex Balashov
uments at all. :-) — Alex > On Jan 5, 2022, at 3:21 AM, Nick J wrote: > > Hi all, > I've been banging my head on the table with this one and hoping someone has > some insight here. > I'm trying to use a variable as the host & port input in t_relay() - >

Re: [SR-Users] Catching Register 200 OK, then using it to validate other packets.

2022-01-03 Thread Alex Balashov
Hi Richard, If I’ve understood your query correctly, flag 0x02 to save() should accomplish what you want: https://kamailio.org/docs/modules/5.5.x/modules/registrar.html#registrar.f.save — Alex > On Jan 4, 2022, at 12:53 AM, Richard Edmands wrote: > > Hey Kamailio Users, > >

[SR-Users] EVAPI workload allocation across processes

2022-01-01 Thread Alex Balashov
rocesses to be started to handle incoming messages from remote applications.” Or maybe it’s not. Just wanted to confirm that my understanding is correct. Thanks! — Alex [1] https://kamailio.org/docs/modules/5.5.x/modules/evapi.html#evapi.p.workers -- Alex Balashov | Principal | Evariste Systems

Re: [SR-Users] Kamailio Stop processing SIP traffic

2021-12-27 Thread Alex Balashov
> On Dec 27, 2021, at 11:54 AM, Ben Kaufman wrote: > > Additionally, reducing the problem to the simplest configuration in which it > can occur is usually an invaluable tool for problem isolation. +100! -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
mobile, with due apologies for brevity and errors. > On Dec 25, 2021, at 1:34 PM, Noah Mehl wrote: > > Just from my understanding, what feature/s does SEMS have that Freeswitch > does not? > > Thanks! > > ~Noah > >> On Dec 25, 2021, at 1:30 PM, Juha Heina

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
>> Just from my understanding, what feature/s does SEMS have that Freeswitch >> does not? >> >> Thanks! >> >> ~Noah >> >>>> On Dec 25, 2021, at 1:30 PM, Juha Heinanen wrote: >>> >>> Alex Balashov writes: >>> &g

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
and I cannot in good conscience recommend it for people who aren’t you, Sipwise or a handful of other shamans verses in its spells. :-) — Sent from mobile, with due apologies for brevity and errors. > On Dec 25, 2021, at 1:30 PM, Juha Heinanen wrote: > > Alex Balashov writes: >

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
I would agree with that. It’s no accident that it’s the back side of a commercial SBC product. :-) — Sent from mobile, with due apologies for brevity and errors. > On Dec 25, 2021, at 1:17 PM, Juha Heinanen wrote: > > I would also like to add that SEMS is MUCH more that a typical SBC. It > i

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
. — Sent from mobile, with due apologies for brevity and errors. > On Dec 25, 2021, at 1:15 PM, Juha Heinanen wrote: > > Alex Balashov writes: > >> I would caution against excessive enthusiasm for this paradigm. The >> open-source/community version of SEMS has been effec

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
performance as an SBC. > With Best Regards. > Mojtaba Esfandiari.S > >> On Sat, Dec 25, 2021, 16:42 Alex Balashov wrote: >> At the risk of self-plugging: >> >> https://youtu.be/j-0C6eHfocI >> >> http://www.evaristesys.com/blog/kamailio-as-an-sbc-fiv

Re: [SR-Users] Features of Kamailio as SBC

2021-12-25 Thread Alex Balashov
At the risk of self-plugging: https://youtu.be/j-0C6eHfocI http://www.evaristesys.com/blog/kamailio-as-an-sbc-five-years-on/ — Sent from mobile, with due apologies for brevity and errors. > On Dec 25, 2021, at 4:49 AM, Nattha Vudhiprasittipol > wrote: > >  > Hello > > I would like to know

Re: [SR-Users] RTP Proxy with Local IP and Public IP

2021-12-13 Thread Alex Balashov
(212) 937-7844 > > __ > 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

Re: [SR-Users] wireshark decode kamailio / rtpengine ng messages

2021-12-08 Thread Alex Balashov
That sounds far too niche for a helper, though, then again, Wireshark has some phenomenally exotic helpers. — Sent from mobile, with due apologies for brevity and errors. > On Dec 8, 2021, at 8:14 AM, Karsten Horsmann wrote: > __ Kamaili

Re: [SR-Users] Manipulation of request-line

2021-12-07 Thread Alex Balashov
That will manipulate the request URI, but not the request line. — Sent from mobile, with due apologies for brevity and errors. > On Dec 7, 2021, at 4:16 PM, Karsten Horsmann wrote: > __ Kamailio - Users Mailing List - Non Commercial Discu

Re: [SR-Users] detecting compact headers?

2021-12-06 Thread Alex Balashov
Are some of the core SIP headers and others not? If they’re pretty consistent, checking for a single one like “i” for Call-ID is a safe bet. — Sent from mobile, with due apologies for brevity and errors. > On Dec 6, 2021, at 12:43 PM, Brooks Bridges wrote: > > We have an internal component of

Re: [SR-Users] Using path with DMQ to send calls to origin SBC - not sure when to modify destination URI

2021-12-01 Thread Alex Balashov
Excellent! Always happy to hear a success story — they usually don’t get reported. > On Dec 1, 2021, at 7:52 AM, Rhys Hanrahan wrote: > > Hi Alex, > > Just wanted to say thanks for your guidance! I tried this out yesterday and > it seems to all be working great. This is w

Re: [SR-Users] Using path with DMQ to send calls to origin SBC - not sure when to modify destination URI

2021-11-29 Thread Alex Balashov
The reasoning for dispensing with received is that it’s just too complicated and adds more moving parts than necessary. :-) — Sent from mobile, with due apologies for brevity and errors. > On Nov 29, 2021, at 8:25 AM, Rhys Hanrahan wrote: > > Thanks Alex! > > I am already d

Re: [SR-Users] Using path with DMQ to send calls to origin SBC - not sure when to modify destination URI

2021-11-29 Thread Alex Balashov
()) sl_reply_error(); } else { sl_send_reply(“403”, “Forbidden”); } } } 7) Handle any RTP anchoring on the ingress proxy (the one the call came in on) as opposed to the last-hop/home registrar. Hope that helps! — Alex > On Nov 29, 2021, at 4

Re: [SR-Users] + character in send_reply causes truncation of reply message?

2021-11-18 Thread Alex Balashov
Ah, hit "Send" a little too soon! *(reserved / unreserved / escaped / UTF8-NONASCII / UTF8-CONT / SP / HTAB) ‘+' is one of the ‘reserved’ class. As far as I know, that means ‘+’ is valid and can appear there and should not cause any adverse effects. — Alex > On Nov 18,

Re: [SR-Users] + character in send_reply causes truncation of reply message?

2021-11-18 Thread Alex Balashov
gt; 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/listinfo/s

Re: [SR-Users] Experiences with Kamailio on Debian 11 Bullseye

2021-11-17 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 opti

Re: [SR-Users] xavp functionnality in htable

2021-11-15 Thread Alex Balashov
No, but you could easily store nonscalar values like JSON blobs and deserialise them with the help of the jansson module, and iterate through array values. — Sent from mobile, with due apologies for brevity and errors. > On Nov 15, 2021, at 2:42 PM, Patrick Karton wrote: > >  > hello, > > do

Re: [SR-Users] STIR/SHAKEN, is a number format mandatory?

2021-11-03 Thread Alex Balashov
tps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Impor

Re: [SR-Users] STIR/SHAKEN, is a number format mandatory?

2021-11-03 Thread Alex Balashov
.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/listinfo/sr-users -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-

Re: [SR-Users] t_relay changing source IP?

2021-10-25 Thread Alex Balashov
source IP? > > Correct. > > listen=lo:5060 > listen=eth0:5060 > listen=eth1:5060 > listen=XXX.XXX.XXX.XXX:5060 (<--- HA IP) > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Monday, October 25, 2021 3:35 PM > To: Kamailio

Re: [SR-Users] t_relay changing source IP?

2021-10-25 Thread Alex Balashov
o:5060 > listen=eth0:5060 > listen=eth1:5060 > listen=XXX.XXX.XXX.XXX:5060 (<--- HA IP) > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Monday, October 25, 2021 3:35 PM > To: Kamailio (SER) - Users Mailing List > Subject: R

Re: [SR-Users] t_relay changing source IP?

2021-10-25 Thread Alex Balashov
inception and this has just recently become an > issue. > > -Original Message- > From: sr-users On Behalf Of Alex > Balashov > Sent: Monday, October 25, 2021 3:19 PM > To: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] t_relay changing sou

Re: [SR-Users] t_relay changing source IP?

2021-10-25 Thread Alex Balashov
t; system. > > __ > 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

Re: [SR-Users] Need kamailio to use advertise public IP only in cases of SIP communication over internet.

2021-10-05 Thread Alex Balashov
It seems to me you should look at the “advertise” parameter to the core “listen” directive: https://www.kamailio.org/wiki/cookbooks/5.5.x/core?s%5B%5D=advertise#listen — Sent from mobile, with due apologies for brevity and errors. > On Oct 5, 2021, at 1:20 PM, Voip support wrote: > >  > Dear

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