Nice idea Alex.
I use import_file and include_file and fill this with my settings from
Puppet.
Many ways to get your config strings.
There is also some ENV stuff for Kamailio to feature config strings into
startup for container environments AFAIK.
Cheers
Karsten
Alex Balashov schrieb am Mo.,
I prefer more flexibility, and so use a slightly more ornate approach
involving the Jinja2 template engine (inspired by Jango)[1] and Python
3. I'll spread it in the network in the hope that it helps someone.
--- kamailio-settings.yaml ---
listeners:
- proto: udp
addr: 127.0.0.1
port:
How about to create set of systemd drop-in for cloud providers and then
package them?
User will simple install package like "kamailio-cfg-google"
or "kamailio-cfg-amazon" and get part of kamailio runtime config.
Please comment here
https://github.com/kamailio/kamailio/issues/2125
On Mon, Nov 11,
You can also update kamailio.cfg to include listeners.cfg
Example. Need add to kamailio.cfg
### Listeners ##
include_file "/var/run/kamailio/listeners-eth0.cfg"
Before kamailio started you will generate listeners.cfg file.
This may by done by drop-in file.
Need create
That's the one, thanks @Karsten!
More info, i changed my systemd unit to execute a script when starting up,
like so:
# cat /etc/systemd/system/multi-user.target.wants/kamailio.service
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=network.target
[Service]
Type=forking
-A ... oh wow. That's savvy! Cheers.
On Sun, Nov 10, 2019 at 08:51:59PM +0100, Karsten Horsmann wrote:
> Hi David,
>
> You mean this thread from may 2019.
> https://lists.kamailio.org/pipermail/sr-users/2019-May/105599.html
>
> Pro Tipp, search on lists.kamailio.org/pipermail/ to get your
Hi David,
You mean this thread from may 2019.
https://lists.kamailio.org/pipermail/sr-users/2019-May/105599.html
Pro Tipp, search on lists.kamailio.org/pipermail/ to get your link. Great
help the mailing list archive btw.
Cheers
Karsten
David Villasmil schrieb am So., 10. Nov.
2019, 19:03:
>
Hello Nicolas,
yes - you are right. :-) I forgot about the backport.
@Sergiu - then it is strange that you see this problem in 5.2.5.
Do you just see it for e.g. one user or for all affected users?
If for all, please open an issue on our tracker about it.
Cheers,
Henning
Am 10.11.19 um
I needed to discover the user/pass for the dB when kamailio starts so as
not to store it locally. I get the data via an AWS script, then start
kamailio passing the parameters, then use of those in the script. You can
do exactly this to get and set the current ip address.
I don’t know how to share
Henning,
The enhancements are in 5.2.5 I think
De : sr-users De la part de Henning
Westerholt
Envoyé : dimanche 10 novembre 2019 18:28
À : Sergiu Pojoga
Cc : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] uac_replace_from(uri) alters display name
Hello Sergiu,
then you
On Sun, Nov 10, 2019 at 06:16:44PM +0100, Alejandro Recarey wrote:
> Hi, I am trying to get kamailio working cloud provider, autoscaling
> them behind a TCP load balancer.
>
> Is there a way for kamailio to discover its Public IP at startup? Or
> do people generally program their own startup
I see, since all the connections are TCP, there is no issue with kamailio
knowing its public IP? Normally that IP is embedded in VIA headers etc.
I’ve been reading your thread about TCP connection reuse with interest ;) Will
let you know if I find some way around it.
> On 10 Nov 2019, at
Excellent, I'll give it a try when time comes for upgrade. Thanks again.
Regards,
--Sergiu
On Sun, Nov 10, 2019 at 12:27 PM Henning Westerholt wrote:
> Hello Sergiu,
>
> then you might consider to update to 5.3 - as you use dialog storage for
> uac. See more details here:
>
>
I’m working on something similar, what cloud are you using?
In my case, using GCP, I have a script that queries the metadata API and
uses information from there, but for the setup I’m trying out, I use the LB
public IP not the VM one.
I’m curious as to how you plan to get it to work, why would
Hello Sergiu,
then you might consider to update to 5.3 - as you use dialog storage for uac.
See more details here:
https://www.kamailio.org/wiki/features/new-in-5.3.x#uac
Cheers,
Henning
Am 10.11.19 um 18:24 schrieb Sergiu Pojoga:
Hi Henning,
Happens in both versions below:
# kamcmd
Hi Henning,
Happens in both versions below:
# kamcmd version
kamailio 5.1.9 (x86_64/linux) dc1216
# kamcmd version
kamailio 5.2.5 (x86_64/linux) e10d4f
Thanks,
--Sergiu
On Sun, Nov 10, 2019 at 12:08 PM Henning Westerholt wrote:
> Hello Sergui,
>
> which version of Kamailio do you use? I did
Each cloud provider acts a little different when it comes to Nat’ing
Sent from my iPhone
> On Nov 10, 2019, at 9:16 AM, Alejandro Recarey wrote:
>
> Hi, I am trying to get kamailio working cloud provider, autoscaling
> them behind a TCP load balancer.
>
> Is there a way for kamailio to
Hi, I am trying to get kamailio working cloud provider, autoscaling
them behind a TCP load balancer.
Is there a way for kamailio to discover its Public IP at startup? Or
do people generally program their own startup scripts that modify the
kamailio config file before starting it?
Is there any
Hello Sergui,
which version of Kamailio do you use? I did some enhancements in newer
versions, also related to display names.
Cheers,
Henning
Am 10.11.19 um 17:19 schrieb Sergiu Pojoga:
Hi ppl,
Need to replace origination carrier's domain with my own, so I do:
Hi ppl,
Need to replace origination carrier's domain with my own, so I do:
branch_route[MANAGE_PSTN_IN_BRANCH] {
uac_replace_from("sip:$f...@mydomain.net");
}
The dialog-forming INVITE is relayed properly with ONLY the domain part
being replaced.
However, subsequent messages such as ACK and
Hi Gustavo,
This part would answer on OPTIONS if all conditions where true.
The "and have NOT Uri with something for and after an @" surpress the
option reply.
So you can remove that or build an own OPTIONS related stuff in your
config.
if (uri==$ru) {
if
Yes you can, it’s totally doable.
But you must have one socket for unencrypted and one for encrypted. So you
need 2 “listen” one TLS and one TCP.
On Sun, 10 Nov 2019 at 02:16, sthustfo wrote:
> Well, I was hoping there was a way to proxy from non secure (WS) to secure
> one (TLS) upstream.
>
>
Hi,
AFAIK connection from unencrypted to encrypted needs encryption (here
Kamailio with tls socket to talk to your upstream).
Maybe this all in one config example from havfo helps you more:
https://github.com/havfo/WEBRTC-to-SIP/blob/master/README.md
To give you some ideas what you can do
23 matches
Mail list logo