Hello,
Kamailio SIP Server project is organizing another meeting of its
developers during November 16-17, 2022, hosted again by sipgate.de in
Dusseldorf, Germany.
The event is intended to facilitate the interaction between Kamailio
developers and to offer a convenient environment for working together on
several topics of high interest for the project, including writing code
for Kamailio and its tools, improving documentation, or discuss about
future development.
Everyone from the community is welcome to join. Please note we have a
limited capacity of seats in the meeting room, the main policy for
accepting participants being first come first server. Also, very
important to be aware that this is not an event to learn how to use
Kamailio.
More details about the event, the venue, how to register, are available at:
* https://www.kamailio.org/w/developers-meeting/
Looking forward to those two intensive hacking Kamailio days in Dusseldorf!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Oct 10-13, 2022 (Europe Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
Hey All,
I always struggle with loose_route() and I implemented workarounds in the
past. But, I want to get a better understanding.
I have a SIP Endpoint -> Kamailio -> FreeSWITCH
The domain and alias is set to the ip address of the Kamailio server
(137.184.130.206)
When I get the ACK back from the SIP Endpoint it looks like this
ACK sip:18889072085@137.184.72.42:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.1.10.140:1052
;branch=z9hG4bK-524287-1---740db0025fa217ce;rport
Max-Forwards: 70
*Route: <sip:137.184.130.206;lr>*
Contact: <sip:1000@50.192.97.226:53790;transport=UDP>
To: <sip:18889072085@dsiptest.dsiprouter.net>;tag=5gv4etZ8tUUcH
From: <sip:1000@dsiptest.dsiprouter.net;transport=UDP>;tag=0af5b751
Call-ID: fWido7VIUKIEI6f6kf4vkQ..
CSeq: 1 ACK
User-Agent: Z 5.5.8 v2.10.17.2
Content-Length: 0
Kamailio will then remove the ACK and change the RURI to itself, which
causes an ACK loop. This is what is look like
*ACK sip:137.184.130.206;lr* SIP/2.0
Via: SIP/2.0/UDP
137.184.130.206;branch=z9hG4bK3fd.0cf34b683f0627ee2455594ea6cb2517.0
Via: SIP/2.0/UDP 10.1.10.140:1052
;received=50.192.97.226;branch=z9hG4bK-524287-1---740db0025fa217ce;rport=1052
Max-Forwards: 69
Contact: <sip:1000@50.192.97.226:1052;transport=UDP>
To: <sip:18889072085@dsiptest.dsiprouter.net>;tag=5gv4etZ8tUUcH
From: <sip:1000@dsiptest.dsiprouter.net;transport=UDP>;tag=0af5b751
Call-ID: fWido7VIUKIEI6f6kf4vkQ..
CSeq: 1 ACK
User-Agent: Z 5.5.8 v2.10.17.2
Content-Length: 0
*Question:*
What am I missing here? We have the alias set and we even set it in the
domain module (with the register_myself flag). We have workarounds for
this, but I would prefer to figure out how to have Kamailio handle this
natively via the loose_route or tm module.
Thanks in advance,
Hello!
In order to keep the SIP/TCP connection alive for some specific clients
(more precisely, specific firewalls) in long calls, I use periodic SIP
OPTIONS probes through the dialog module.
I noticed that when subscribers are using the SIP/TLS protocol, such
keepalives are not sent (with SIP/UDP and SIP/TCP working well).
I did not detect any obvious errors in the debug mode.
Are there any ideas why the messages are not being sent for SIP/TLS leg?
----
loadmodule "dialog.so"
modparam("dialog", "db_url", "DBURL")
modparam("dialog", "db_mode", 1)
modparam("dialog", "ka_timer", 5)
modparam("dialog", "ka_interval", 30)
modparam("dialog", "ka_failed_limit", 2)
modparam("dialog", "send_bye", 1)
modparam("dialog", "track_cseq_updates", 1)
modparam("dialog", "default_timeout", 7205)
-----
dlg_manage();
dlg_set_property("ka-src");
dlg_set_property("ka-dst");
--
BR,
Denys Pozniak
Hi,
With Kamailio 5.5.3 (with KEMI/Lua) I noticed it apparently had stopped
responding to OPTIONS in my test system. It can cause problems if a similar
issue appears in production.
Only thing i could observe it was apparently responding to INVITE and
CANCEL etc randomly , its pretty strange as it was not dead completely.
There was no core dump, I restarted and it started functioning again.
Any clues please?
--
Muhammad Danish Moosa
" The core of mans' spirit comes from new experiences. "___ Christopher
McCandless
Running into an issue where I can't access certain functions inside the response route or "route_name" for handling the asynchronous reply from an http_async_query() that's being run. Does anyone know what type of route that is considered to be? I know it's not a request route or a failure route based on the errors I'm getting, but I can't find anything that outlines what that route actually is.
Thanks!
Brooks Bridges
1200 S. Rogers Circle, Unit 6
Boca Raton, FL 33487
Office: 916-235-2097 Main: 888-444-1111
email: bbridges(a)call48.com | web: www.call48.com
Confidentiality Notice: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named on the e-mail. If the reader of this e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.
Hi,
Are there any known contraindications for replicating contacts using dmq/dmq_usrloc, and injecting those contacts into a database on one of the nodes using usrloc with `db_mode` 1 or 2?
Predictably, this is being done to support the use-case of getting registration status from database. If you think this should be done with JSONRPC, I am in complete agreement with you, but it’s not up to me. :-)
I am doing this with `db_mode` 2 now, and finding that, for a small number of AORs, one can find instances where they are consistently stored in memory but not present in the `location` table. The overall proportion of these AORs, out of thousands, seems to be quite small. It was initially somewhat higher, and it went down once I increased usrloc `timer_processes` and increased the sync interval from 30 to 60 seconds.
Nevertheless, it is still non-zero, and I am getting intermittent reports. I wonder if there are some prior experiences with this and anything to watch out, or if `db_mode` 1 might be a superior choice. I personally cannot see how that would be; it seems to have all the performance downsides of mode 3. But perhaps if something about it is more “problem-free” vis-a-vis DMQ, it’s worth a shot?
— Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Hello,
following the recent new feature of #!ifexp based on snexpr
(https://www.kamailio.org/w/2022/09/ifexp-conditional-preprocessor-blocks/),
another preprocessor directive was added which allows defining IDs with
a value computed from the evaluation of an expression, respectively:
#!defexp ID EXP
The EXP can be any expression supported by snexpr, including the
previously defined IDs. For example:
#!define IPADDR 1.2.3.4
#!define PORT 5060
#!defexp SIPURI "sip:" + IPADDR + ":" + PORT
The result is that SIPURI is defined to sip:1.2.3.4:5060.
Another variant is available as #!defexps, which encloses the result of
the expression in double quotes, making it suitable to be used further
as string value:
#!defexps SIPURI "sip:" + IPADDR + ":" + PORT
The result is that SIPURI is defined to “sip:1.2.3.4:5060”.
More details at:
- https://www.kamailio.org/wikidocs/cookbooks/devel/core/#defexp
- https://www.kamailio.org/wikidocs/cookbooks/devel/core/#defexps
Testing would be appreciated, feedback can be addressed to sr-users
mailing list!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
Nov 7-10, 2022 (Europe Timezone)
* https://www.asipto.com/sw/kamailio-advanced-training-online/
Hello everyone!
I'm testing calls with STIR/SHAKEN with a Secsipid module on a Kamailio
version 5.6.1 and ran into a problem. Outbound calls work fine when the
function *secsipid_add_identity* with appropriate parameters is called. But
as soon as I add function *secsipid_check_identity* to my configuration,
Kamilio would not start. Here is an error message I get:
*kamailio: CRITICAL: <core> [core/cfg.y:3791]: yyerror_at(): parse error in
config file /etc/kamailio/include/registrar.cfg, line 47, column 39:
unknown command, missing loadmodule?*
*loadmodule "secsipid.so"* is present and is above the function
*secsipid_check_identity* call. Both secsipid.so and secsipid_proc.so
module files are the correct version and present on the system.
Another question is related to the rpm package build. How do you build
additional modules? I made adjustment to the pkg/kamailio/Makefile file. In
the *cfg* section changed *$(MAKE) -C ../../src cfg* with *$(MAKE)
FLAVOUR=kamailio include_modules="secsipid secsipid_proc" -C ../../src cfg*.
Required modules appeared in the modules.lst file but their rpm packages
were not built.
Thank you very much!
Hi Community,
I'm experimenting with dmq to do dialog sync between two instances of
Kamailio. This works great so far. When I did my first experiments I
even could create a CDR when there was a failover. Since some Versions
(we are now on Version 5.6.1) I just get a acc-request in log but no
acc-cdr. In former versions this worked. Both server have the same
configuration and both server writes cdrs when theres no failover.
In case of a failover everything is fine, the dialogs are clean and
thanks to dmq all needed variables are replicated between the server.
There's just no cdr.
I found nothing on the issue-page on github but maybe somebody knows
something about it.
BR
Björn
--
Björn Klasen, Senior Specialist (VoIP)
TNG Stadtnetz GmbH, TNG-Technik
Projensdorfer Str. 324
24106 Kiel・Deutschland
T +49 431 7097-10
F +49 431 7097-555
bklasen(a)tng.de
www.tng.de <http://www.tng.de>
Executive board (Geschäftsführer):
Dr. Sven Willert (CEO/Vorsitz), Helmut Gertz,
Moritz Meis, Gunnar Peter, Sven Schade,
Carsten Tolkmit
Amtsgericht Kiel HRB 6002 KI
USt-ID: DE225201428
Die Information über die Verarbeitung Ihrer Daten
gemäß Artikel 12 DSGVO können Siehier <https://tng.de/privatkunden/datenschutz/>abrufen.