#!define MYSECTION"
route("1");
#!ifdef MYSECTION
route("2");
#!endif
I have declarations like this in my kamailio.cfg file, and was curious if
there was a way to use kamctl or kamcmd to enable or disable the defined
value in a live system. Or if there is another approach/mechanism I'm
unaware of the "Serial Forking Based on Q Value" stuff and use it in other
parts, but I am looking for a general way to manually manipulate routing on
live system using cli commands if possible...
Thanks,
Joshua
Hi guys,
starting from Fred article
https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/
we move step forward creating this small PoC to deploy Kamailio in docker
container with TLS enabled using Let's Encrypt
https://github.com/evoseed/kamailio-tls-letsencrypt
What do you think?
Any feedback?
Any mistakes to correct or improvements to make?
Thanks a lot
Have a good evening
Giovanni Tommasini
*evoseed s.r.l.*
phone: +39 340 11 28 800
mail: giovanni.tommasini(a)evoseed.io
site: evoseed.io
address: Via Lucrezio 13, Trieste Italy
I have in config:
modparam("sanity", "uri_checks", 3) /* RURI, From */
and then config call sanity_check() on incoming requests:
if (!sanity_check()) {
xnotice("Request from <$var(src_ip)> has invalid syntax\n");
exit;
};
When incoming request has:
From: sipp <sip:@192.168.255.95:5062>;tag=1
no notice is printed to syslog.
>From RFC 3261:
SIP-URI = "sip:" [ userinfo ] hostport uri-parameters [ headers ]
userinfo = ( user / telephone-subscriber ) [ ":" password ] "@"
user = 1*( unreserved / escaped / user-unreserved )
My understanding of that is that there needs to be at least one
character before @ sign.
-- Juha
i want to remove the First Via Header received from uac to kamailio.
so in my script i use remove_hf("Via") but in the relayed request i see that ";received=x.x.x.x;rport=xxxx" is left without any header before it.
i think internally kamailio adds a lump before i call the remove_hf function.
how to do it properly ?
Thanks
Hello,
Is it possible to run a background Python script within Kamailio? I.e.
call "fork_process" and then a non-terminating "python_exec()" from the
child?
--
-- regards
--
-- Matthias Urlichs
Hi,
I want to ask you if there is an approximate timeline for a kamailio 5.6 release?
We are planning an upgrade on our systems and are weighing different options.
Thank you
Stefan
Hello all,
I was trying to implement db_text and the documentation states it should be
something like
modparam("usrloc|auth_db", "db_url", "db_text:///tmp/kamailiodb")
but that doesn't work, it's
modparam("usrloc|auth_db", "db_url", "text:///tmp/kamailiodb")
so this line should probably be updated:
https://github.com/kamailio/kamailio/blob/master/src/modules/db_text/doc/db…
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
Hello Everyone,
I am trying inject DTMF and getting error message.
ERROR:rtpengine:rtpe_function_call: proxy replied with error: No SSRC context present for DTMF injection
I have full call rtpengine debug which I can provide upon request.
Rtpengine version
rtpengine-9.5.4.1-9.fc32.x86_64
Volga629
hello,
i want a generic way to get the sip uri in contact header.
for example if
Contact: Sipp <sip:6565@ip;ov=65;gid=45>;tid=700
i want a way to get both
<sip:6565@ip;ov=65;gid=45> (without header param)
and
<sip:6565@ip;ov=65;gid=45>;tid=700 (with header param)
Thanks.