[SR-Users] Re: lookup() and database

2023-10-20 Thread Alex Balashov via sr-users
here for nonrelational DBs that can be coerced into acting like RDBMs, e.g. `db_redis`, but that's really in the weeds. -- Alex > On 20 Oct 2023, at 11:41, Alex Balashov wrote: > > >> On 20 Oct 2023, at 11:34, Jawaid Bazyar wrote: >> >> Would a DMQ c

[SR-Users] Re: lookup() and database

2023-10-20 Thread Alex Balashov via sr-users
s room for lively debate about whether is the correct framing of what a SIP location service does. -- Alex [1] https://en.wikipedia.org/wiki/Database-as-IPC [2] https://stackoverflow.com/questions/3815941/database-as-ipc-antipattern -- Alex Balashov Principal Consultant Evariste Systems LL

[SR-Users] Re: lookup() and database

2023-10-20 Thread Alex Balashov via sr-users
> On 20 Oct 2023, at 09:17, Jawaid Bazyar wrote: > > Hi Alex, > > Well I guess the other effects if any are unclear. > > As to what I want.. > > The goal is to ensure that all the nodes in a large-scale > geographically-distributed system have routing inform

[SR-Users] Re: lookup() and database

2023-10-19 Thread Alex Balashov via sr-users
If what you want is what you really want, db_mode 3 is the only way to achieve it. What other effects of mode 3 are you concerned about? -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800

[SR-Users] Re: STIR/SHAKEN with Kamailio

2023-10-19 Thread Alex Balashov via sr-users
Would join Kaufman here to say that free-range STIR/SHAKEN implementations in the US are limited by the small number of certified authentication providers, but presumably the EU version will to some extent avoid US-style Guilded Age corporate welfare... -- Alex > On 19 Oct 2023, at 09:33,

[SR-Users] Re: 183 Session Progress Acknowledgment

2023-10-14 Thread Alex Balashov via sr-users
Hi Ali, > On 14 Oct 2023, at 10:11, Ali Taher wrote: > > That means that kamailio should forward the 183 session progress received > from UAS as it to the UAC, which in their turn must send PRACK and kamailio > forwards it back to UAS? Yes, that's right. -- Alex -- Alex Bal

[SR-Users] Re: 183 Session Progress Acknowledgment

2023-10-13 Thread Alex Balashov via sr-users
proxy? > Regards, > __ > 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! > Edit mailing list options or uns

[SR-Users] Re: Using DMQ to sync the TM module.

2023-10-11 Thread Alex Balashov via sr-users
features. A more stateless, fault-tolerant design is, by comparison, a significantly lower engineering lift in most cases where replicating TM would be useful. -- Alex > On 11 Oct 2023, at 09:47, Michel Pelletier via sr-users > wrote: > > Hi, > > I agree. But t

[SR-Users] Re: Using DMQ to sync the TM module.

2023-10-10 Thread Alex Balashov via sr-users
mple will prove very useful. > Cheers, > > Michel Pelletier > > > On Tue, Oct 10, 2023 at 11:58 AM Alex Balashov via sr-users > wrote: > But I should add: do you actually need state? All replies can be routed back > based on the content of SIP headers alone -- that i

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Alex Balashov via sr-users
; 10 Oct 2023 19:24:55 Alex Balashov via sr-users > : > >> I would reiterate that in doing this, you may be boxing yourself into only >> supporting Q-value and $du as parameters, more or less. >> >> If that fits your design parameters, cool. However, if additional fut

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Alex Balashov via sr-users
more work up front, but will pay dividends if you decide you need another attribute, and then another, and another... -- Alex > On 10 Oct 2023, at 13:47, Barry Flanagan via sr-users > wrote: > > 10 Oct 2023 18:12:10 Ben Kaufman via sr-users : > >> Probably better to use

[SR-Users] Re: Using DMQ to sync the TM module.

2023-10-10 Thread Alex Balashov via sr-users
But I should add: do you actually need state? All replies can be routed back based on the content of SIP headers alone -- that is to say, statelessly. Most simple load balancers remain stateless for this very reason. > On 10 Oct 2023, at 13:09, Alex Balashov wr

[SR-Users] Re: Using DMQ to sync the TM module.

2023-10-10 Thread Alex Balashov via sr-users
gt; > Cheers, > > Michel Pelletier > __ > 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! > Edit ma

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Alex Balashov via sr-users
ru like ';nexthop=XXX.XXX.XXX.XXX:' and then extract that in my > failure route. This is good if $du is the _only_ branch-specific attribute you need to change besides R-URI, but would be poor solution if you need support for arbitrary, shifting parameters. Most call routing systems eventually

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Alex Balashov via sr-users
chments unless you recognize the sender and know the > content is safe. > > > On Fri, 6 Oct 2023, at 18:55, Alex Balashov via sr-users wrote: >>> On 6 Oct 2023, at 10:39, Barry Flanagan via sr-users >>> wrote: >>> >>> On 06/10/2023 15:23, Alex Balashov via

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-10 Thread Alex Balashov via sr-users
> On 10 Oct 2023, at 06:15, Barry Flanagan wrote: > > On Fri, 6 Oct 2023, at 18:55, Alex Balashov via sr-users wrote: >> >> Ah. Then the easiest approach is probably to buffer them into an XAVP >> array and just iterate through them. R-URI can be one a

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-06 Thread Alex Balashov via sr-users
> On 6 Oct 2023, at 10:39, Barry Flanagan via sr-users > wrote: > > On 06/10/2023 15:23, Alex Balashov via sr-users wrote: >> Hello, >> >> If you can't key by R-URI, perhaps then just store a list of routes in a >> database table or similar? > >

[SR-Users] Re: Serial Forking with differing next hop for each branch?

2023-10-06 Thread Alex Balashov via sr-users
t; __ > 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

[SR-Users] Re: CANCEL first, then INVITE.

2023-09-26 Thread Alex Balashov via sr-users
Hi James, The difference you are describing is between serial and parallel forking. You clearly want the former. There are a variety of ways to achieve that, and the answer will depend on the code path taken to route to your voicemail server. -- Alex > On Sep 26, 2023, at 5:50 PM, Ja

[SR-Users] Re: RTPengine use single port for all calls

2023-09-26 Thread Alex Balashov via sr-users
ffered SDP for > RTPengine is to receive RTP packets on a single port that is the same for all > other calls, so that on firewalls only one port is to be opened. It is not. RTP is not multiplexed that way. The protocol you're looking for is IAX2. ;) -- Alex -- Alex Balashov Principal Consultan

[SR-Users] Re: Iterating Through Multiple IP Peers for DID Call Termination in Kamailio

2023-09-25 Thread Alex Balashov via sr-users
Rather than using your own delimiter (i.e. comma) and doing tedious string-splitting, you may wish to consider XAVPs for nonscalar/list-style data: https://www.kamailio.org/wikidocs/cookbooks/5.7.x/pseudovariables/#xavpid-xavps -- Alex > On Sep 25, 2023, at 8:09 PM, Shah Hussain Khattak via

[SR-Users] Re: Multi-dimensional data in htable

2023-09-22 Thread Alex Balashov via sr-users
__ > 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! > Edit mailing list options or unsubscribe: -- Alex Balashov Principa

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-22 Thread Alex Balashov via sr-users
So, forgive the silly question, but why do you need to do anything except to engage RTPEngine? Why rewrite any other SIP headers? > On Sep 22, 2023, at 5:11 AM, Markus via sr-users > wrote: > > Hi Alex, > > I'm trying to replace the Asterisk box with an instance of

[SR-Users] Re: Modifying SDP as drop-in replacement for overloaded Asterisk box - looking for help/paid consulting fast

2023-09-21 Thread Alex Balashov
complished in a different and more straightforward way. :-) -- Alex > On Sep 21, 2023, at 8:58 PM, Markus wrote: > > Hi list, > > I'm trying to use Kamailio 4.4.4 with rtpengine in a self-inflicted emergency > situation (didn't monitor traffic growth properly and now encounterin

[SR-Users] Re: How to validate re-invites without challenging them?

2023-09-19 Thread Alex Balashov
I don't think this is the problem you think it is. Let's say endpoint A spoofs a To-tag and a Call-ID. So what? The reinvite goes to endpoint B, which says "I don't recognise that"." Spoofing both would be quite difficult. Nevertheless, if this improbable worry consumes you, you can use

[SR-Users] Re: Set a License for Kamailio

2023-09-14 Thread Alex Balashov
Check out: https://jwt.io/ https://kamailio.org/docs/modules/5.7.x/modules/jwt.html -- Alex > On Sep 13, 2023, at 3:01 AM, Ali Taher wrote: > > Hi Alex, > > Can you please put me on track how to proceed? I'm not familiar with JWT. > > Regards, > > -Origina

[SR-Users] Re: Set a License for Kamailio

2023-09-05 Thread Alex Balashov
nder! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __ Kamailio - Users Mailing List - Non Commercial Discussions To unsu

[SR-Users] Re: How to forward 480

2023-08-29 Thread Alex Balashov
This would actually be the default behaviour if you do not intercept the response in anyway or attempt to manage it. — Sent from mobile, apologies for brevity and errors. > On Aug 29, 2023, at 9:41 AM, Anthony Blandin > wrote: > >  > Hello, > > I have a Kamailio SBC connected to another

[SR-Users] Re: extreme dildoes

2023-08-26 Thread Alex Balashov
Extreme AND large?—Sent from mobile, apologies for brevity and errors.On Aug 26, 2023, at 8:29 PM, Maxim Sobolev wrote: you never know!On Sat, Aug 26, 2023, 7:13 AM Giovanni Maruzzelli wrote:On Sat, Aug 26, 2023 at 1:23 PM Julien Chavanton wrote:Are

[SR-Users] Re: use_dns_failover default value

2023-08-23 Thread Alex Balashov
Agree with what has been said here. DNS is far too unwieldy and unpredictable to leave enabled by default. If you want the wild west of DNS, you should have to consciously opt in. — Sent from mobile, apologies for brevity and errors. > On Aug 23, 2023, at 10:10 AM, Ben Kaufman wrote: > >

[SR-Users] Re: kamailio-postgres on RHEL 9

2023-08-16 Thread Alex Balashov
ribe 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 Consultant Evariste Systems LLC Web: ht

[SR-Users] Re: Check refer-to number

2023-08-14 Thread Alex Balashov
Hello, If I'm not mistaken, Refer-To is a name-address pair, so the best way to access the user part of the URI is: $(hdr(Refer-To){nameaddr.uri}{uri.user}) i.e. if($(hdr(Refer-To){nameaddr.uri}{uri.user}) =~ "^011") -- Alex > On Aug 13, 2023, at 8:57 PM, David Cunning

[SR-Users] Re: Problem connecting to Redis DB using DB_REDIS module with a Password

2023-08-08 Thread Alex Balashov
Hi, It sounds like this parameter is very new, which is why you're finding it in the 'devel' version docs, but not in Kamailio 5.6 or 5.7 -- Alex > On Aug 8, 2023, at 2:57 PM, Nick Digalakis wrote: > > Hello everyone! > > I had a Kamailio 5.6.4 server using the DB_REDIS m

[SR-Users] Re: RTPENGINE - RTP Proxy

2023-07-26 Thread Alex Balashov
section here: https://rtpengine.readthedocs.io/en/latest/rtpengine.html -- Alex > On Jul 26, 2023, at 11:53 AM, Duarte Rocha wrote: > > Hello all, > > I'm currently doing some experiments with RTPENGINE and I need some help > configuring it. > > First scenario i'm under NAT an

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-24 Thread Alex Balashov
expert Kamailio consulting. Good luck! -- Alex [1] https://datatracker.ietf.org/doc/html/rfc3327 [2] https://kamailio.org/docs/modules/5.7.x/modules/path.html [3] https://kamailio.org/docs/modules/5.7.x/modules/nathelper.html [4] https://kamailio.org/docs/modules/5.7.x/modules/rtpengine.html

[SR-Users] Re: Kamailio as SIP proxy for an Asterisk with Private IP Address

2023-07-23 Thread Alex Balashov
do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __ Kamailio - Users Mailing List - Non Comm

[SR-Users] Re: WebRTC proxy with rtpengine - How to change from RTP to SRTP on 488 response

2023-07-18 Thread Alex Balashov
18, 2023, at 11:41 AM, Barry Flanagan wrote: > > On 18/07/2023 16:33, Alex Balashov wrote: >> Barry, >> >> Might it not be simpler to follow Richard's first suggestion in that thread, >> and simply catch the 488 response in a failure_route and re-issue a non-SRTP &g

[SR-Users] Re: WebRTC proxy with rtpengine - How to change from RTP to SRTP on 488 response

2023-07-18 Thread Alex Balashov
Barry, Might it not be simpler to follow Richard's first suggestion in that thread, and simply catch the 488 response in a failure_route and re-issue a non-SRTP offer on another branch? -- Alex > On Jul 18, 2023, at 11:05 AM, Barry Flanagan wrote: > > Hi, > > I have imple

[SR-Users] Re: Need an error description

2023-07-10 Thread Alex Balashov
sions > 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 Consultant Evariste Systems

[SR-Users] Re: Random number

2023-07-07 Thread Alex Balashov
768-123c-3c9b-c276a1266a9e:R-HANDLE_INBOUND_INVITE] SEQUENCE = 80086 -- Alex > On Jul 7, 2023, at 8:21 AM, Ali Taher wrote: > > Hello, > As per Kamailio documentation, $RANDOM returns a random value from the [0 - > 2^31) range. But when testing it it’s always returning a random

[SR-Users] Re: Randomize calling number

2023-07-06 Thread Alex Balashov
just part of the same logical call leg; call leg "A" comes in, and call leg "A" goes back out, with the same Call-ID, CSeq, etc. If you send the INVITE back to the same gateway that originated the request, it will likely reject it since it is literally the same request it itse

[SR-Users] Re: Dialog DMQ state after restart

2023-06-09 Thread Alex Balashov
Henning, If profile membership is synchronised, does that mean it is possible to get a count of dialogs in a given profile on any node? -- Alex > On Jun 9, 2023, at 4:31 AM, Henning Westerholt wrote: > > Hi Alex, > > according to docs only basic dialog (profile) information

[SR-Users] Re: Dialog DMQ state after restart

2023-06-08 Thread Alex Balashov
Henning, Does the dialogs' profile membership get DMQ-synced nowadays, too? -- Alex > On Jun 8, 2023, at 3:53 PM, Henning Westerholt wrote: > > Hello, > are you aware of the DMQ synchronisation for dialog data? It’s not > replicated everything, but certainly a way to

[SR-Users] Re: custom mid registrar using kamailio.

2023-05-31 Thread Alex Balashov
of failures, only some of which are reducible to a negative SIP reply. What you are probably looking for is: https://www.kamailio.org/wikidocs/cookbooks/5.7.x/pseudovariables/#t_rplpv e.g. $sht(mid_reg_token=>$T_rpl($fU)::$T_rpl($si)::$T_rpl($sp)) depending on your exact logic. -- A

[SR-Users] Re: Consistent huntable responses based on failure_route question

2023-05-25 Thread Alex Balashov
timeout response 408) doesn't know what the right hand (your stateless replies beforehand) are doing, and the stateless replies do not mutate the state of the transaction so that an automatic 408 is no longer possible. -- Alex > On May 25, 2023, at 10:50 AM, John Hardiman > wrote: >

[SR-Users] Re: Override listen advertise address

2023-05-25 Thread Alex Balashov
really reduces the cognitive load trying to read the config. :-) -- Alex > On May 25, 2023, at 10:44 AM, Calvin E. wrote: > > Hi Alex, > > You make a good point about the listener resources, however, all external > traffic is being passed to internal resources so the

[SR-Users] Re: lost module: best practice handling delay caused by held / lis procedure?

2023-05-25 Thread Alex Balashov
://kamailio.org/docs/modules/5.6.x/modules/tm.html#tm.f.t_set_auto_inv_100 -- Alex > On May 23, 2023, at 4:54 AM, Benoit Panizzon wrote: > > Hi gang > > In 2024, Switzerland will start using NG112 (NG911) procedures to > transmit the caller location via Geolocation URL via LIS

[SR-Users] Re: Override listen advertise address

2023-05-25 Thread Alex Balashov
the listeners shouldn't incur twice the resource commitment, or something like that. -- Alex [1] https://www.kamailio.org/wikidocs/cookbooks/5.6.x/core/#socket_workers > On May 23, 2023, at 2:09 AM, Daniel-Constantin Mierla > wrote: > > Hello, > you can skip setting adver

[SR-Users] Re: Contact changes, caller dialog attributes and NAT traversal

2023-05-17 Thread Alex Balashov
the first message is with alias as > Contact header parameter not as Contact URI parameter, is it just a > mistake in your example or is it how you see it on the network? > > Cheers, > Daniel > >> On 16.05.23 12:22, Alex Balashov wrote: >> Hi, >> >> Thank you for

[SR-Users] Re: Contact changes, caller dialog attributes and NAT traversal

2023-05-16 Thread Alex Balashov
Hi, Thank you for the response; I am using set_contact_alias(). -- Alex > On May 16, 2023, at 2:01 AM, Daniel-Constantin Mierla > wrote: > > Hello, > > can you check that you are using set_contact_alias() instead of > add_contact_alias()? The former should make the n

[SR-Users] Contact changes, caller dialog attributes and NAT traversal

2023-05-15 Thread Alex Balashov
attributes have been pre-populated elsewhere. Nevertheless, the effect is that these BYEs do not reach NAT'd endpoints. Any suggestions are appreciated! Thanks in advance, -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-70

[SR-Users] Re: send reply from branch route?

2023-05-04 Thread Alex Balashov
to the caller, not the ones on the “losing” branch(es). — Alex > On May 4, 2023, at 10:24 AM, Benoit Panizzon wrote: > > Hi Alex > > Thank you for your input. Determining if the call is for a locally > registered user seems pretty easy. > > Now the next challenge... >

[SR-Users] Re: send reply from branch route?

2023-05-04 Thread Alex Balashov
whether a TCP connection exists to the recipient: if(($nh(P) eq ’tcp' || $nh(P) eq ’tls') && !tcp_get_conid("$nh(d):$nh(p)", "$var(tcp_conid)”)) { send_reply(“410”, “Gone”); exit; } However, this will not work for UDP for obvious reasons. Hope it hel

[SR-Users] Re: Configuring dynamic Destination identification for Kamailio Routing

2023-04-25 Thread Alex Balashov
Harneet, More philosophically, it should be added that routing determinations based on the dialed number should never be done based on the To header, but only the Request URI. — Alex > On Apr 25, 2023, at 1:39 AM, Henning Westerholt wrote: > > Hello, > you could just query a

[SR-Users] Re: rtpengine module: Actions caused by rtpengine_manage() on reply-codes?

2023-04-24 Thread Alex Balashov
e the standards say the call must continue according to previous parameters if a reinvite fails)? And if so, are there any others, or is 488 truly it? -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800

[SR-Users] Re: Question - Kamailio script and how the return code from a command export is handled as a boolean?

2023-04-02 Thread Alex Balashov
Consider $rc. — Sent from mobile, apologies for brevity and errors. > On Apr 2, 2023, at 1:01 PM, Chaigneau, Nicolas > wrote: > > Hello, > > > > I have a question regarding Kamailio script and how the return code from a > command export is handled as a boolean. > > > In Kamailio

[SR-Users] Germany unsure about whether Kamailio will survive next winter

2023-04-01 Thread Alex Balashov
whether German strategic natural gas reserves and liquefied natural gas (LNG) imports could keep Kamailio's enormous turbines spinning under a variety of stress-test scenarios outlined by regulators, including SIPP and SIPVicious. Alex Balashov, Evariste's principal, said in a news conference earlier

[SR-Users] Re: Rancher, AWS, and Elastic IP

2023-03-29 Thread Alex Balashov
to cluster, containerise, etc. Kamailio less so. That’s not to say there aren’t use-cases for it — there certainly are — but this doesn’t necessarily sound like one of them. — Alex > On Mar 29, 2023, at 1:22 PM, Alex Balashov wrote: > > >> On Mar 29, 2023, at 12:42 PM, ca

[SR-Users] Re: Rancher, AWS, and Elastic IP

2023-03-29 Thread Alex Balashov
s reasonably clusterable, using Redis as an intermediary. But no, on the whole, the idea that you can just replicate all necessary state and send anything anywhere any time is rather fantastical. It works in bits and pieces. I wouldn’t get overly attached to this model, it’s a bit romantic. :-)

[SR-Users] Handling branch-level append_hf()

2023-03-27 Thread Alex Balashov
_would_ like to revert on subsequent branch attempts (i.e. branch #3). I can certainly devise a transaction-persistent vehicle for this value which can be checked on every branch, but I wondered if there’s an easier and more best-practical way. Thanks! — Alex -- Alex Balashov Principal Consultant

[SR-Users] Re: No voice for webrtc call

2023-03-24 Thread Alex Balashov
.127:10940 | > 10.13.1.127:10960 -> 192.168.30.200:53489 > Mar 24 13:07:03 debian rtpengine[7345]: WARNING: > [8asmubtpv46ac7nrfk57/223df8fa-8106-48af-844f-33f97530a0d8/1 port 10940]: > [core] No support for kernel packet forwarding available (encryption cipher > or HMAC not su

[SR-Users] Re: WebRTC "client did not present a certificate" error

2023-03-22 Thread Alex Balashov
That’s my experience, too, but perhaps there’s something not quite clear about the location of the tls.cfg file, or the applicability of the given profiles, etc. > On Mar 22, 2023, at 3:59 AM, Henning Westerholt wrote: > > Hello Alex, > > if you set this in a dedicated tls

[SR-Users] Re: WebRTC "client did not present a certificate" error

2023-03-21 Thread Alex Balashov
Try set these, too: https://kamailio.org/docs/modules/5.6.x/modules/tls.html#tls.p.require_certificate https://kamailio.org/docs/modules/5.6.x/modules/tls.html#tls.p.verify_certificate — Alex > On Mar 21, 2023, at 7:34 PM, David Cunningham > wrote: > > Hello, > > We hav

[SR-Users] Re: Sync NONCE between registrars?

2023-03-16 Thread Alex Balashov
-- Alex > On Mar 16, 2023, at 10:11 AM, Benoit Panizzon wrote: > > Hi > > We have two registrars. > > Today I observed a CPE doing this: > > CPE REGISTER (no auth) => Registrar 1 => 407 Challenge NONCE A > > CPE REGISTER (auth to NONCE A => Reg

[SR-Users] Re: Dispatcher Incoming

2023-03-13 Thread Alex Balashov
3, 2023, 10:21 p.m. Alex Balashov > wrote: > Interesting. > > Path is only applicable to registrations. > > > On Mar 13, 2023, at 9:30 PM, Jawaid Bazyar wrote: > > > > Hi, > > > > For what it's worth, I am successfully using Path with Asterisk+pjs

[SR-Users] Re: Dispatcher Incoming

2023-03-13 Thread Alex Balashov
ogies Corporation and others. > > I believe there is a different issue with path support on non-registered > 'trunks'. > > Jawaid > > > On 1/4/23, 11:16 AM, "Henning Westerholt" <mailto:h...@gilawa.com>> wrote: > > > Hello Alex, > &g

[SR-Users] Re: Dispatcher behavior

2023-03-13 Thread Alex Balashov
To your failure_route used for dispatcher rollover, add: if(t_check_status(“407|401”)) exit; This will allow the 401/407 challenge to be fed back to the original caller. — Alex > On Mar 13, 2023, at 8:27 PM, Jawaid Bazyar wrote: > > Hi Alex, > > I did

[SR-Users] Re: Dispatcher behavior

2023-03-13 Thread Alex Balashov
https://kamailio.org/docs/modules/5.5.x/modules/dispatcher.html#dispatcher.p.ds_probing_mode> > > > Cheers, > > > Henning > > > -Original Message- > From: Jawaid Bazyar mailto:baz...@gmail.com>> > Sent: Montag, 13. März 2023 14:33 > To: Kamail

[SR-Users] Re: Dispatcher behavior

2023-03-12 Thread Alex Balashov
- 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! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems

[SR-Users] Re: Using jsonrpc_dispatch in xhttp:request - is it possible to restrict the RPC that can be invoked ?

2023-03-06 Thread Alex Balashov
I don’t think there is any practical RPC method restriction, but parsing the JSON body in script is indeed possible, easy and pretty cheap: https://kamailio.org/docs/modules/5.6.x/modules/jansson.html — Alex > On Mar 6, 2023, at 11:57 AM, Chaigneau, Nicolas > wrote: > > Hello, &

[SR-Users] Re: New 'reverse' transaction not using correct transport protocol

2023-03-06 Thread Alex Balashov
Hi, Check the ;transport attribute on the RURI of the BYE, and remember that the absence of an explicit ;transport attribute means UDP by default. -- Alex > On Mar 6, 2023, at 4:52 AM, Benoit Panizzon wrote: > > Hi > > CPE registering with TCP (or TLS). > 2nd leg is UD

[SR-Users] Re: OT: path support fix for asterisk

2023-03-02 Thread Alex Balashov
Thanks, Henning. This is excellent news, thank you for passing along.—Sent from mobile, apologies for brevity and errors.On Mar 2, 2023, at 6:11 PM, Sergiu Pojoga wrote:Thanks for the heads up Henning. Finally some good news.Just posted a comment in the original years-long case asking if this

[SR-Users] Re: How to access rtpengine rtcp-metrics?

2023-03-02 Thread Alex Balashov
___ > > Zurlindenstrasse 29 Tel +41 61 826 93 00 > CH-4133 PrattelnFax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > __ > __ > Kamailio - Users Mailing List - Non Commercial Discussions > T

[SR-Users] Re: Websocket closing

2023-02-28 Thread Alex Balashov
it should be cleaned up, and rather immediately. What's going on there?-- Alex—Sent from mobile, apologies for brevity and errors.On Feb 28, 2023, at 5:40 PM, David Villasmil wrote:Hello guys,We're seeing corner cases where the following happens:On proxy-ws- IP1:PORT1  connects via websocket fr

[SR-Users] Re: Kamailio RPC configuration

2023-02-24 Thread Alex Balashov
quot;, "method": "ul.dump"}' \ http://${KAMAILIO_IP}:5060/RPC <http://${kamailio_ip}:5060/RPC> -- Alex > On Feb 24, 2023, at 12:07 PM, sadik.oualla.moha...@gmail.com wrote: > > Dear Kamailio community, > > I am a newbie in Kamailio and I am currently working on

[SR-Users] Re: Dispatcher failover when SRV failover is on?

2023-02-23 Thread Alex Hermann
individual servers. > In case I only want failover in > case 408 or 5XX wouldn't the tm module do it for me? It will. -- Alex Hermann __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to

[SR-Users] Re: Call History

2023-02-21 Thread Alex Balashov
and does not need to be wired in series. -- Alex > On Feb 21, 2023, at 10:55 AM, Anthony Wittig wrote: > > Hello, > > I'd like to start tracking a call history/log as soon as I receive a call. > I'd like the customer to be able to see that there's an incoming call to one

[SR-Users] Re: Drops on async_route with delay

2023-02-06 Thread Alex Balashov
Hi, No, the message quoted below was the extent of my e-mail. No errors in the logs. It just seems the REQ_PROCESS (or other arbitrary route name) doesn't get called some of the time, at least under load. -- Alex > On Feb 2, 2023, at 4:32 PM, Henning Westerholt wrote: > >

[SR-Users] Re: Dispatcher + ENUM

2023-02-06 Thread Alex Balashov
pour that state into Kamailio somehow (e.g. using `htable`). — Alex [1] https://kamailio.org/docs/modules/5.6.x/modules/dispatcher.html#dispatcher.f.ds_is_active > On Feb 6, 2023, at 5:52 PM, Jawaid Bazyar wrote: > > Hi, > Can DISPATCHER be used in conjunction with ENUM? >

[SR-Users] Drops on async_route with delay

2023-01-31 Thread Alex Balashov
nal IPC queue depth? Is it conceptually similar to a generic shared blocking queue internally, along the lines of 'mqueue'? Is there any reasonable way to troubleshoot this? Thanks! -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com

[SR-Users] Re: Evapi Dispatcher 100% cpu.

2023-01-30 Thread Alex Balashov
of Kamailio? 2) Does the problem recede if the throughput drops below 500 RPM? -- Alex > On Jan 30, 2023, at 5:40 PM, Sebastian Sastre > wrote: > > Hello > > We are currently using EVAPI to push messages into kamailio from a go app. > For the most part ift works without p

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Alex Balashov
= '+999'; } This '+999' value will be reverted when NEXT_ONE creates another branch. -- Alex > On Jan 20, 2023, at 10:06 AM, Benoît Panizzon wrote: > > Hi Alex > >> I'm not familiar with this latter usage of the dialog module. Could >> you explain that further? > &

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Alex Balashov
t expired. And you're sure you've got these modparams configured correctly for this expectation? https://kamailio.org/docs/modules/5.6.x/modules/dialog.html#dialog.p.update_period https://kamailio.org/docs/modules/5.6.x/modules/dialog.html#dialog.p.db_mode -- Alex -- Alex Balashov Principal

[SR-Users] Re: Does tm.t_relay() create a transaction?

2023-01-20 Thread Alex Balashov
generally means that the transaction is both created and utilised as a single operation. -- Alex > On Jan 20, 2023, at 8:41 AM, Дилян Палаузов wrote: > > Hello, > > the documentation for tm.t_newtran() says „This is the only way a script can > add a new transaction

[SR-Users] Re: [core/tcp_main.c:617]: _wbufq_add(): (1244714 bytes): write queue full or timeout

2023-01-20 Thread Alex Balashov
a promising approach would be to have a DMQ peer node whose sole purpose is to sync dialogs to a DB. Have you tried that? Has it not worked out? -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800

[SR-Users] Re: SIP Trunk with multiple phone numbers for account

2023-01-19 Thread Alex Balashov
t in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __ Kamailio - Users Mailing List

[SR-Users] Re: Parallel call forking with call authorization

2023-01-13 Thread Alex Balashov
s. It's fine. But if you're not happy with it, there are always upgrades like mutual TLS verification ... -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __ Kamailio - U

[SR-Users] Re: Newbie question

2023-01-12 Thread Alex Balashov
oxy` value on the chan_pjsip peer for the proxy. I think you can understand why building an entire configuration for you is not a simple task, but hopefully these pointers should get you moving in the right direction. Feel free to ask further specific questions if you run into stumbling blocks! Boa s

[SR-Users] Re: Newbie question

2023-01-12 Thread Alex Balashov
c compared to the caller experiences that Asterisk can provide. But it is possible. I don't know that it's the best architecture. You might instead investigate ways to make Asterisk more distributed and/or highly available. -- Alex > On Jan 12, 2023, at 7:06 AM, Joao Paulo Vaz wrote: > > Hel

[SR-Users] Re: Why do htable Keys have two colons?

2023-01-10 Thread Alex Balashov
g > directly sql_query()/sqlops in the config. > > Cheers, > Daniel > >> On 09.01.23 22:06, Alex Balashov wrote: >> I know that Noah knows this, but it bears reminding for posterity that one >> should be careful with using unsanitised bare PV values as keys,

[SR-Users] Re: Help with rtpengine_delete()

2023-01-10 Thread Alex Balashov
One thing I always wondered is whether it's best to call rtpengine_delete() on CANCEL or on the 487 response to the underlying INVITE transaction, but which in rare cases might never come... — Sent from mobile, apologies for brevity and errors. > On Jan 10, 2023, at 3:48 AM, Daniel-Constantin

[SR-Users] Re: Why do htable Keys have two colons?

2023-01-09 Thread Alex Balashov
I know that Noah knows this, but it bears reminding for posterity that one should be careful with using unsanitised bare PV values as keys, for reasons that are conceptually similar to the problem of SQL Injection. -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https

[SR-Users] Re: Why do htable Keys have two colons?

2023-01-08 Thread Alex Balashov
Hi, This is an arbitrary stylistic choice that is just consistently followed in the documentation examples, likely because it was written by the same person, or imitated by others. The colons are not required. -- Alex > On Jan 8, 2023, at 1:57 PM, Noah Mehl wrote: > > Hey

[SR-Users] Re: RABBITMQ and AWS

2023-01-06 Thread Alex Balashov
No, broker is just the more generic term for an AMQP server, if you like, such as RabbitMQ. What is the nature of the failure? > On Jan 6, 2023, at 5:39 PM, Fred Posner wrote: > > On Jan 6, 2023, at 5:26 PM, Alex Balashov wrote: >> >> Using a Kamailio mo

[SR-Users] Re: RABBITMQ and AWS

2023-01-06 Thread Alex Balashov
> On Jan 6, 2023, at 4:52 PM, Fred Posner wrote: > > Has anyone had any success connecting to RabbitMQ via a TLS 1.2 connection > (such as the AWS MQ product)? Using a Kamailio module for this purpose, or connecting to an AMQP broker in general in some other way? -- Alex -- A

[SR-Users] Re: Call drop when reinvite is proceed

2023-01-05 Thread Alex Balashov
it should not have nullary effect as the RR will be ignored by the counterparty. -- Alex -- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800 __ Kamailio - Users Mailing List - Non

[SR-Users] Re: pkg memory leak when acc module cdr_enabled

2023-01-05 Thread Alex Balashov
language. :-) -- Alex > On Jan 5, 2023, at 10:16 AM, Henning Westerholt wrote: > > (adding sr-dev) > > Hi Alex, > > the memory allocator of glibc was not really efficient regarding the > particular needs of a SIP server (allocation of many small string objects). >

[SR-Users] Re: pkg memory leak when acc module cdr_enabled

2023-01-05 Thread Alex Balashov
> On Jan 5, 2023, at 9:40 AM, Henning Westerholt wrote: > > Hello Alex, > > there might be some performance implications by switching to system malloc. > There is also easier debugging by internal Kamailio memory manager support. > > In this particular example with

[SR-Users] Re: pkg memory leak when acc module cdr_enabled

2023-01-05 Thread Alex Balashov
there is a reason why this is not done by default. -- Alex > On Jan 5, 2023, at 3:11 AM, Henning Westerholt wrote: > > Hi Juha, > > there have been some changes related to that modules indeed for the latest > release. > > Using memory debugging > (http://www.kamailio.org/wik

[SR-Users] Re: Dispatcher Incoming

2023-01-04 Thread Alex Balashov
ct management point of view, I think this is quite embarrassing. It's better to never have offered Path at all than to implement it (with considerable fanfare at the time!), then break it via a mandatory and quite controversial upgrade path (chan_sip -> chan_pjsip), then obstinately refuse to fix

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