[SR-Users] Heads-up: testing needed for major OpenSSL refactoring
Hello Kamailio community, After the January refactoring of OpenSSL integration, configurations that initialise libssl in rank 0 (thread #1) are likely to trigger errors more aggressively. This type of configuration has all along been broken due to OpenSSL use of thread-local variables. The first "victim" is https://github.com/kamailio/kamailio/issues/3727 — the configuration has dispatcher + db_unixodbc (+ some driver) — this configuration initialises libssl in rank 0(thread #1). I have a couple of PRs in the queue for db_unixodbc, db_mysql (PostgreSQL may need similar attention). master and 5.7 branches are affected Regards Richard __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
[SR-Users] Re: LCR logic
Thank you for your reply. Regards --- I'm SoCIaL, MayBe El 26/01/2024 a las 6:21 p. m., Juha Heinanen escribió: Social Boh via sr-users writes: so I have 3 lcr_rule_target use the same lcr_rule entry but 3 different Gateways and priority. So the order of rules would be longest Request-URI (same) and the priority but the result is: added matched_gws[0]=[3, 5, 200, 2193562] added matched_gws[1]=[1, 5, 2, 6888519] added matched_gws[2]=[2, 5, 50, 2159388] same prefix but first rule target with priority 200 and then 2 and then 50. I think the result would be priority 2,50 and 100. ¿Or not? matched_gws are sorted after those debug messages. __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
[SR-Users] Re: usrloc database duplicate keys issue
Hello Benoit, somehow the usrloc internal record id got duplicated. Are you seeing this error frequently or just on some occasions, like the restart you mentioned? You can try to activate this parameter: https://kamailio.org/docs/modules/5.7.x/modules/usrloc.html#usrloc.p.db_insert_update Cheers, Henning > -Original Message- > From: Benoît Panizzon > Sent: Freitag, 26. Januar 2024 14:07 > To: Henning Westerholt > Cc: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] usrloc database duplicate keys issue > > Hi Henning > > Missed the first line with the specific issue: > > Jan 26 07:27:45 dev-cpereg01 kamailio[2708456]: ERROR: db_mysql > [km_dbase.c:122]: db_mysql_submit_query(): driver error on query: > Duplicate entry 'uloc-65b237f8-28983d-1' for key 'location.ruid_idx' (1062) > Jan 26 07:27:45 dev-cpereg01 kamailio[2708456]: ERROR: > [db_query.c:244]: db_do_insert_cmd(): error while submitting query Jan 26 > 07:27:45 dev-cpereg01 kamailio[2708456]: ERROR: usrloc [ucontact.c:686]: > db_insert_ucontact(): inserting contact in db failed somedudetp0216 (uloc- > 65b237f8-28983d-1) Jan 26 07:27:45 dev-cpereg01 kamailio[2708456]: > ERROR: usrloc [urecord.c:419]: wb_timer(): inserting contact into database > failed (aor: somedudetp0216) > > -- > Mit freundlichen Grüssen > > -Benoît Panizzon- @ HomeOffice und normal erreichbar > -- > I m p r o W a r e A G-Leiter Commerce Kunden > __ > > Zurlindenstrasse 29 Tel +41 61 826 93 00 > CH-4133 PrattelnFax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > __ __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: