[SR-Users] Re: kamailio sending from udp non-listening port

2024-09-10 Thread David Villasmil via sr-users
Client Support: 800.566.9810 * |* SIPTRUNK Client Support: > 800.250.6510 *|* Flowroute Client Support: 855.356.9768 > [image: img] <https://www.sip.us/> > [image: img] <https://www.siptrunk.com/> > *[image: img] <https://www.flowroute.com/>* > > > >

[SR-Users] Re: kamailio sending from udp non-listening port

2024-09-10 Thread David Villasmil via sr-users
Hello guys, also kamilio is running on a container with hostNetwork: true so it should use the correct port. The VIA looks ok (advertised ip and port are there) Regards, David Villasmil email: david.villasmil.w...@gmail.com On Tue, Sep 10, 2024 at 12:50 PM David Villasmil < david.villasmil.w

[SR-Users] Re: kamailio sending from udp non-listening port

2024-09-10 Thread David Villasmil via sr-users
Hello guys, maybe i need to add that i'm sending the call out from the internal fs using the outbound_proxy parameter. Regards, David Villasmil email: david.villasmil.w...@gmail.com On Tue, Sep 10, 2024 at 12:31 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > i

[SR-Users] kamailio sending from udp non-listening port

2024-09-10 Thread David Villasmil via sr-users
Hello guys, i'm seeing something weird, and i'm working if you can let me know. I have a kamailio in AWS with a private IP listening on several sockets: Listening on udp: 10.1.2.36:5070 udp: 10.1.2.36:5080 udp: 10.1.2.36:5160 advertise 4.3.2.1:5160

[SR-Users] Re: kamailio stri shaken configuration

2024-09-02 Thread David Villasmil via sr-users
Search the mailing list, we talked at length not long ago about this :) Regards, David Villasmil email: david.villasmil.w...@gmail.com On Mon, 2 Sep 2024 at 21:56, Daniel-Constantin Mierla via sr-users < sr-users@lists.kamailio.org> wrote: > Hello, > > On 02.09.24 19:52, Vishal Pai via sr-us

[SR-Users] Re: ds_select from xhttp:request

2024-07-24 Thread David Villasmil via sr-users
This may or not work, but maybe call it from a different route? I.e.: call another route and execute it there? Regards, David Villasmil email: david.villasmil.w...@gmail.com On Wed, 24 Jul 2024 at 08:08, Alex Balashov via sr-users < sr-users@lists.kamailio.org> wrote: > It's not a great fit.

[SR-Users] Re: SRV in advertise?

2024-07-01 Thread David Villasmil via sr-users
w it works. Yes, setting sip.domain.com:5061 works but >> the the record-route would have that (sip.domain.com) exact same host >> and the client might disconnect and reconnect to that dns instead of the >> actual SRV. >> >> >> Regards, >> >> >> >>

[SR-Users] Re: SRV in advertise?

2024-07-01 Thread David Villasmil via sr-users
the actual > SRV. > > > Regards, > > > > David Villasmil > > email: david.villasmil.w...@gmail.com > > > > > > > > On Mon, 1 Jul 2024 at 15:46, Ben Kaufman wrote: > > Are you using a hostname that should resolve as srv , for example, >

[SR-Users] Re: SRV in advertise?

2024-07-01 Thread David Villasmil via sr-users
rscore > transport protocol, hostname type like _sip._udp.domain.com ? > > > > Regards, > > Kaufman > > > > *From:* David Villasmil via sr-users > *Sent:* Sunday, June 30, 2024 6:02 PM > *To:* Kamailio (SER) - Users Mailing List > *Cc:* David Villasmil > *Subj

[SR-Users] SRV in advertise?

2024-06-30 Thread David Villasmil via sr-users
Hello guys, I'm trying to use an SRV as an advertised address but kamailio fails to start. Is this not possible? Thanks, David Villasmil email: david.villasmil.w...@gmail.com __ Kamailio - Users Mailing List - Non Commercial Discussions To

[SR-Users] Re: replies using the wrong protocol

2024-06-27 Thread David Villasmil via sr-users
good that you resolved it. Regards, David Villasmil email: david.villasmil.w...@gmail.com On Thu, Jun 27, 2024 at 2:32 PM Henning Westerholt via sr-users < sr-users@lists.kamailio.org> wrote: > Thanks for reporting back. > > Henning > > -Original Message- > From: smartin114--- via sr-u

[SR-Users] Re: SecSIPID Assistance

2024-06-20 Thread David Villasmil via sr-users
this is what i do (i have a redirect server receive the INVITEs to be signed, I add the header and then do 302, the initiating server then add it to the INVITE and sends the invite out: if ($rm=="INVITE") { $var(rc) = secsipid_add_identity("$(var(from){s.numeric})", "$(var(to){s.numeric})", "A",

[SR-Users] Re: replies using the wrong protocol

2024-06-20 Thread David Villasmil via sr-users
is there a UDP socket a well? are you translating TLS<->UDP? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 20, 2024 at 10:48 PM smartin114--- via sr-users < sr-users@lists.kamailio.org> wrote: > Yes, there is a tls socket defined. I assume sinc

[SR-Users] Re: replies using the wrong protocol

2024-06-20 Thread David Villasmil via sr-users
check https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio-tls-to-udp-with-sips-scheme.cfg that might give you some ideas Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 20, 2024 at 11:23 PM David Villasmil < david.villasmil.w..

[SR-Users] Re: replies using the wrong protocol

2024-06-20 Thread David Villasmil via sr-users
you'd need to mark the reply and before forwarding it, force_socket it to your tls socket You do have a TLS socket, right? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 20, 2024 at 7:31 PM smartin114--- via sr-users < sr-users@lists.kamailio.org>

[SR-Users] Re: replies using the wrong protocol

2024-06-20 Thread David Villasmil via sr-users
You trying to add the XML to the sdp? Are you manipulating something somewhere? It is very strange indeed... have you tried force_socket? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 20, 2024 at 7:06 PM smartin114--- via sr-users < sr-users@list

[SR-Users] Re: replies using the wrong protocol

2024-06-20 Thread David Villasmil via sr-users
can you show the 200 OK? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 20, 2024 at 5:43 PM smartin114--- via sr-users < sr-users@lists.kamailio.org> wrote: > I was trying to add an attachment of the call flow, but I don't see that I > can? > ___

[SR-Users] Re: Recommendation for a signaling B2BUA to work with Kamailio on Ubuntu

2024-06-07 Thread David Villasmil via sr-users
fs docker: https://github.com/davidcsi/docker-freeswitch that's what i always use. Performance depends upon the underlying hardware. I've seen 5000+ channels _handling rtp_. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, Jun 7, 2024 at 5:08 PM Fred

[SR-Users] Re: Assistance Needed: Converting 11-Digit US Numbers to E.164 in Kamailio

2024-06-04 Thread David Villasmil via sr-users
Hello guys, My advice, always use e.164 with "+", your life will be easier if you normalise to something. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sat, Jun 1, 2024 at 6:10 AM Pavan Kumar via sr-users < sr-users@lists.kamailio.org> wrote: > Thank y

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

2024-05-30 Thread David Villasmil via sr-users
;>>>>> the >>>>>>>> proxy inside. >>>>>>>> So when sending an INVITE to the connected client, the via has a >>>>>>>> TCP protocol like >>>>>>>> >>>>>>>> Via: SIP/2.0/T

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

2024-05-30 Thread David Villasmil via sr-users
and forcing the socket to the TCP socket to the load >>>>>> balancer, but of course i'm getting warnings about this. >>>>>> >>>>>> is this something that PR (not merged) would be addressing, i didn't >>>>&

[SR-Users] Re: Inbound Identity Verification Stir/Shaken

2024-05-30 Thread David Villasmil via sr-users
Hello, For outgoing calls _from your DIDs_ to your providers, you need to sign the identify header. For incoming calls from your providers, IF THEY SIGN them, then you verify them, Otherwise they just have no attestation. If they do provide it, it possible you need to let them know you want it, bu

[SR-Users] core dump on AWS with ~4000 TCP sockets

2024-05-30 Thread David Villasmil via sr-users
Hello all, I'm seeing core dumps (can't find them!) on AWS with lots of TCP sockets open (not related to load), kamailio dies randomly with: *May 30 14:31:03 sip-proxy /usr/sbin/kamailio[743739]: CRITICAL: [core/pass_fd.c:277]: receive_fd(): EOF on 142 May 30 14:31:03 sip-proxy /usr/sbin/kamailio

[SR-Users] Re: Inbound Identity Verification Stir/Shaken

2024-05-30 Thread David Villasmil via sr-users
Hello, not everyone has implemented this. You need to check whether it's there and validate if present. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, May 30, 2024 at 9:11 PM tfayomi--- via sr-users < sr-users@lists.kamailio.org> wrote: > Hi All, >

[SR-Users] Re: libstirshaken installation issues

2024-05-29 Thread David Villasmil via sr-users
Secsipid works flawlessly, been in production for 3 years already Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, 29 May 2024 at 20:44, tfayomi--- via sr-users < sr-users@lists.kamailio.org> wrote: > Thanks for the direction! I knew it wasn't related

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

2024-05-23 Thread David Villasmil via sr-users
gt;>>> If not, is there a way of doing this without any trickery? >>>> >>>> Thanks! >>>> >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.w...@gmail.com >>>> phone: +346

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

2024-05-23 Thread David Villasmil via sr-users
>> 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 nee

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

2024-05-22 Thread David Villasmil via sr-users
try > https://github.com/kamailio/kamailio/pull/3731 > In this PR we faced the same issue and solved this. > > > On Wed, May 22, 2024 at 3:43 AM David Villasmil via sr-users < > sr-users@lists.kamailio.org> wrote: > >> Hello Anthony, did you solve this problem?

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

[SR-Users] Re: Add XML to INVITE

2024-03-05 Thread David Villasmil via sr-users
> "multipart/mixed;boundary=\"outer\""); > > > > Hope this helps, and sorry for slow reaction. I am scanning the mailing > list in rather low frequency. > > > > Kr > > > > *From:* David Villasmil via sr-users > *Sent:* Tues

[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 INVITE. But if i > d

[SR-Users] Add XML to INVITE

2024-03-02 Thread David Villasmil via sr-users
Hello guys, I'm trying to add an xml with a boundary to an outgoing INVITE. But if i do: set_body_multipart("$rb", "application/sdp", "delimiter"); msg_apply_changes(); append_body_part("$var(something)", "application/pidf+xml"); msg_apply_changes(); but kamailio adds the SDP, but NOT the second

[SR-Users] Re: Reject TCP SYN

2024-02-15 Thread David Villasmil via sr-users
unning out. > > You can use cfg values for that or some kind of htable with value or so. > > Maybe an idea for your setup. > > David Villasmil via sr-users schrieb am > Fr., 9. Feb. 2024, 15:04: > >> >> Hey, Henning, yeah I thought about that, but thought

[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 checking to see if an

[SR-Users] Re: Reject TCP SYN

2024-02-09 Thread David Villasmil via sr-users
what about e.g. just using something like iptables, nftables etc..? > > > > iptables -A INPUT -p tcp --syn --destination-port -j REJECT > --reject-with icmp-host-prohibited > > > > Cheers, > > > > Henning > > > > *From:* David Villasmil via sr-users

[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...@gmail

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

2024-02-06 Thread David Villasmil via sr-users
Thanks for the tips. But wouldn’t that be considered by the load balancer a successful connection since there was an ACK to the SYN in order to send the 503 data? Or does that work for you because you’re relying on the client to retry and the load balancer sending to a different server? Regards,

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

[SR-Users] install location when compiling

2024-01-30 Thread David Villasmil via sr-users
Hello guys, i compiled kamailio and i want it installed on debian's deb location, i.e.: /etc/kamailio /usr/lib/x86_64-linux-gnu/kamailio/modules etc.. I know if i do make prefix=/ all make prefix=/ install the config will end up on /etc/kamailio, but then the modules will be on /lib64... i don

[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. Catching 302s and > extract

[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
_PROCESS]: Modifying <$du> to > sip scheme"); > > $du = 'sip:' + $dd + ':' + $dp; > } > return; > } > if ($rz != 'sips') { > return; > } > $du = 'sip:' + $rd + ':' +

[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: > H

[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
Hello guys, I have this setup where one side is TLS and the other UDP. Normally this works fine, but we have this provider sending sips as the schema everywhere (from, to, rr, contacts), kamailio sends the same sips to the upstream usp freeswitch. My problem is when FS sends back a 200OK and kama

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

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

[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 10:03

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