[SR-Users] Re: Via header force change protocol to TLS?

2024-05-23 Thread David Villasmil via sr-users
it's still in progress though. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, May 23, 2024 at 4:51 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Thanks, I'll check it out! > Regards, > > David Villasmil > ema

[SR-Users] Re: Via header force change protocol to TLS?

2024-05-23 Thread David Villasmil via sr-users
Thanks, I'll check it out! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, May 23, 2024 at 4:16 PM Sergey Safarov wrote: > We have tested this PR using the Linphone app. > So your case will be resolved using this PR. > Need to enable HAproxy

[SR-Users] Re: Via header force change protocol to TLS?

2024-05-22 Thread David Villasmil via sr-users
ithout any trickery? Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, May 22, 2024 at 12:16 PM Sergey Safarov wrote: > Probable you need this PR > https://github.com/kamailio/kamailio/pull/3810 > > Or you can try > https://git

[SR-Users] Re: Via header force change protocol to TLS?

2024-05-21 Thread David Villasmil via sr-users
Hello Anthony, did you solve this problem? I'm facing the same problem Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Feb 5, 2018 at 5:57 AM Anthony Alba wrote: > I have kamailio behind a TLS termination proxy so the sockets are > cor

[SR-Users] Re: Add XML to INVITE

2024-03-05 Thread David Villasmil via sr-users
Thanks for replying! thanks for this, it worked perfectly. I'm still wondering why set_body_multipart and append_body_part don't work together... Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, 5 Mar 2024 at 20:25, Valentin Christoph

[SR-Users] Re: Add XML to INVITE

2024-03-05 Thread David Villasmil via sr-users
Hello guys, Anyone on this? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 3, 2024 at 4:01 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm trying to add an xml with a boundary to an outgoing I

[SR-Users] Add XML to INVITE

2024-03-02 Thread David Villasmil via sr-users
); msg_apply_changes(); but kamailio adds the SDP, but NOT the second $var(something). If i switch them and add firs the var, and then the SDP. kamailio adds the contents of $var(something) but NOT the SDP point is it doesn't add the second append Thanks!!! Regards, David Villasmil email:

[SR-Users] Re: Reject TCP SYN

2024-02-15 Thread David Villasmil via sr-users
Thanks Karsten, That won’t work for me with TLS clients, which is what I’m trying to do. I’m making a PR with a new tcp param. Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, 15 Feb 2024 at 17:42, Karsten Horsmann wrote: > Hi David, &g

[SR-Users] Re: High CPU with DMQ on ARM64 (graviton) - Tuning values for DMQ worker_usleep

2024-02-09 Thread David Villasmil via sr-users
What is it synchronizing with? Bear in mind you can’t mix Kamailio versions when doing DMQ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, 9 Feb 2024 at 17:17, Ben Kaufman via sr-users < sr-users@lists.kamailio.org> wrote: > Just checki

[SR-Users] Re: Reject TCP SYN

2024-02-09 Thread David Villasmil via sr-users
Hey, Henning, yeah I thought about that, but thought that maybe there was a better way to do it via Kamailio Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, 9 Feb 2024 at 14:08, Henning Westerholt wrote: > Hello, > > > >

[SR-Users] Reject TCP SYN

2024-02-08 Thread David Villasmil via sr-users
Hello all, Is there any way of actually rejecting (RST) NEW tcp connection attempts, while allowing the ongoing ones to finish naturally? I’m thinking maybe we can add this feature? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

[SR-Users] Re: Get the amount of open TCP connection from routing logic

2024-02-06 Thread David Villasmil via sr-users
Yeah, problem comes when calls draining last longer than the drain time (which in aws is max 3600). Then I need to figure out something different. Like iptables or something like that. Unless Daniel has a better way from within Kamailio? Regards, David Villasmil email: david.villasmil.w

[SR-Users] Re: Get the amount of open TCP connection from routing logic

2024-02-06 Thread David Villasmil via sr-users
, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, 6 Feb 2024 at 13:45, Sebastian Damm wrote: > We usually already have a high enough number of max tcp connections. > However, there are certain scenarios when restarting some of our servers > the loadbalan

[SR-Users] Re: Get the amount of open TCP connection from routing logic

2024-02-06 Thread David Villasmil via sr-users
Why not just increase the max tcp connections? Also, once you hit it, Kamailio will reset the syn and the load balancer should try on a different server. I am look for something like what you’re looking for but reset the sub on-demand so I can put the server in maintenance mode. Regards, David

[SR-Users] install location when compiling

2024-01-30 Thread David Villasmil via sr-users
don't see a way of doing this, is there? Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le

[SR-Users] Re: STIR/SHAKEN

2024-01-23 Thread David Villasmil via sr-users
Ditto, i do first approach. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Jan 23, 2024 at 2:38 PM Alex Balashov via sr-users < sr-users@lists.kamailio.org> wrote: > These are all valid approaches, depending on preference. Catc

[SR-Users] Re: refer-to to new INVITE

2023-11-25 Thread David Villasmil via sr-users
https://sr-users.sip-router.narkive.com/1lg6Ov5U/problem-initiating-a-call-with-dlg-bridge On Sat, 25 Nov 2023 at 06:39, Alex Balashov via sr-users < sr-users@lists.kamailio.org> wrote: > Hi, > > You may wish to explore this function, and its RPC correlate: > > dialog Module >

[SR-Users] Re: sips to sip

2023-11-24 Thread David Villasmil via sr-users
t; to > sip scheme"); > > $du = 'sip:' + $dd + ':' + $dp; > } > return; > } > if ($rz != 'sips') { > return; > } > $du = 'sip:' + $rd + ':' + $rp; > > xlog("$var(debug_level)", "[SIPS_PROCESS]: Se

[SR-Users] Re: refer-to to new INVITE

2023-11-22 Thread David Villasmil via sr-users
AFAIK that’s a job for a B2BUA, not a proxy. You want something like Freeswitch or Asterisk On Thu, 23 Nov 2023 at 01:26, Social Boh via sr-users < sr-users@lists.kamailio.org> wrote: > Hello, > > I'd like to know if there is a way, from Kamailio side, take the > refer-to header Kamailio receive

[SR-Users] Re: sips to sip

2023-11-21 Thread David Villasmil via sr-users
thanks all, i figured it out with help from Alfonso who found https://github.com/fredposner/scripts/blob/master/kamailio/kamailio-tls_srtp-bridge.cfg Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Nov 21, 2023 at 2:34 PM Henning Westerholt wrote

[SR-Users] Re: sips to sip

2023-11-21 Thread David Villasmil via sr-users
thanks Henning, Already tried that with: if (is_method("INVITE")) { $var(fline) = $msg(fline); $var(hdrs) = $msg(hdrs); $var(body) = $msg(body); $var(fline) = $(var(fline){s.replace,sips,sip}); #{s.replace,;transport=TLS,}{s.replace,;transport=tls,});

[SR-Users] sips to sip

2023-11-20 Thread David Villasmil via sr-users
and kamailio forwards it back to the provider, the provider sends an ACK and kamailio can't match it with the dialog and doesn't know where to forward it. i think this is happening because FS when is sees SIPS is setting the contact port as 5081 instead of the usual 5080... Regards, David Villasmil

[SR-Users] Re: How to check for presence of a file from a route? (Or any other way to tell kamailio not to accept new calls)

2023-11-13 Thread David Villasmil via sr-users
Or better yet use an htable On Mon, 13 Nov 2023 at 13:31, Henning Westerholt via sr-users < sr-users@lists.kamailio.org> wrote: > Hello, > > just to add another common method, you could also just use a cfg file > variable that you can modify later with kamcmd, kamcli etc.. There is a > prepared

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

2023-10-23 Thread David Villasmil via sr-users
Agreed On Sun, 22 Oct 2023 at 23:22, Oleg Belousov via sr-users < sr-users@lists.kamailio.org> wrote: > Hi, Ben. > Inline is how we implemented mentioned points in our project, If that will > be helpful. > Not sure if SS helps much to prevent spoofed calls, but there could be > other bonuses

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

2023-10-18 Thread David Villasmil via sr-users
I implemented it with Kamailio. I forward all invites to a Kamailio instance that does the stir/shaken stuff and returns it in a 302 which is then added to the INVITE to continue normally. OpenSIPS has a nice how-to and examples on how to do it. Hope that helps David On Wed, 18 Oct 2023 at

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

2023-09-22 Thread David Villasmil via sr-users
Why not just use a hash and separate fields by ; ? You can then just join or split as you set or get? On Fri, 22 Sep 2023 at 08:20, Ben Kaufman via sr-users < sr-users@lists.kamailio.org> wrote: > Thank you. I’ll look into that! > > > > Kaufman >

[SR-Users] Re: kamcmd reload is slow or blocking additional reloads

2023-09-06 Thread David Villasmil
You could also do this yourself and contribute :) On Wed, 6 Sep 2023 at 10:08, Martin Nyström wrote: > Thanks, > > > > I’ll keep the reload_delta above 0 but I’ll lower it a bit. > > > > My question has been answered, but as OEJ said I think you should update > the message returned when

[SR-Users] Re: Kamailio behind TLS-TCP load balancer

2023-08-17 Thread David Villasmil
urse to just not use the AWS load-balancer.  >> Do you have performance concerns using Kamailio for that purpose? >> >> >> >> As you probably know, SIP as a protocol is not really suited for this >> kind of cloud balancing infrastructure, which targets more HTTP and

[SR-Users] Re: Kamailio behind TLS-TCP load balancer

2023-08-16 Thread David Villasmil
gt; of cloud balancing infrastructure, which targets more HTTP and other > protocols. And Kamailio in a load-balancer scenario is usually the first > TLS/TCP/UDP endpoint to reach from the client point of view. > > > > Cheers, > > > > Henning > > > > -- > &g

[SR-Users] Re: Kamailio behind TLS-TCP load balancer

2023-08-15 Thread David Villasmil
cenario is usually the first >> TLS/TCP/UDP endpoint to reach from the client point of view. >> >> >> >> Cheers, >> >> >> >> Henning >> >> >> >> -- >> >> Henning Westerholt – https://skalatan.de/blog/ >> >> Kamailio s

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

2023-08-14 Thread David Villasmil
all together, and you got what you're looking for. or maybe instead of replying with an error, just stop processing if these are attacks? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Aug 14, 2023 at 3:41 AM David Cunningham wrote: > Hello, &

[SR-Users] Kamailio behind TLS-TCP load balancer

2023-08-11 Thread David Villasmil
an ACK to the client via tls/tcp load balancer Kamailio complaint the socket is not TLS so it fails. Is there a simpler way of doing this via some parameters I don’t know? Thanks for helping me with this! David -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

[SR-Users] Re: advertise transport

2023-08-01 Thread David Villasmil
Hello guys, got it. i just added a parameter with https://kamailio.org/docs/modules/5.1.x/modules/rr.html#rr.f.add_rr_param Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, Aug 2, 2023 at 3:01 AM David Villasmil < david.villasmil.w...@gmail.com>

[SR-Users] advertise transport

2023-08-01 Thread David Villasmil
tls? Thanks! David Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Im

[SR-Users] Re: Kamailio 5.6.4 and htable dbmode=1

2023-07-18 Thread David Villasmil
t; > { > > name: > > 07db580a6c13e798a5acc0d123d6e957897c8650b43f99d6d5cb9c2cb5ba4fa4 > > value: > > 3a28dcb73eb65722df5a261983b7692cecdca482bf8725032e46a0c6b89fb355 > > ty

[SR-Users] Re: 302 Handling issue in failure route

2023-07-03 Thread David Villasmil
route and the route was being executed, but the data wasn't there. I put it on the onreply route and that one is now executed with the data correctly there... >> >>I probably did something wrong. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon

[SR-Users] Re: header from failure_route

2023-06-03 Thread David Villasmil
Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *From:* David Villasmil > *Sent:* Samstag, 3. Juni 2023 13:02 > *To:* Kamailio (SER) - Users Mailing List

[SR-Users] header from failure_route

2023-06-03 Thread David Villasmil
Hello guys, so i'm doing on a failure_route: $var(xgws_in_reply) = $T_rpl($hdr(X-GWs)); which when it’s present on the reply is cool… but when there is NO REPLY, then kamailio sets it to “0”… anyway over this? i only want to know whether it is present on the reply Regards, David Villasmil

[SR-Users] manipulate Authentication header

2023-04-12 Thread David Villasmil
Hello guys, I can't find a simple way of changing the username and recalculate the has in a REGISTER... do i have to use textops? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users

[SR-Users] Re: Dispatcher behavior

2023-03-12 Thread David Villasmil
AVG: 3.876000 > > STD: 2.965000 > > EST: 5.058000 > > MAX: 14 > > TIMEOUT: 0 > >} > > } > > } > >} > > } > > } > > > __ > Kamailio - U

[SR-Users] Re: Websocket closing

2023-03-01 Thread David Villasmil
That’s exactly what’s happening, AWS reuses the ip:port source. I understand it was very unlikely the ip:port would be reused, but nowadays kamailio is more and more used on the cloud with a load balancer in front. Regards David On Wed, 1 Mar 2023 at 14:40, David Villasmil wrote: > He

[SR-Users] Re: Websocket closing

2023-03-01 Thread David Villasmil
t; proxy/tcp loadbalancer in front? > > It is pretty unlikely another endpoint to get same source ip and port, > unless is a middle proxy that reuses the connection. I met the latter case > in the past, but not the former. > > Cheers, > Daniel > On 01.03.23 09:49, David Villasm

[SR-Users] Re: Websocket closing

2023-03-01 Thread David Villasmil
es for brevity and errors. > > On Feb 28, 2023, at 5:40 PM, David Villasmil < > david.villasmil.w...@gmail.com> wrote: > >  > > Hello guys, > > We're seeing corner cases where the following happens: > > On proxy-ws > - IP1:PORT1 connects via websocket fr

[SR-Users] Websocket closing

2023-02-28 Thread David Villasmil
it is sending the INVITE is the actual client it is supposed to be sending... It seems that when a socket is closed, the mapping IP:PORT to Address (i.e.: sip:d4f27e34@994f31243be9.invalid;transport=ws) doesn't seem to be cleared... is this by design? Thanks! Regards, David Villasmil email

[SR-Users] Re: Too many 200:OK sip responses

2023-01-05 Thread David Villasmil
nsubscribe: >> > __ > 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 &g

[SR-Users] Re: Dockerized VoIP Stack

2022-12-22 Thread David Villasmil
__ > 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: > -- Re

[SR-Users] Re: Dockerized VoIP Stack

2022-12-22 Thread David Villasmil
n 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: > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __

Re: [SR-Users] Starting with Kamailio

2022-11-29 Thread David Villasmil
You can do realtime speech recognition with freeswitch + unimrcp (commercial but not expensive) + aws/gcp Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Nov 29, 2022 at 9:55 AM Denys Pozniak wrote: > Hello! > In my experience and o

Re: [SR-Users] Tcp/websocket closing

2022-11-14 Thread David Villasmil
ing TCP lifetime, > keepalive and keepalive counter values as Kamailio core parameters. > > > > Cheers, > > > > Henning > > > > -- > > Henning Westerholt – https://skalatan.de/blog/ > > Kamailio services – https://gilawa.com > > > > *F

[SR-Users] Tcp/websocket closing

2022-11-12 Thread David Villasmil
-- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only

Re: [SR-Users] I am having an error with Kamailio

2022-10-07 Thread David Villasmil
: 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 > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 _

Re: [SR-Users] Guide to set up Kamailio as an SBC

2022-09-23 Thread David Villasmil
_ > 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/mailma

Re: [SR-Users] [Freeswitch-users] SIPp uas(SIPp)->client reINVITE late offer

2022-09-20 Thread David Villasmil
For anyone who might ever need it, i'm attaching a working version. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Sep 20, 2022 at 10:36 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Yep, it's on proxy. > > I'm att

Re: [SR-Users] [Freeswitch-users] SIPp uas(SIPp)->client reINVITE late offer

2022-09-20 Thread David Villasmil
Yep, it's on proxy. I'm attaching the SIPp scenario and the output. The ACK to the 200 OK is not being matched by freeSWITCH i've seen too many traces already, looking for some new fresh eyes to help me out. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

[SR-Users] SIPp uas(SIPp)->client reINVITE late offer

2022-09-15 Thread David Villasmil
gt; 183 --->SIPp UAT---> 200 OK (sdp) -->SIPp UAT<--- ACK (sdp) <---SIPp UAT---> BYE -->SIPp UAT<--- ACK <--SIPp I can’t get past UAT<--- INVITE (NO sdp) <---SIPp Kamailio responds with “not here” Appreciate the help! -- Regar

Re: [SR-Users] Kamailio stops processing requests mid script

2022-09-15 Thread David Villasmil
Is this metal or cloud? If aws try stopping/starting so it starts in a different underlying hardware. If metal try with a different metal… could be the hardware. On Thu, 15 Sep 2022 at 07:44, Joel Serrano wrote: > Hi Daniel, > > I've tried with apparmor disabled unfortunately the same issue

Re: [SR-Users] recompute distribution list

2022-08-08 Thread David Villasmil
, it is just ignored, but the list is not recalculated, so all of those calls will go to item3 (server8) On Mon, 8 Aug 2022 at 23:10, David Villasmil wrote: > I’m not using those algorithms, I’m using hash over username. > > On Mon, 8 Aug 2022 at 22:34, Henning Westerholt wrote: &

Re: [SR-Users] recompute distribution list

2022-08-08 Thread David Villasmil
inactive servers, the traffic would be properly evenly distributed. This > is what I’m looking for. > > > > But does dispatcher e.g. with a hash based distribution or round-robin > does not fulfil this requirement already? > > > > Cheers, > > > > Henning &g

Re: [SR-Users] recompute distribution list

2022-08-08 Thread David Villasmil
d deactivating hosts, and replacing hosts. > Additionally, if carrierroute’s data is updated (i.e. if reading from > database) it can be completely reloaded. > > > > > > *Kaufman* > > > > *From:* sr-users * On Behalf Of *David > Villasmil > *Sent:* Monday, August 8, 20

Re: [SR-Users] recompute distribution list

2022-08-08 Thread David Villasmil
ules/5.5.x/modules/carrierroute.html#carrierroute.rpc.replace_host > > > > With dispatcher you could of course just adding one host two times by some > script and reload the module, as a simple idea. > > > > Cheers, > > > > Henning > > > > *From:* sr-users *

[SR-Users] recompute distribution list

2022-08-08 Thread David Villasmil
Hello guys, Is it possible to have dispatcher recompute the distribution list? i.e. one server goes down, all traffic for that server goes to the next one, doubling traffic on that one. Is there a way of, when a host becomes unreachable, recompute the whole list? Regards, David Villasmil email

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

2022-07-17 Thread David Villasmil
//www.evaristesys.com/, http://www.csrpswitch.com/ > > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only

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

2022-06-09 Thread David Villasmil
to fix this without me having to use it in the failure_route? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org

Re: [SR-Users] calling failure_route

2022-05-06 Thread David Villasmil
s, will mark the destination as INACTIVE and try again with the same route. Hope this makes sense. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, May 6, 2022 at 8:50 AM Daniel-Constantin Mierla wrote: > Hello, > > you can put the group of acti

Re: [SR-Users] dns_query container no found

2022-05-06 Thread David Villasmil
Hello guys, simply using the var right before the function made the error go away: xlog("L_DBG", "--- SCRIPT: DNS <$dns(xyz=>count)>\n"); if(dns_query("$du", "xyz")) Thanks everyone! Regards, David Villasmil email: david.villasmil.w...@gm

[SR-Users] dns_query container no found

2022-05-06 Thread David Villasmil
Thanks all & Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recip

Re: [SR-Users] calling failure_route

2022-05-05 Thread David Villasmil
e gateway. Why do you can not > use this method? > > Otherwise you can just use the appropriate dispatcher method to set the > gateway state as inactive at dns failure. > > Cheers, > > Henning > > -- > *Von:* sr-users im Auftrag von >

[SR-Users] calling failure_route

2022-05-05 Thread David Villasmil
n_failure("RTF_DISPATCH"); route(RELAY); } else { route(RTF_DISPATCH); } exit; } to try to resolve and if it fails, it will just go to the failover route. makes sense? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

[SR-Users] failover on dns resolve error

2022-05-05 Thread David Villasmil
Hello guys, I have a scenario where a dns name I've added as a dispatcher endpoint may get removed completely, i.e.: dns resolution fails completely. How would you recommend implementing failover in this case? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

Re: [SR-Users] iterating over htable with lua

2022-05-05 Thread David Villasmil
can anyone help on this? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, May 4, 2022 at 10:36 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm trying to iterate over an htable in lus, this

[SR-Users] iterating over htable with lua

2022-05-04 Thread David Villasmil
ex(): error executing: match_mydata (err: 2) This almost exact same thing works on the cfg: sht_iterator_start("i1", "msrn"); while(sht_iterator_next("i1")) { xlog("data: $shtitkey(i1)\n"); } sht_iterator_end("i1"); Anyone know what I

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

2022-05-04 Thread David Villasmil
you can find documentation for all modules here) >> >> you'll see that i must be used like: >> >> KSR.sl.sl_send_reply("200", "OK"); >> >> And now it works great. >> >> >> Thanks everyone! >> >> David Villasmil >> em

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

2022-05-03 Thread David Villasmil
but sl_send_reply is not used like that, if you go to https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#sl (you can find documentation for all modules here) you'll see that i must be used like: KSR.sl.sl_send_reply("200", "OK"); And now it works great. T

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

2022-05-03 Thread David Villasmil
ut i'm always getting: 0(118) ERROR: app_lua [app_lua_api.c:1633]: sr_kemi_lua_modf(): function 'sl_send_reply' is not available I'm guessing that function is not exported by the module.. if that's the case, how can i use it? Regards, David Villasm

Re: [SR-Users] Dispatcher Usage and change of $rU

2022-04-29 Thread David Villasmil
_ > 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: > * htt

Re: [SR-Users] DMQ sync issue between 5.4 and 5.5

2022-04-20 Thread David Villasmil
replicate, doing between two kamailio with version 5.5.x or between two kamailio with version 5.4.x, but not between a kamailkio 5.5.x and a kamailio 5.4.x.* Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, Apr 20, 2022 at 6:04 PM David Villasmil

[SR-Users] DMQ sync issue between 5.4 and 5.5

2022-04-20 Thread David Villasmil
with qm_malloc(): qm_malloc(0x149dd5ebb000, 16016) called from tm: h_table.c: build_cell(334), module: tm; Free fragment not found! Is there any known issue between DMQ 5.4 and 5.5? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

Re: [SR-Users] Htable reload

2022-04-07 Thread David Villasmil
Thanks Brooks, that's great news! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Apr 7, 2022 at 4:20 PM Brooks Bridges wrote: > I have several htables with various amounts of data in them ranging from a > couple hundred entries to a couple m

Re: [SR-Users] Htable reload

2022-04-07 Thread David Villasmil
Thanks Alex, I'm wondering how this will affect performance if there are many thousands or even millions of records... Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Apr 7, 2022 at 4:03 PM Alex Balashov wrote: > No, the reload actually crea

[SR-Users] Htable reload

2022-04-07 Thread David Villasmil
Hello all, I’ve been trying to figure out how htable reloads happen. Does it replaces the existing one or creates a new one, populates it from the db and then renames it? The latter would be (I think) ideal, even if it uses more resources. Thanks! David -- Regards, David Villasmil email

Re: [SR-Users] dispatcher socket attrs binding

2022-03-29 Thread David Villasmil
Ok, thanks for the clarification, appreciate it. On Tue, 29 Mar 2022 at 12:05, Daniel-Constantin Mierla wrote: > Yes, because you didn't specify any other specific ip -- that's a single > "special" socket, no other sockets in kamailio to select from. > On 29.03.22 10:56, Da

Re: [SR-Users] dispatcher socket attrs binding

2022-03-29 Thread David Villasmil
; Cheers, > Daniel > On 21.03.22 14:49, David Villasmil wrote: > > Hello guys, > > Im starting kamailio with listen=0.0.0.0:5060 and in my dispatcher list i > have in the attrs something like: socket=udp:172.17.0.2:5060 > That IP address belongs to kamailio's host and it is

Re: [SR-Users] avps on regexps?

2022-03-28 Thread David Villasmil
. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Mar 28, 2022 at 7:14 PM Daniel-Constantin Mierla wrote: > Hello, > > if I remember correctly, something similar can be achieved with dialplan > module (might require a modparam for evaluat

[SR-Users] avps on regexps?

2022-03-28 Thread David Villasmil
Hello guys, Is it possible to use apvs on regexps like: $avp(myvar)=$(re{uri.user}{re.subst,/^\+$avp(some_var)/$avp(some_var)/}); doesn't seem possible Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

[SR-Users] dispatcher socket attrs binding

2022-03-21 Thread David Villasmil
is 0.0.0.0? maybe i should be able to? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list

Re: [SR-Users] load to htable from flat file

2022-03-15 Thread David Villasmil
Thanks guys, Yeah i ended up using db_text (whose documentation is wrong, i sent another email on that) Many thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Mar 15, 2022 at 3:04 PM E. Schmidbauer wrote: > I prefer sqlite for something l

[SR-Users] typo in documentation

2022-03-15 Thread David Villasmil
text:///tmp/kamailiodb") so this line should probably be updated: https://github.com/kamailio/kamailio/blob/master/src/modules/db_text/doc/db_text.cfg#L44 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 _

[SR-Users] load to htable from flat file

2022-03-15 Thread David Villasmil
Hello guys, Is this possible? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list

Re: [SR-Users] kamailio.cfg : behind the NAT (listen and advertise) understanding

2022-03-04 Thread David Villasmil
the LOCAL clients register via that port. And have the clients on the public network to register via the public ip. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, Mar 4, 2022 at 3:04 PM Youssef Boujraf wrote: > Hi Dear > > I am trying to under

Re: [SR-Users] simple GUI for Kamailio as a SBC - could be paid

2022-03-03 Thread David Villasmil
What you’re asking is no small thing, I don’t know of a GUI like that. Maybe someone else does. ACL via text files is not a problem, look at permissions module On Thu, 3 Mar 2022 at 11:37, Krzysztof Drewicz wrote: > czw., 3 mar 2022 o 12:10 David Villasmil > napisał(a): > > &g

Re: [SR-Users] simple GUI for Kamailio as a SBC - could be paid

2022-03-03 Thread David Villasmil
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] dispatcher.reload

2022-02-24 Thread David Villasmil
e results and avoid this behavior. > > Regards > > Paolo > > > Il giorno mer 23 feb 2022 alle 23:38 David Villasmil < > david.villasmil.w...@gmail.com> ha scritto: > >> Hello guys, >> >> We're dispatching with hash over user, if i execute dispatcher.r

[SR-Users] dispatcher.reload

2022-02-23 Thread David Villasmil
ulated and will probably be dispatched differently? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important

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

2022-02-16 Thread David Villasmil
; the sender! >>> Edit mailing list options or unsubscribe: >>> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> >> >> >> -- >> About: http://about.me/dujinfang >> Blog: http://www.dujinfang.com >> Other: http://rts.

Re: [SR-Users] Help with rewriting headers for NAT manually

2022-01-17 Thread David Villasmil
;>>>> > > > >>>>>>>>>> In my /etc/sysctl.conf I have (yes I applied it > with sysctl -p, and I have been using it for a > > long time > > > and have > > > >>>>>>>>&g

[SR-Users] NIST advisory

2021-12-01 Thread David Villasmil
Anyone knows about this? https://nvd.nist.gov/vuln/detail/CVE-2020-28361 -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users

Re: [SR-Users] Custom info in Contact header

2021-11-21 Thread David Villasmil
amailio - 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/mai

Re: [SR-Users] STIR/SHAKEN public key

2021-11-05 Thread David Villasmil
t, root cert. > -- > obelousov.tel > > > On Thu, Nov 4, 2021 at 9:57 PM David Villasmil < > david.villasmil.w...@gmail.com> wrote: > >> Hello guys, >> >> So the PA sent us 3 files: >> >> 1- out cert >> 2- the intermediate cert >

Re: [SR-Users] STIR/SHAKEN public key

2021-11-04 Thread David Villasmil
o.org/stir/$rd/cert.pem <https://kamailio.org/stir/$rd/cert.pem>", "/secsipid/$rd/key.pem");* ?? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Nov 4, 2021 at 6:55 PM David Villasmil < david.villasmil.w...@gmail.com> wrote

Re: [SR-Users] STIR/SHAKEN public key

2021-11-04 Thread David Villasmil
Yep, that much was clear from the outset. The wording on the docs confused me, because it reads "public key". BUt now i see it's the cert and the client will get the pk from the cert. Thanks for taking the time to explain! Regards, David Villasmil email: david.villasmil.w...@gmail

  1   2   3   4   5   6   7   >