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

2024-06-07 Thread Fred Posner via sr-users
Have you tried from their repo? > = SEMS = > > Does not seem to be actively developed in the last, couple of years. > Looks quite bloated to me for what I need. SEMS is still updated— as recently even as last month. * https://github.com/sems-server/sems Regards, Fred Po

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

2024-05-31 Thread Fred Posner via sr-users
Y speaking people will use the > 11 digit number or > the 10 digit number (without the "1" country code), but there's not a lot of > rhyme or reason > as to which is preferred in one case vs another. It was mentioned previously, and requires libphonenumber, but the phonen

[SR-Users] Re: Access avp vars in a cancel? How to pass information from an INVITE to a CANCEL?

2024-05-31 Thread Fred Posner via sr-users
g any media it is quite performative and also allows for the call to be “taken over” by freeswitch with it’s standard uuid controls. Regards, Fred Posner p: +1 (352) 664-3733 https://fred.tel __ Kamailio - Users Mailing List - Non

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

2024-05-30 Thread Fred Posner via sr-users
/www.kamailio.org/docs/modules/stable/modules/siputils.html#siputils.f.is_e164) and then use uac_replace to adjust as needed. I’m sure there are also other methods. Regards, Fred Posner p: +1 (352) 664-3733 https://fred.tel __ Kamailio - User

[SR-Users] Re: core children setting

2024-05-24 Thread Fred Posner via sr-users
org/events/2016-Fosdem/dcm-designing-scalable-rtc-signaling-servers.pdf If your system is taking 80ms to process, I’d first try to benchmark and see where the delays are and how that can be improved. Throwing more children may not help when the delay is outside of kamailio or is kamailio in a w

[SR-Users] Re: Is there any funtion to route based on source phone number

2024-05-21 Thread Fred Posner via sr-users
> On May 21, 2024, at 10:07 AM, Juha Heinanen via sr-users > wrote: > > If you want to select something based on phone number (longest) prefix, > then mtree module could be useful. > > -- Juha As many have stated… lots of routing modules. This said… +1 for mtree. ;) -—fred

[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Fred Posner via sr-users
e. If there is, it returns true. If there is no Route header the else section will be utilized. Regards, Fred Posner p: +1 (352) 664-3733 https://qxork.com > Best regards, > Pavan Kumar > > On Sat, Apr 27, 2024 at 3:29 AM Fred Posner via sr-users > wrote: > > On Apr 26, 20

[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Fred Posner via sr-users
d behaves as described in section 16.12 of RFC 3261. There is only one exception: If the request is out-of-dialog (no to-tag) and there is only one Route: header indicating the local proxy, then the Route: header is removed and the function returns FALSE." Regards, Fred Posner p: +1 (352

[SR-Users] Re: Newbie: accounting and billing

2024-04-19 Thread Fred Posner via sr-users
sing a complex sql query does have concerns when there’s high call rates and sometimes is best to instead use an API / cache / etc system. If you do run sql, I’d recommend the sanitization discussed above. Sorry for the non-answer, but there’s really not a “this is what to do” answer. —Fred Posner q

[SR-Users] Re: Real life examples of cost saving from using Kamailio and other FOSS SIP software

2024-04-14 Thread Fred Posner via sr-users
I think it’s misguided to approach FOSS as a cost savings move. Of course this is an obvious benefit with the main easily detected benefit being the lack of any cost for the software itself and no licensing / recurring license fees. -- Fred Posner Sent from mobile Phone: +1 (352) 664-3733

[SR-Users] Re: low performance with no apparent reason

2024-03-23 Thread Fred Posner via sr-users
. At some point, when you’re pouring a lot of liquid, you need to use a wider funnel. Ain’t nothing you do after the funnel will matter. The funnel is the problem. -- Fred Posner Sent from mobile Phone: +1 (352) 664-3733 qxork.com > On Mar 23, 2024, at 4:13 PM, Alex Balashov via sr-us

[SR-Users] Re: low performance with no apparent reason

2024-03-23 Thread Fred Posner via sr-users
The default queue I believe is about 2MB. Not very hard to exceed that queue while still having a good amount of CPU/processor available. -- Fred Posner Sent from mobile Phone: +1 (352) 664-3733 qxork.com > On Mar 23, 2024, at 11:47 AM, Alex Balashov via sr-users > wrote: > >

[SR-Users] Re: SIP Redirect Server

2024-03-10 Thread Fred Posner via sr-users
Do you have force_rport anywhere in the config?-- Fred PosnerSent from mobilePhone: +1 (352) 664-3733qxork.comOn Mar 10, 2024, at 8:37 AM, Antonio via sr-users wrote:Hi everyoneI have a small question:i want to set up a basic SIP Redirect Serverso I install Kamailio v5.3 and  comment  default 

[SR-Users] Re: DMQ module failure

2024-03-01 Thread Fred Posner via sr-users
levant). > No firewall active. > local IP address is 10.20.0.1 > second kamailio node IP address is 10.20.0.4 > > Any ideas? At first sight, it seems to be all set as per documentation. I > even found other configurations online, and apart from the IP address, all is > simil

[SR-Users] Re: [Presence] Updating route information for SIP NOTIFY when re-SUBSCRIBE

2024-02-28 Thread Fred Posner via sr-users
Out of curiosity, since 5.1.2 is quite old… Have you considered a supported branch (5.6, 5.7) or tried the most recent 5.1.10? The change log for 5.1.x includes: "presence: update record_route in database" Regards, Fred Posner p: +1 (352) 664-3733 contact: https://fred.tel &

[SR-Users] Re: usrloc database duplicate keys issue

2024-01-26 Thread Fred Posner via sr-users
Did you upgrade the database (assuming an upgrade from pre-5.6): https://www.kamailio.org/wikidocs/install/upgrade/5.5.x-to-5.6.0/ Regards, Fred Posner p: +1 (352) 664-3733 > On Jan 26, 2024, at 8:06 AM, Benoît Panizzon via sr-users > wrote: > > Hi Henning > > Mis

[SR-Users] Re: add a SIP custom header on a SIP response generated locally

2024-01-18 Thread Fred Posner via sr-users
Custom headers to the reply can be added using append_to_reply() function from textops module. Have you tried that? Regards, Fred Posner p: +1 (352) 664-3733 > On Jan 18, 2024, at 2:07 AM, frédéric Gaisnon via sr-users > wrote: > > Hello, > I want to add a SIP custom

[SR-Users] Re: Crash of Kamailio when using module http_async_client - function http_async_query, if module "tm.so" is not loaded (Kamailio 5.7.3)

2024-01-09 Thread Fred Posner via sr-users
The tm module is listed as a requirement to be loaded before the module: https://www.kamailio.org/docs/modules/devel/modules/http_async_client.html#idm35 Regards, Fred Posner p: +1 (352) 664-3733 > On Jan 9, 2024, at 11:24 AM, Chaigneau, Nicolas via sr-users > wrote: > > Hel

[SR-Users] Re: Setting kamailio to use another DB

2024-01-09 Thread Fred Posner via sr-users
Check out DB_CLUSTER module: https://www.kamailio.org/docs/modules/stable/modules/db_cluster.html Regards, Fred Posner p: +1 (352) 664-3733 > On Jan 9, 2024, at 10:49 AM, SAMUEL MOYA TINOCO via sr-users > wrote: > > Good evening everyone, > I’m trying to configure my

[SR-Users] Re: Setting up Kamailio as SIP Proxy

2023-12-03 Thread Fred Posner via sr-users
uch as: db_mysql db_postgres db_redis Etc. Regards, Fred Posner p: +1 (352) 664-3733 > On Dec 1, 2023, at 3:01 PM, Saul Ibarra via sr-users > wrote: > > Hey Fred, > I got it working thanks to your example, it is ofc not the exact same > configuration i needed but it

[SR-Users] Re: Setting up Kamailio as SIP Proxy

2023-11-29 Thread Fred Posner via sr-users
With the caveat of “everyone does things a bit differently”, etc… Here’s an example of how I would approach a kamailio front/uac to carrier: https://github.com/fredposner/scripts/blob/master/kamailio/uac_carrier_example.cfg Regards, Fred Posner p: +1 (352) 664-3733 > On Nov 28, 2023, a

[SR-Users] Re: Setting up Kamailio as SIP Proxy

2023-11-28 Thread Fred Posner via sr-users
with DID info in the SIP. Every carrier is a snowflake. Keeping with the snowflake theme, some carriers are also “finicky” on outbound traffic and don’t like to see certain SIP; where some modules like topos may assist. Regards, Fred Posner p: +1 (352) 664-3733 > On Nov 28, 2023, at 8:26

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

2023-10-10 Thread Fred Posner via sr-users
You could look to an Anycast example of handling this type of situation: https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/kamailio-minimal-anycast.cfg Regards, Fred Posner p: +1 (352) 664-3733 > On Oct 10, 2023, at 1:09 PM, Alex Balashov via sr-users >

[SR-Users] Re: TM max_inv_lifetime being reset by downstream responses

2023-09-25 Thread Fred Posner via sr-users
Any reason your fr_inv_timer is both so high and more than the max timer? Regards, Fred Posner > On Sep 25, 2023, at 11:03 AM, James Browne via sr-users > wrote: > > Hi all > I see this old thread from 2015. > - > https://kamailio.org/mailman3/hyperkitty/list/sr-use

[SR-Users] Kamailio World

2023-06-05 Thread Fred Posner
Kamailio World has started. The live stream was posted to:Kamailio Worldyoutube.comAdditionally there is a matrix chat specific on:https://matrix.to/#/%23kamailioworld%3Amatrix.kamailio.dev—fred __ Kamailio - Users Mailing List - Non

[SR-Users] Re: urn:emergency:service:sos as RURI

2023-04-04 Thread Fred Posner
I don’t believe kamailio does rfc8141 but I may not be correct. —fred > On Apr 4, 2023, at 6:03 AM, a.izquie...@zaleos.net wrote: > > Hello, > > I'm running a Kamailio instance with some routing logic in it. When a UA > sends an INVITE with urn:emergency:service:sos as RURI, Kamailio

[SR-Users] Re: Three year old issue with a new CVE vulnerability report being reported

2023-03-28 Thread Fred Posner
The issue does not exist in any release of 5.6.x. The issue was fixed in 5.4.2. —fred > On Mar 28, 2023, at 11:03 AM, Kaufman wrote: > > Sorry - for clarification, this issue is or is not fixed in Kamailio v5.6.4? > > >> The latest stable branch is 5.6, with v5.6.4 released out of it. > >

[SR-Users] Re: Issues/Vulnerabilities in OpenSipS that may affect Kamailio

2023-03-15 Thread Fred Posner
Just to add to what Henning has said… the report is very interesting. I did spot check a few of the examples, as Sandro excellently documented how to reproduce. The reproduction (such as what you posted with param_parser did not produce the same crash as reported. If you can reproduce

[SR-Users] Re: RABBITMQ and AWS

2023-01-06 Thread Fred Posner
On Jan 6, 2023, at 5:26 PM, Alex Balashov wrote: > > Using a Kamailio module for this purpose, or connecting to an AMQP broker in > general in some other way? Have tried with rabbitmq module on deb 11 via kam 5.6 and failed. Was hoping for the module itself and not an outside broker. —fred

[SR-Users] RABBITMQ and AWS

2023-01-06 Thread Fred Posner
Has anyone had any success connecting to RabbitMQ via a TLS 1.2 connection (such as the AWS MQ product)? Fred Posner https://pgpx.io __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users

[SR-Users] Re: Dockerized VoIP Stack

2022-12-22 Thread Fred Posner
* Kamailio Business Directory: https://www.kamailio.org/w/business-directory/ * Business Mailing List: https://lists.kamailio.org/mailman3/postorius/lists/business.lists.kamailio.org/ * Jobs/Business Room @ Kamailio Matrix: https://matrix.to/#/#kamspace:matrix.kamailio.dev Regards

[SR-Users] Re: Dockerized VoIP Stack

2022-12-21 Thread Fred Posner
> On Dec 21, 2022, at 8:41 PM, Terrance Devor wrote: > Does anyone have experience in deploying Kamailio, Asterisk and RTPProxy to a > dockerized environment with K8s? Check out some past Kamailio World and Astricon presentations, including some from Sean McCord. He even has a GitHub demo: *

[SR-Users] Re: Dockerized VoIP Stack

2022-12-21 Thread Fred Posner
-- Fred The Palner Group, Inc. +1 (212) 937-7844 > On Dec 21, 2022, at 8:41 PM, Terrance Devor wrote: > >  > Hello Everyone, > > Does anyone have experience in deploying Kamailio, Asterisk and RTPProxy to a > dockerized environment with K8s? > > In short, we are looking to deploy the

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

2022-06-29 Thread Fred Posner
> On Jun 29, 2022, at 9:03 AM, Rahul mm wrote: > > Is there any document somewhere to get Kamailio installed in a captive > network that runs w/o internet? Many ways to approach this of course, normally I will transfer to the system the tar file from GitHub to a system I’m using to ssh, scp

Re: [SR-Users] Releasing v5.6.1

2022-06-24 Thread Fred Posner
Normally this happens within 24-48 hours. Sometimes much quicker. —fred > On Jun 24, 2022, at 7:00 AM, Patrick Karton wrote: > >  > Hello Daniel , > > this is not a directly response to your mail but how much time will it take > to include this 5.6.1 version on debian repository after

Re: [SR-Users] Get all contacts by domain

2022-06-10 Thread Fred Posner
ernal parse the data (like a script or simple go program) to filter the data needed than Kamailio (leaving Kamailio CPU to RTC handling). Generally, I pull the dump and then parse it outside of kamailio. Fred Posner f...@palner.com _

Re: [SR-Users] Question on pike_check_ip(ipaddr)

2022-05-13 Thread Fred Posner
On 5/13/22 16:38, Joel Serrano wrote: I was wondering if pike_check_ip(ipaddr) needs strictly an IP as parameter or can it be a string? pike_check_ip is when you want to use an IP other than the source ip... You can always use an htable to store the ip's of your high volume clients...

Re: [SR-Users] Tips on picking random element from a list

2022-05-04 Thread Fred Posner
If you were choosing random numbers from a pool of numbers, you could always lets say store the caller-id's in redis, connect kamailio to redis, and just use the RANDOMKEY function of redis to return a caller id. Fred Posner | palner.com o: +1 (212) 937-7844 On 5/4/22 15:43, Ben Kaufman wrote

Re: [SR-Users] FAILEDOVER ROUTING WITH DNS SRV Records

2022-05-04 Thread Fred Posner
/dns.txt The above link explains Kamailio's DNS handling as well as some of the considerations with use_dns_failover, etc. Fred Posner | palner.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr

Re: [SR-Users] Manual usage and example kamailio kamctl

2022-04-01 Thread Fred Posner
the modules loaded or configured. You can also try with kamcmd... such as kamcmd core.uptime or kamcmd core.info Fred Posner | palner.com Matrix: https://matrix.to/#/@fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing

Re: [SR-Users] Interconnect with Zoom

2022-03-11 Thread Fred Posner
-no-F8_128_HMAC_SHA1_32 SDES-no-NULL_HMAC_SHA1_80 SDES-no-NULL_HMAC_SHA1_32 Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users

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

2021-12-13 Thread Fred Posner
t an internal side for NAT and an external side for using the public IP. Some discussions: https://lists.kamailio.org/pipermail/sr-users/2015-August/089512.html https://saevolgo.blogspot.com/2012/03/making-rtpproxy-work.html -- Fred Posner | palner.com Matrix:

Re: [SR-Users] JSON Error

2021-11-24 Thread Fred Posner
Are you verifying the document is valid JSON? Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 On 11/24/21 7:47 PM, Daniel W. Graham wrote: > My log is filled with this and have been unsuccessful locating > additional information by increasing debug

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

2021-11-17 Thread Fred Posner
Tested a 5.5.x build (with TLS) on Debian 11 (and raspbian) without issue, but have been in test environments. Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 On 11/17/21 3:51 PM, Patrick Karton wrote: > Hello, > > I am using kamailio 5.5.2 on debian 11

Re: [SR-Users] htable shtcn expressions

2021-10-29 Thread Fred Posner
"); xlog("L_INFO","match left +1 $shtcn(a=>%~+1)"); xlog("L_INFO","match right 444111 $shtcn(a=>~%444)"); kamailio[12832]: INFO: match right 111 1 kamailio[12832]: INFO: match left 111 0 kamailio[12832]: INFO: match left +1 1 kamailio[12832]:

Re: [SR-Users] Kamailio/Asterisk Realtime issues

2021-10-26 Thread Fred Posner
bout SNGREP: https://nickvsnetworking.com/sngrep-command-line-sip-debugging/ Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.o

Re: [SR-Users] kamailio SipTrace Module

2021-10-17 Thread Fred Posner
g/wiki/tutorials/kamailio-flag-operations Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list i

Re: [SR-Users] unable to receive UDP

2021-10-13 Thread Fred Posner
to the IP provided, we must further rule out something on the system. Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 On 10/13/21 7:58 AM, d...@htsweb.com wrote: > Hi Sergey, > > Only testing with the SIP INVITE from one of our production SIP trunk > providers. T

Re: [SR-Users] Let's Encrypt DST Root CA X3 cert CA expiration 30th/Sept - Any issues?

2021-10-08 Thread Fred Posner
t will work. "if clients of your API are using OpenSSL, they must use version 1.1.0 or later" Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussion

Re: [SR-Users] Kamailio 4.4 + rtpproxy behind the NAT (debian stretch 9.13)

2021-10-01 Thread Fred Posner
could route me to the right way. > I would highly encourage you to use current builds of kamailio, Debian, and either rtpproxy or rtpengine. With best regards, Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 Op

Re: [SR-Users] Kamailio Mid-Registration

2021-09-29 Thread Fred Posner
I had posted an example of one way of doing it: https://github.com/fredposner/scripts/blob/master/kamailio/mid-registrar.cfg Like most things in Kamailio, there's many ways to accomplish this; depending on the back end as well. Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212

Re: [SR-Users] Best practice for Kamailio "cluster" front for many TLS connections

2021-09-11 Thread Fred Posner
or many >> TLS connections >> >> >> >> Hi Fred, >> >> >> >> Thanks for the suggestions. >> >> I have been looking to all these presentations mostly from Rasvan but, he >> mostly suggesting clusterer module combined

Re: [SR-Users] Best practice for Kamailio "cluster" front for many TLS connections

2021-09-11 Thread Fred Posner
ailioworld youtube channel (youtube,com/c/kamailioworld) as well as slides regarding large scale deployments (such as 1&1). With best regards, Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 OpenPGP_signature Description: Ope

Re: [SR-Users] Kamailio dispatcher -> FreeSWITCH transfers handling.

2021-09-09 Thread Fred Posner
but sounds like you're on the right track for sure. Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the ma

Re: [SR-Users] Register Forwarding

2021-08-21 Thread Fred Posner
post is a great solution. -- Fred Posner -- www.palner.com Matrix: @fred:matrix.lod.com On 8/21/21 6:24 AM, Alex Balashov wrote: > For your second question, do not mess with the contact. The proper > solution is the path extension. See the path module. > > — > Sent from m

Re: [SR-Users] Is this idea even feasible?

2021-08-18 Thread Fred Posner
emain respectful. Disagreement is no excuse for poor behaviour or personal attacks, and a community in which people feel threatened is not a healthy community." Thank you all. https://github.com/kamailio/kamailio/blob/master/CODE_OF_CONDUCT.md -- Fred Posner -- www.palner.com Matrix: @fred:matr

Re: [SR-Users] Is this idea even feasible?

2021-08-18 Thread Fred Posner
ink the overwhelming response from the group at large is that what you are looking to do is best handled through a variety of b2bua programs. I would highly recommend that for assistance with the next step, you reach out to the communities for those systems, such as Asterisk, FreeSWITCH, PJProject, et

Re: [SR-Users] Is this idea even feasible?

2021-08-17 Thread Fred Posner
ould be possible? Asterisk was just one possibility of course. I don't know your case in detail and probably best to direct that question to an Asterisk group of course... This said, Asterisk if as a b2bua you may want to look at moh_passthrough and ARI. -- Fred Posner -- www.pal

Re: [SR-Users] Is this idea even feasible?

2021-08-17 Thread Fred Posner
ly sounds like a better use case for Asterisk, FreeSWITCH, SEMS, or PJSIP. -- Fred Posner -- www.palner.com Matrix: @fred:matrix.lod.com __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Import

Re: [SR-Users] please help to configure tls in kamailio for webrtc client like simpl5

2021-07-15 Thread Fred Posner
On 7/15/21 11:12 AM, ThanhTruong wrote: > i am not sure what is the issue. Well, you are currently requiring a client certificate. If you are not meaning to do this, set that to no. -- Fred Posner -- www.palner.com Matrix: @fred:matrix.lod.

Re: [SR-Users] please help to configure tls in kamailio for webrtc client like simpl5

2021-07-15 Thread Fred Posner
On 7/15/21 10:51 AM, ThanhTruong wrote: > [client:default] > verify_certificate =yes > require_certificate =yes > tls_accept: client did not present a certificate Did you mean to require client certificates? -- Fred Posner -- www.palner.com Matrix: @fred:ma

Re: [SR-Users] Architecture - your opinion is welcome and your experience too

2021-05-28 Thread Fred Posner
a mid-registrar and you could either move Asterisk to private IP and proxy the RTP or have a domain lookup (htable or module) to forward the domain to the proper PBX. Many different ways to approach it of course. -- Fred Posner -- www.palner.com Matrix: @fred:matrix.l

Re: [SR-Users] Help to overwrite the $od, or another solution

2021-05-14 Thread Fred Posner
; What would the best why to achieve this rewriting?  > Take a look at UAC module: https://www.kamailio.org/docs/modules/stable/modules/uac.html In your case: uac_replace_to_uri You can also use replace_all within textops: https://www.kamailio.org/docs/modules/stable/modules/textops.html -

Re: [SR-Users] unsubscribe list

2021-04-23 Thread Fred Posner
On 4/23/21 9:22 AM, Santanu B wrote: > where to  > > > unsubscribe list > Go to: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Fred Posner -- www.palner.com Matrix: @fred:matrix.lod.com ___ Kamailio (SER)

Re: [SR-Users] Kamailio <-> Metaswitch for cross-domain SIP calls

2021-04-08 Thread Fred Posner
her. There's not a step-to-step recipe to follow. https://www.kamailio.org/wiki/tutorials/faq/main is a good place to start. Fred Posner f...@palner.com https://www.palner.com +1 (212) 937-7844 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kama

Re: [SR-Users] MID-Registrar Example

2020-12-23 Thread Fred Posner
.com/fredposner/scripts/blob/master/kamailio/mid-registrar.cfg -- fred Fred Posner f...@palner.com https://www.palner.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] No trusted table found

2020-10-17 Thread Fred Posner
On Sat, 2020-10-17 at 19:14 +0200, Jon Bonilla (Manwe) wrote: > Sorry for the noise. > > I had modparam db_url but no db_mode > > Great! You probably will help someone in the future having this same issue. Thanks for following up and have a great weekend. -- Fred Posner

Re: [SR-Users] No trusted table found

2020-10-17 Thread Fred Posner
"kamailio_receiver_20276", "id": 20276}] > > ERROR: permissions [trusted.c:69]: reload_trusted_table(): in-memory > hash table > not initialized > [snip] I think perhaps we would need more information to help troubleshoot, such as t

Re: [SR-Users] SRTP

2020-10-14 Thread Fred Posner
l) for information on flagging the offer/manage. Of course, this would also require you to install and run rtpengine. -- Fred Posner f...@palner.com https://www.palner.com Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com ___ Kamailio

Re: [SR-Users] routing calls based on prefix

2020-10-13 Thread Fred Posner
d calls to a dispatcher and calls > from that dispatcher out a uac > if(ds_is_from_list()) { ... } ds_is_from_list is a great way to quickly check if the source is a dispatcher node. -- Fred Posner f...@palner.com https://www.palner.com Need Fred? Call Fred. 33

Re: [SR-Users] Kamailio Bridge

2020-10-09 Thread Fred Posner
On Fri, 2020-10-09 at 10:15 -0400, conradcorde...@gmail.com wrote: > Hello everyone, > > > Please, see this: > https://github.com/fredposner/scripts/blob/master/kamailio/kamailio-tls_srtp-bridge.cfg > . > > > I am researching to understand how this TLS-bridge configuration > works > and

Re: [SR-Users] SIP message generator for Kamailio

2020-10-03 Thread Fred Posner
Probably best to use SIPP or another SIP product for testing Kamailio. This said, look to the UAC module for generating SIP messages. -- Fred > On Oct 3, 2020, at 11:30 AM, luke devon wrote: > >  > Hi Team, > > May I check with you, Is there a SIP message generator available for the >

Re: [SR-Users] Received parameter on Via

2020-09-28 Thread Fred Posner
There’s a good write up from Alex Balashov on NAT, Kamailio, and the sorcerers stone. http://www.evaristesys.com/blog/server-side-nat-traversal-with-kamailio-the-definitive-guide/ -- Fred > On Sep 28, 2020, at 9:00 PM, George Diamantopoulos > wrote: > >  > Received parameter is always

Re: [SR-Users] Computing a time difference when handling a stateless SIP request

2020-09-25 Thread Fred Posner
On Fri, 2020-09-25 at 15:34 +, Chaigneau, Nicolas wrote: > > > > > > --snip > > > I would like to compute a time difference (with microseconds > > > precision) when handling a stateless SIP request. > > > --snip > > > > Welcome! > > > > Take a look at: > >

Re: [SR-Users] Computing a time difference when handling a stateless SIP request

2020-09-25 Thread Fred Posner
riables#timeval You can get down to the microsecond level. -- Fred Posner f...@palner.com https://www.palner.com Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kam

Re: [SR-Users] Regular Expression Evaluation

2020-09-09 Thread Fred Posner
I had an extra 10 in there ;) if ((is_method("INVITE")) && ($rd =~ "10\.10\.[[:digit:]]+\.[[:digit:]]+")) { or if ((is_method("INVITE")) && ($rd =~ "10\.10\.[0-9]+\.[0-9]+")) { --fred On Wed, 2020-09-09 at 16:15 -0400, Fred Posner

Re: [SR-Users] Regular Expression Evaluation

2020-09-09 Thread Fred Posner
I would try: if(uri=~"10\.10\.10\.[[:digit:]]+\.[[:digit:]]+") or if(uri=~"10\.10\.10\.[0-9]+\.[0-9]+") --fred On Wed, 2020-09-09 at 15:53 -0400, Alex Balashov wrote: > The answer to the question as posed would also be interesting, > however. > It seems to me it should work. > > On 9/9/20

Re: [SR-Users] Regular Expression Evaluation

2020-09-09 Thread Fred Posner
+1: is_in_subnet is phenomenal... --fred On Wed, 2020-09-09 at 19:40 +, Henning Westerholt wrote: > Hi Mack, > > This might be easier: > https://kamailio.org/docs/modules/devel/modules/ipops.html#ipops.f.is_in_subnet > > Cheers, > > Henning > > -- > Henning Westerholt –

Re: [SR-Users] Kamailio vulnerable to header smuggling possible due to bypass of remove_hf

2020-09-02 Thread Fred Posner
As I was drafting my response, Alex articulated a response better than I could dream. I agree with the project response, Daniel's response, and also would like to add that remove_hf_re has been here since 1.5 and is not vulnerable to the scenario described. Internally, the headers would need to

Re: [SR-Users] Regex in the switch statement

2020-08-17 Thread Fred Posner
On Mon, 2020-08-17 at 13:48 -0400, Alex Balashov wrote: > I'm not sure if it's supported, but the usual way of doing this in > other > languages is: > > switch(expr) { >case CASE1: >case CASE2: > ... > break; > >case CASE3: > ... > }

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Fred Posner
not particular to kamailio... To me, personally, this is a good use case of a stored procedure, and then having that stored procedure return to you the information you want as a result of the sql action taken. -- Fred Posner f...@palner.com https://www.palner.com Need Fred? Call Fred. 336-

Re: [SR-Users] Advertise concept

2020-06-25 Thread Fred Posner
On Thu, 2020-06-25 at 11:22 -0500, Social Boh wrote: > Sorry for private message, Fred > Thank you for your answer. > > > You could use it for all communication, regardless of method... so > > if > > behind NAT, it would certainly make sense to use advertise for > > registers. > > you means

Re: [SR-Users] Advertise concept

2020-06-25 Thread Fred Posner
On Thu, 2020-06-25 at 09:23 -0500, Social Boh wrote: > Hello, > > maybe i don't understood completely the use of Advertise parameter. > > We use it only if Kamailio is behind a NAT and Kamailio have to > comunicate over is PublicIP with provider, other SIP proxy and PBX > but > never to accept

Re: [SR-Users] How to overwrite DisplayName

2020-06-05 Thread Fred Posner
Are you doing any other changes (contact alias, etc.)? You may benefit from applying the changes and seeing if this makes a difference. --fred On Fri, 2020-06-05 at 11:56 +, Henning Westerholt wrote: > Hello, > > understand. I remember that I fixed some bugs for version based on > 5.2 and

Re: [SR-Users] RTPEngine call associations

2020-05-25 Thread Fred Posner
I found this from 2015... https://github.com/kamailio/kamailio/pull/390 If it's still holding true, looks like it's rehashed? --fred On Mon, 2020-05-25 at 18:02 -0400, Alex Balashov wrote: > Hi, > > When using a single RTPEngine, or a single RTPEngine per set, it is > possible to make

Re: [SR-Users] Next online devel meeting - Wed, Apr 29, 2020, 14:00UTC

2020-04-30 Thread Fred Posner
The kamailio devel meeting starts in just under 30 min =) If you have a matrix account, point your favorite client to: #kamailio:http://matrix.kamailio.dev. No account? No problem! Go to https://riot.kamailio.dev, click explore rooms, then click Join next to #kamailio See you there! --fred

Re: [SR-Users] [sr-dev] Next online devel meeting - Wed, Apr 29, 2020, 14:00UTC

2020-04-29 Thread Fred Posner
Julian, Are you using the browser? (if not can you try using the browser at https://riot.kamailio.dev ) (it's running the latest builds) --fred On Wed, 2020-04-29 at 07:05 -0700, Julien Chavanton wrote: > Error 1 : > Trying to login > Unable to connect to Homeserver. Retrying > > Error 2

Re: [SR-Users] RTP relay

2020-04-27 Thread Fred Posner
You'll need to use an rtp proxy such as rtpengine or rtpproxy for this. This is a great example of when you need an rtp proxy outside of NAT. -- Fred Posner f...@palner.com https://www.palner.com Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com On Mon, 2020-04-27 at 09:10

Re: [SR-Users] Help me open ports for my kamailio

2020-03-04 Thread Fred Posner
On Wed, 2020-03-04 at 14:49 +0200, Stefan Troplev wrote: > This is my rtpproxy configuration > > /etc/init.d/rtpproxy > > > [snip] The following page from rtpproxy provides an example of opening ports within the service: https://www.rtpproxy.org/doc/master/user_manual.html#idm45633805004384

Re: [SR-Users] Using the To header to route a call

2020-02-24 Thread Fred Posner
rs will generally state that they are not RFC compliant and this is simply how most vendors are. For SIP vendors needing the To header to be modified to their liking, take a look at: https://www.kamailio.org/docs/modules/stable/modules/uac.html#uac.f.uac_replace_to It can be modified as necessary and even up

Re: [SR-Users] Help me open ports for my kamailio

2020-02-13 Thread Fred Posner
rtpengine or rtpproxy) to proxy/relay media and the ports needed would be opened within that software. Fred Posner f...@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733 Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com ___ Kamailio

Re: [SR-Users] Call-ID Uniqueness and safety?

2020-02-13 Thread Fred Posner
Mark, There’s a module in Kamailio for uuid which would be generated by kamailio and may be useful in your needs. You may need the additional step of correlating the uuid to the call-I’d, but should be better prevention of injection type issues. -- Fred direct/sms +1 (336) 439-3733 > On

Re: [SR-Users] http_client interface

2020-01-16 Thread Fred Posner
headers, ...). > > Cheers, > Daniel > Thank you Daniel, I implemented a work around (little proxy in go) but would love if the option was added for the future. Fred Posner f...@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733 Need Fred? Cal

[SR-Users] http_client interface

2020-01-13 Thread Fred Posner
I'd never had a reason to before, but on a deployment I need http messages to go out a specific interface. Curl has an --interface option, but I don't see how to do the same with http_client. Unless I'm missing something... Anyone ever do something like this? -- Fred Posner f...@qxork.com https

Re: [SR-Users] Siremis & freeswitch

2019-12-28 Thread Fred Posner
It’s hard to make suggestions without knowing what errors you were having. -- Fred direct/sms +1 (336) 439-3733 > On Dec 28, 2019, at 3:32 PM, John Tuxies wrote: > > I have a Debian server running Kamailio and i have all my users regiatering > and talking to each other. I do create/remove

Re: [SR-Users] [sr-dev] Merry Christmas and Happy Holidays!

2019-12-24 Thread Fred Posner
Thank you to all who make Kamailio possible and looking forward to an amazing 2020. -- Fred direct/sms +1 (336) 439-3733 > On Dec 24, 2019, at 6:05 PM, Julien Chavanton wrote: > >  > I also want to share my good thoughts from the Pacific Northwest. > > Happy holidays to everyone in this

Re: [SR-Users] Kamailio SIP TLS Troubleshooting

2019-12-18 Thread Fred Posner
You can do this with the siptrace module and send to a homer system or other receiver. You can choose what messages to mirror/trace. -- Fred direct/sms +1 (336) 439-3733 > On Dec 18, 2019, at 7:36 AM, Sudhakar Parasher > wrote: > >  > Hi Experts. > > Need your opinion on below part

Re: [SR-Users] Contact header requirement

2019-12-02 Thread Fred Posner
very ugly and Alex's approach is better. =) Fred Posner f...@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733 Need Fred? Call Fred. 336-HEY-FRED Matrix: @fred:matrix.lod.com ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org http

Re: [SR-Users] RFC: default config with jsonrpc over http instead of xmlrpc

2019-11-05 Thread Fred Posner
aniel-Constantin Mierla -- www.asipto.com >> www.twitter.com/miconda -- www.linkedin.com/in/miconda >> Kamailio World Conference - April 27-29, 2020, in Berlin -- >> www.kamailioworld.com Fred Posner f...@qxork.com https://qxork.com Direct/SMS: +1 (336) 439-3733 Need Fred? Call Fred. 336-HEY-

Re: [SR-Users] Kamailio Charging

2019-09-25 Thread Fred Posner
On 9/25/19 1:50 PM, Jack R wrote: > Hi, > > Does Kamailio provide some charging functionality?   > Not in the core, but in some modules, including the IMS you suggested as well as: https://www.kamailio.org/docs/modules/stable/modules/call_control.html

  1   2   >