kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
July
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
March 2025
----- 2025 -----
July 2025
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
10 participants
184 discussions
Start a n
N
ew thread
git:master:f72ed8c5: auth: support for password hasing with SHA512
by Daniel-Constantin Mierla
05 Mar '25
05 Mar '25
Module: kamailio Branch: master Commit: f72ed8c5d769dc0d1434d72b51e365598aecaa82 URL:
https://github.com/kamailio/kamailio/commit/f72ed8c5d769dc0d1434d72b51e3655…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-05T12:54:40+01:00 auth: support for password hasing with SHA512 --- Modified: src/modules/auth/auth_mod.c Modified: src/modules/auth/rfc2617_sha256.c Modified: src/modules/auth/rfc2617_sha256.h --- Diff:
https://github.com/kamailio/kamailio/commit/f72ed8c5d769dc0d1434d72b51e3655…
Patch:
https://github.com/kamailio/kamailio/commit/f72ed8c5d769dc0d1434d72b51e3655…
1
0
0
0
git:master:d901d4ea: kamctl: CMDHASH to specify password hashing command
by Daniel-Constantin Mierla
05 Mar '25
05 Mar '25
Module: kamailio Branch: master Commit: d901d4eab24c2b8ddd5880da05083eafc9e0daea URL:
https://github.com/kamailio/kamailio/commit/d901d4eab24c2b8ddd5880da05083ea…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-05T12:22:04+01:00 kamctl: CMDHASH to specify password hashing command - like md5sum, sha256sum --- Modified: utils/kamctl/kamctl.base Modified: utils/kamctl/kamctlrc --- Diff:
https://github.com/kamailio/kamailio/commit/d901d4eab24c2b8ddd5880da05083ea…
Patch:
https://github.com/kamailio/kamailio/commit/d901d4eab24c2b8ddd5880da05083ea…
--- diff --git a/utils/kamctl/kamctl.base b/utils/kamctl/kamctl.base index ea0fff94362..e61b556c3d0 100644 --- a/utils/kamctl/kamctl.base +++ b/utils/kamctl/kamctl.base @@ -62,14 +62,19 @@ if [ -z "$GDB" ] ; then GDB="$TOOLPATH" fi fi -if [ -z "$MD5" ]; then - locate_tool md5sum md5 - if [ -z "$TOOLPATH" ] ; then - # now error, but we can look for alternative names if it is the case - echo "error: 'md5sum' or 'md5' tool not found: set MD5 variable to correct tool path" - exit +if [ -z "$CMDHASH" ]; then + if [ -z "$MD5" ]; then + locate_tool md5sum md5 + if [ -z "$TOOLPATH" ] ; then + # now error, but we can look for alternative names if it is the case + echo "error: 'md5sum' or 'md5' tool not found: set CMDHASH variable to correct tool path" + exit + fi + CMDHASH="$TOOLPATH" + else + # handle old variable setting md5 tool + CMDHASH="$MD5" fi - MD5="$TOOLPATH" fi if [ -z "$LAST_LINE" ] ; then locate_tool tail @@ -777,7 +782,7 @@ filter_json() # output: HA1 _gen_ha1() { - HA1=`echo -n "$1:$2:$3" | $MD5 | $AWK '{ print $1 }'` + HA1=`echo -n "$1:$2:$3" | $CMDHASH | $AWK '{ print $1 }'` if [ $? -ne 0 ] ; then echo "HA1 calculation failed" exit 1 @@ -788,7 +793,7 @@ _gen_ha1() # output: HA1B _gen_ha1b() { - HA1B=`echo -n "$1@$2:$2:$3" | $MD5 | $AWK '{ print $1 }'` + HA1B=`echo -n "$1@$2:$2:$3" | $CMDHASH | $AWK '{ print $1 }'` if [ $? -ne 0 ] ; then echo "HA1B calculation failed" exit 1 @@ -800,7 +805,7 @@ _gen_ha1b() _gen_phplib_id() { NOW=`date`; - PHPLIB_ID=`echo -n "$1$2:$3:$NOW" | $MD5 | $AWK '{ print $1 }'` + PHPLIB_ID=`echo -n "$1$2:$3:$NOW" | $CMDHASH | $AWK '{ print $1 }'` } # params: user, password diff --git a/utils/kamctl/kamctlrc b/utils/kamctl/kamctlrc index 67af483d9c6..eb5c361f18b 100644 --- a/utils/kamctl/kamctlrc +++ b/utils/kamctl/kamctlrc @@ -79,8 +79,9 @@ # DEFAULT_Q="1.0" -## Program to calculate a message-digest fingerprint -# MD5="md5sum" +## Program to calculate the MD5/SHA256 message-digest fingerprint +# - md5sum, sha256sum +# CMDHASH="md5sum" ## awk tool # AWK="awk"
1
0
0
0
git:master:d13c1270: modules: readme files regenerated - app_python3 ... [skip ci]
by Kamailio Dev
05 Mar '25
05 Mar '25
Module: kamailio Branch: master Commit: d13c1270c8855a38f7ccc9a9c8ff6f556a822773 URL:
https://github.com/kamailio/kamailio/commit/d13c1270c8855a38f7ccc9a9c8ff6f5…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2025-03-05T10:31:09+01:00 modules: readme files regenerated - app_python3 ... [skip ci] --- Modified: src/modules/app_python3/README --- Diff:
https://github.com/kamailio/kamailio/commit/d13c1270c8855a38f7ccc9a9c8ff6f5…
Patch:
https://github.com/kamailio/kamailio/commit/d13c1270c8855a38f7ccc9a9c8ff6f5…
--- diff --git a/src/modules/app_python3/README b/src/modules/app_python3/README index 5ee3d8ff3b6..5a012417df5 100644 --- a/src/modules/app_python3/README +++ b/src/modules/app_python3/README @@ -27,6 +27,7 @@ Maxim Sobolev 3.2. script_name (string) 3.3. mod_init_function (string) 3.4. child_init_method (string) + 3.5. threads_mode (int) 4. Functions @@ -44,7 +45,8 @@ Maxim Sobolev 1.1. Set load parameter 1.2. Set mod_init_function parameter 1.3. Set child_init_method parameter - 1.4. python_exec usage + 1.4. Set threads_mode parameter + 1.5. python_exec usage Chapter 1. Admin Guide @@ -62,6 +64,7 @@ Chapter 1. Admin Guide 3.2. script_name (string) 3.3. mod_init_function (string) 3.4. child_init_method (string) + 3.5. threads_mode (int) 4. Functions @@ -124,6 +127,7 @@ Chapter 1. Admin Guide 3.2. script_name (string) 3.3. mod_init_function (string) 3.4. child_init_method (string) + 3.5. threads_mode (int) 3.1. load (string) @@ -166,6 +170,20 @@ modparam("app_python3", "mod_init_function", "my_mod_init") modparam("app_python3", "child_init_method", "my_child_init") ... +3.5. threads_mode (int) + + Control how locking for Python interpreter threads in done. If set to + 1, use Py_BLOCK_THREADS/Py_UNBLOCK_THREADS (new mode added for v6.0.x). + If set to 0, use PyGILState_Ensure()/PyGILState_Release() (the mode + implemented initially). + + Default value is “0”. + + Example 1.4. Set threads_mode parameter +... +modparam("app_python3", "threads_mode", 1) +... + 4. Functions 4.1. python_exec(method [, args]) @@ -178,7 +196,7 @@ modparam("app_python3", "child_init_method", "my_child_init") Both parameters can contain pseudo-variables. - Example 1.4. python_exec usage + Example 1.5. python_exec usage ... python_exec("my_python_function"); python_exec("my_python_function", "my_params");
1
0
0
0
git:master:9ee8f962: app_python3s: docs for threads_mode parameter
by Daniel-Constantin Mierla
05 Mar '25
05 Mar '25
Module: kamailio Branch: master Commit: 9ee8f9624a00474ed3c9fbd60169abdffd0543a0 URL:
https://github.com/kamailio/kamailio/commit/9ee8f9624a00474ed3c9fbd60169abd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-05T10:29:20+01:00 app_python3s: docs for threads_mode parameter --- Modified: src/modules/app_python3/doc/app_python3_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/9ee8f9624a00474ed3c9fbd60169abd…
Patch:
https://github.com/kamailio/kamailio/commit/9ee8f9624a00474ed3c9fbd60169abd…
--- diff --git a/src/modules/app_python3/doc/app_python3_admin.xml b/src/modules/app_python3/doc/app_python3_admin.xml index 7785007548c..87b97f0824d 100644 --- a/src/modules/app_python3/doc/app_python3_admin.xml +++ b/src/modules/app_python3/doc/app_python3_admin.xml @@ -160,6 +160,29 @@ modparam("app_python3", "child_init_method", "my_child_init") </example> </section> + <section id="app_python3.p.threads_mode"> + <title><varname>threads_mode</varname> (int)</title> + <para> + Control how locking for Python interpreter threads in done. If set + to 1, use Py_BLOCK_THREADS/Py_UNBLOCK_THREADS (new mode added for + v6.0.x). If set to 0, use PyGILState_Ensure()/PyGILState_Release() + (the mode implemented initially). + </para> + <para> + <emphasis> + Default value is <quote>0</quote>. + </emphasis> + </para> + <example> + <title>Set <varname>threads_mode</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("app_python3", "threads_mode", 1) +... +</programlisting> + </example> + </section> + </section> <section> @@ -289,4 +312,3 @@ cfgengine "python" </section> </chapter> -
1
0
0
0
git:master:db7a19a8: app_python3: added threads_mode parameter
by Daniel-Constantin Mierla
05 Mar '25
05 Mar '25
Module: kamailio Branch: master Commit: db7a19a82605076e09224e07645e436f1e166ce8 URL:
https://github.com/kamailio/kamailio/commit/db7a19a82605076e09224e07645e436…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-05T09:33:32+01:00 app_python3: added threads_mode parameter - control how python interpreter threading is done - GH #4153 --- Modified: src/modules/app_python3/app_python3_mod.c Modified: src/modules/app_python3/python_exec.c --- Diff:
https://github.com/kamailio/kamailio/commit/db7a19a82605076e09224e07645e436…
Patch:
https://github.com/kamailio/kamailio/commit/db7a19a82605076e09224e07645e436…
1
0
0
0
[kamailio/kamailio] In function ksr_tm_event_response_sent(evname), header and body modifications are not applied (Issue #3997)
by JuanPascual2
05 Mar '25
05 Mar '25
Hello In the function ksr_tm_event_response_sent(evname), header and body modifications are not applied. **Example of modification:** KSR.textops.set_body("application/test", "teststbody") KSR.textops.remove_hf("Contact") KSR.hdr.append("X-My-Hdr: testhdrappend \r\n") In the Kamailio logs, we can see that the changes have been processed, but the response sent does not contain the changes. BR Juan **Configuration kamailio.cfg** modparam("tm", "event_callback_lres_sent", "ksr_tm_event_response_sent") **Configuration kamailio.lua** ----------------------- --Function ksr_tm_event_response_sent bug ----------------------- function ksr_tm_event_response_sent(evname) log.debug("\27[36m --> Sending reply: $rs $rr \27[0m") log.debug("\27[35m Reply sent ",evname,"\27[0m") KSR.textops.set_body("application/test", "teststbody") KSR.textops.remove_hf("Contact") KSR.hdr.append("X-My-Hdr: testhdrappend \r\n") end **Traces debug KAMAILIO** 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: xinfo is str: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:96: --> Sending reply: $rs $rr 4(260) DEBUG: <core> [core/pvapi.c:502]: pv_spec_lookup(): PV <$rs> is not in cache 4(260) DEBUG: <core> [core/pvapi.c:386]: pv_cache_add(): pvar [$rs] added in cache 4(260) DEBUG: <core> [core/pvapi.c:502]: pv_spec_lookup(): PV <$rr> is not in cache 4(260) DEBUG: <core> [core/pvapi.c:386]: pv_cache_add(): pvar [$rr] added in cache 4(260) INFO: <script>: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:96: --> Sending reply: 200 OK 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: xinfo is str: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:97: Reply sent tm:local-response-sent 4(260) INFO: <script>: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:97: Reply sent tm:local-response-sent 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: set_body is str: application/test 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[1] for: set_body is str: teststbody 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [To] type 3 4(260) DEBUG: <core> [core/parser/parse_addr_spec.c:185]: parse_to_param(): add param: tag=bb3c24ed793eec883784ff522b4e48d0 4(260) DEBUG: <core> [core/parser/parse_addr_spec.c:904]: parse_addr_spec(): end of header reached, state=29 4(260) DEBUG: <core> [core/parser/msg_parser.c:172]: get_hdr_field(): <To> [61]; uri=[sip:1234@sip.osp.com] 4(260) DEBUG: <core> [core/parser/msg_parser.c:174]: get_hdr_field(): to body (22)[<sip:1234@sip.osp.com>], to tag (32)[bb3c24ed793eec883784ff522b4e48d0] 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [From] type 4 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [CSeq] type 5 4(260) DEBUG: <core> [core/parser/msg_parser.c:152]: get_hdr_field(): cseq <CSeq>: <63723> <REGISTER> 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [Call-ID] type 6 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [Content-Type] type 11 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [Contact] type 7 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [Content-Length] type 12 4(260) DEBUG: <core> [core/parser/msg_parser.c:187]: get_hdr_field(): content_length=6 4(260) DEBUG: <core> [core/parser/msg_parser.c:91]: get_hdr_field(): found end of header 4(260) DEBUG: textops [textops.c:2597]: ki_set_body(): new body: [application/test] 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: remove_hf is str: Contact 4(260) DEBUG: <core> [core/parser/parse_hname2.c:315]: parse_sip_header_name(): parsed header name [Contact] type 7 4(260) DEBUG: <core> [core/kemi.c:2350]: sr_kemi_hdr_remove(): remove hf: Contact 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: append is str: X-My-Hdr: testhdrappend 4(260) DEBUG: <core> [core/kemi.c:2224]: sr_kemi_hdr_append(): append hf: X-My-Hdr: testhdrappend 4(260) DEBUG: app_lua [app_lua_mod.c:166]: sr_kemi_config_engine_lua(): execution of route type 513 with name [ksr_tm_event_response_sent] returned 1 4(260) DEBUG: tm [t_reply.c:634]: _reply_light(): reply sent out - buf=0x786b611bb9e0: SIP/2.0 200 OK Via:... shmem=0x786b58ceea80: SIP/2.0 200 OK Via: 4(260) DEBUG: tm [t_funcs.c:133]: put_on_wait(): put T [0x786b58ceb770] on wait 4(260) DEBUG: tm [t_reply.c:650]: _reply_light(): finished 4(260) DEBUG: jsonrpcs [jsonrpcs_mod.c:443]: jsonrpc_send_mode(): sending response with body: (nil) - 200 OK 4(260) DEBUG: app_lua [app_lua_api.c:1023]: sr_kemi_lua_exec_func_ex(): param[0] for: xinfo is str: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:36: ksr_request_route: 23.11 ms 4(260) INFO: <script>: 2024-10-10 10-18-10 [debug] /opt/kamailio/kamailio.lua:36: ksr_request_route: 23.11 ms 4(260) DEBUG: app_lua [app_lua_mod.c:169]: sr_kemi_config_engine_lua(): execution of route type 1 with no name returned 1 4(260) DEBUG: <core> [core/receive.c:531]: receive_msg(): request-route executed in: 23343 usec 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/usr_avp.c:654]: destroy_avp_list(): destroying list (nil) 4(260) DEBUG: <core> [core/xavp.c:630]: xavp_destroy_list(): destroying xavp list (nil) 4(260) DEBUG: <core> [core/xavp.c:630]: xavp_destroy_list(): destroying xavp list (nil) 4(260) DEBUG: <core> [core/xavp.c:630]: xavp_destroy_list(): destroying xavp list (nil) 4(260) DEBUG: <core> [core/receive.c:635]: receive_msg(): cleaning up 18(274) DEBUG: tm [timer.c:642]: wait_handler(): finished transaction: 0x786b58ce81a0 (p:0x786b58baa3c0/n:0x786b58baa3c0) 18(274) DEBUG: tm [h_table.c:133]: free_cell_helper(): freeing transaction 0x786b58ce81a0 from timer.c:651 18(274) DEBUG: tm [timer.c:642]: wait_handler(): finished transaction: 0x786b58ceb770 (p:0x786b58b729c0/n:0x786b58b729c0) 18(274) DEBUG: tm [h_table.c:133]: free_cell_helper(): freeing transaction 0x786b58ceb770 from timer.c:651 -- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3997
You are receiving this because you are subscribed to this thread. Message ID: <kamailio/kamailio/issues/3997(a)github.com>
4
8
0
0
[kamailio/kamailio] dispatcher module usage on kamailio 5.8.4 generate kamailio crash (Issue #4061)
by pgravet
05 Mar '25
05 Mar '25
### Description kamailio crash with signal 6 ### Troubleshooting #### Reproduction After each couple of dispatcher ping interval. #### Debugging Data No core dump file. #### Log Messages Dec 6 17:47:24 frnappcoe3router2 /usr/sbin/kamailio[1618]: INFO: ctl [io_listener.c:211]: io_listen_loop(): using epoll_lt as the io watch method (auto detected) Dec 6 17:47:34 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to <sip:frnappcoe3sfl05.orange-voicemail.net:5060> Dec 6 17:47:34 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to <sip:cs1-tool-misc.orange-voicemail.net:5060> Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to <sip:frnappcoe3sfl05.orange-voicemail.net:5060> Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to <sip:cs1-tool-misc.orange-voicemail.net:5060> Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1608]: CRITICAL: <core> [core/mem/q_malloc.c:555]: qm_free(): BUG: freeing already freed pointer (0x7f178fa8a700), called from core: core/xavp.c: xavp_free(81), first free core: core/xavp.c: xavp_new_value(117) - ignoring Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1608]: CRITICAL: <core> [core/mem/q_malloc.c:136]: qm_debug_check_frag(): BUG: qm: fragm. 0x7f178fa8a560 (address 0x7f178fa8a5a0) end overwritten (0, f00000000000)! Memory allocator was called from core: core/xavp.c:81. Fragment marked by (null):2882400237. Exec from core/mem/q_malloc.c:546. Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: ALERT: <core> [main.c:805]: handle_sigs(): child process 1608 exited by a signal 6 Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: ALERT: <core> [main.c:809]: handle_sigs(): core was not generated Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: INFO: <core> [main.c:832]: handle_sigs(): terminating due to SIGCHLD #### SIP Traffic ### Possible Solutions ### Additional Information [root@frnappcoe3router2 ~]# kamailio -v version: kamailio 5.8.4 (x86_64/linux) f1d83d flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: f1d83d compiled on 13:59:57 Nov 12 2024 with gcc 8.5.0 kamailio.cfg loadmodule "dispatcher.so" modparam("dispatcher", "list_file", DISPATCHER_FILE) modparam("dispatcher", "ds_probing_mode", 1) modparam("dispatcher", "ds_probing_threshold",3) modparam("dispatcher", "flags", 3) modparam("dispatcher", "ds_ping_from", "sip:siprouter@unisys.com") modparam("dispatcher", "xavp_dst", "_dsdst_") modparam("dispatcher", "xavp_ctx", "_dsctx_") modparam("dispatcher", "ds_hash_size", 8) modparam("dispatcher", "ds_ping_interval", 10) modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3") * **Operating System**: RHEL8.8 -- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4061
You are receiving this because you are subscribed to this thread. Message ID: <kamailio/kamailio/issues/4061(a)github.com>
5
11
0
0
git:6.0:f07bc9ef: modules: readme files regenerated - modules ... [skip ci]
by Kamailio Dev
04 Mar '25
04 Mar '25
Module: kamailio Branch: 6.0 Commit: f07bc9ef61b9eaecb528e57ee0228d0e690f16af URL:
https://github.com/kamailio/kamailio/commit/f07bc9ef61b9eaecb528e57ee0228d0…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2025-03-04T17:46:19+01:00 modules: readme files regenerated - modules ... [skip ci] --- Modified: src/modules/app_python3s/README Modified: src/modules/auth/README --- Diff:
https://github.com/kamailio/kamailio/commit/f07bc9ef61b9eaecb528e57ee0228d0…
Patch:
https://github.com/kamailio/kamailio/commit/f07bc9ef61b9eaecb528e57ee0228d0…
--- diff --git a/src/modules/app_python3s/README b/src/modules/app_python3s/README index 5b8d663797a..af38af3e8e0 100644 --- a/src/modules/app_python3s/README +++ b/src/modules/app_python3s/README @@ -28,6 +28,7 @@ Daniel-Constantin Mierla 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 4. Functions @@ -45,7 +46,8 @@ Daniel-Constantin Mierla 1.1. Set load parameter 1.2. Set script_init parameter 1.3. Set script_child_init parameter - 1.4. app_python3s_exec usage + 1.4. Set threads_mode parameter + 1.5. app_python3s_exec usage Chapter 1. Admin Guide @@ -62,6 +64,7 @@ Chapter 1. Admin Guide 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 4. Functions @@ -118,6 +121,7 @@ Chapter 1. Admin Guide 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 3.1. load (string) @@ -163,6 +167,20 @@ def ksr_script_child_init(): return 1 ... +3.4. threads_mode (int) + + Control how locking for Python interpreter threads in done. If set to + 1, use Py_BLOCK_THREADS/Py_UNBLOCK_THREADS (new mode added for v6.0.x). + If set to 0, use PyGILState_Ensure()/PyGILState_Release() (the mode + implemented initially). + + Default value is “0”. + + Example 1.4. Set threads_mode parameter +... +modparam("app_python3s", "threads_mode", 1) +... + 4. Functions 4.1. app_python3s_exec(method [, param]) @@ -175,7 +193,7 @@ def ksr_script_child_init(): Both parameters can contain pseudo-variables. - Example 1.4. app_python3s_exec usage + Example 1.5. app_python3s_exec usage ... app_python3s_exec("my_python_function"); app_python3s_exec("my_python_function", "my_params"); diff --git a/src/modules/auth/README b/src/modules/auth/README index 826c0b04dcc..193f91e0ef5 100644 --- a/src/modules/auth/README +++ b/src/modules/auth/README @@ -86,7 +86,7 @@ Daniel-Constantin Mierla 1.23. pv_www_authenticate usage 1.24. pv_proxy_authenticate usage 1.25. pv_auth_check usage - 1.26. auth_get_www_authenticate + 1.26. auth_get_www_authenticate usage 1.27. auth_algorithm example Chapter 1. Admin Guide @@ -924,7 +924,7 @@ if (!pv_auth_check("$fd", "$avp(password)", "0", "1")) { This function can be used from ANY_ROUTE. - Example 1.26. auth_get_www_authenticate + Example 1.26. auth_get_www_authenticate usage ... if (auth_get_www_authenticate("$fd", "0", "$var(wauth)")) { xlog("www authenticate header is [$var(wauth)]\n"); @@ -939,5 +939,14 @@ if (auth_get_www_authenticate("$fd", "0", "$var(wauth)")) { Example 1.27. auth_algorithm example ... -auth_algorithm("$alg"); +if($fU == "alice") { + $var(alg) = "SHA-256"; +} else { + $var(alg) = "MD5"; +} +auth_algorithm("$var(alg)"); +if (!auth_check("$fd", "subscriber", "1")) { + auth_challenge("$fd", "1"); + exit; +} ...
1
0
0
0
git: new commits in branch 6.0
by Daniel-Constantin Mierla
04 Mar '25
04 Mar '25
- URL:
https://github.com/kamailio/kamailio/commit/c8be39750902ad69818f8247898070f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:14:20+01:00 seas: remove redundant check (cherry picked from commit ab1b032771be9adbb1d643cd44beac0e09a31553) - URL:
https://github.com/kamailio/kamailio/commit/60004b02856ebe03b1fc84b74ee8fb6…
Author: Kaufman <bkaufman(a)bcmone.com> Date: 2025-03-04T17:14:35+01:00 pkg/kamailio/alpine: Add new modules - Add missing modules to alpine packages as listed in GH #4131 (cherry picked from commit f07d8ea527883009fece7fd2a1c61d0a90a0c660) - URL:
https://github.com/kamailio/kamailio/commit/3ba48f9a83284f629654c0030f6f556…
Author: Ovidiu Sas <osas(a)voipembedded.com> Date: 2025-03-04T17:14:44+01:00 db_oracle: fix db_oracle build for oracle 18.3.0.0.0 (cherry picked from commit 77ce71fcd4cfb6f0f86313d95341e4abd0031b2c) - URL:
https://github.com/kamailio/kamailio/commit/921acc45d7f9f96b15b801e270a9377…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:14:53+01:00 pv: small reworking of pointer conditions (cherry picked from commit 478310c56f0eb060c5f31b2ee8febbb6204d37e7) - URL:
https://github.com/kamailio/kamailio/commit/c29d9d661b3954906cdee7e98a4f9b6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:15:22+01:00 msrp: variable for extra headers used in local replies (cherry picked from commit 7a73e08b0e5b4c3fbeb4f097c1f891d06c74651d) - URL:
https://github.com/kamailio/kamailio/commit/9d3392a55831124121b078201985c41…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:15:57+01:00 core: mem f malloc - additional check when getting to search very big fragments (cherry picked from commit ac909a7a019922676076bc47a28a3801c749becc) - URL:
https://github.com/kamailio/kamailio/commit/4ff58bb3e02b76e2489144867c8b0dc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:16:03+01:00 msrp: send failure response after referening the buffer (cherry picked from commit 5f8adb625b6bae81ef44613d774106bf3a943bb0) - URL:
https://github.com/kamailio/kamailio/commit/703b3244a5a6fabc219d5772694584d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:16:16+01:00 topos_htable: use the xtag also for base64 key (cherry picked from commit 88b96d717be2a66a9351c01c861408743be40fc4) - URL:
https://github.com/kamailio/kamailio/commit/b6fd791f533be6b044b0c18e44c36f7…
Author: Kaufman <bkaufman(a)bcmone.com> Date: 2025-03-04T17:16:30+01:00 nghttp2: compilation with gcc 14 - Explicitly include nghttp2.h file GH #4135 (cherry picked from commit 1e5a91be57de02beedbd2b3b03031647b51eb7b6) - URL:
https://github.com/kamailio/kamailio/commit/a88946a84133660d5b2a466a231dff2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:16:44+01:00 textops: catch return 0 when removing via param (cherry picked from commit 65645c761e94cedde04f100764d5c506590cb200) - URL:
https://github.com/kamailio/kamailio/commit/89afe1e7bd4bdf9a4ad505ecd260b50…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:16:53+01:00 ims_isc: check return for parsing headers and anchor lump (cherry picked from commit efce6e76ba20f7b02101fb2f44cb149b609f4bef) - URL:
https://github.com/kamailio/kamailio/commit/eed2ccbb658b28433e71a95e9715934…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:17:03+01:00 core: socket info - use unsigned for current size in buffer for get flags (cherry picked from commit 462f9730eb55a3abbd50b9170eb6318eb43eb999) - URL:
https://github.com/kamailio/kamailio/commit/8d1b0139f3a62651f7f0dac6944b6e1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:17:20+01:00 ims_auth: amf passed as parameter to resync local auth vector (cherry picked from commit 6e76452c11189620663da84f879400575c673792) - URL:
https://github.com/kamailio/kamailio/commit/626d9d823690dce4557deeaa2d62470…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:17:34+01:00 nghttp2: check return for setsockopt TCP_NODELAY (cherry picked from commit ad8f017b38e90746790ec9789f01abe6fab46e1b) - URL:
https://github.com/kamailio/kamailio/commit/086d228b29ab414a65521da78695786…
Author: pepelux <pepeluxx(a)gmail.com> Date: 2025-03-04T17:17:53+01:00 secfilter: fix secf_check_dst bug (cherry picked from commit 578c2abb36b9101bfc1dddc1505f7239e928b98e) - URL:
https://github.com/kamailio/kamailio/commit/f1549b99a69bf0dec4aad564afa1d6e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:19+01:00 tsilo: clean allocated memory on error for append by contact (cherry picked from commit 6fb38cb33095c11a1c90d7b88140ac159b9fd5ca) - URL:
https://github.com/kamailio/kamailio/commit/ac0a4a5052e9aaf6531130675c8140f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:27+01:00 core: pass fd - check for unexpected read size overflow (cherry picked from commit 6c12477f1dad2279431d703d1a4f63fcfc6543b8) - URL:
https://github.com/kamailio/kamailio/commit/718692c6d402b6942e0b1e8ebd8e64b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:36+01:00 core: check for unexpected long value return by pathconf() (cherry picked from commit 2ba6d4ff2727031e7bca5d3d1da016bfe508b8df) - URL:
https://github.com/kamailio/kamailio/commit/0b42dcb9997dac347f007742f8936e8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:46+01:00 lib/ims: renamed specific macros with pretty generic name (cherry picked from commit c45c71164ed40e06cdfab4ceda292d29d2d1459f) - URL:
https://github.com/kamailio/kamailio/commit/d06d5e143e2586e0075c0c580f79f29…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:52+01:00 ims_charging: updates for lib/ims macro names (cherry picked from commit f1abcba4eeabccf96a8d16c2e63a47b27db62f88) - URL:
https://github.com/kamailio/kamailio/commit/20cda1f11d6f20143a1271b3db9cf38…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:18:59+01:00 ims_qos_npn: updates for lib/ims macro names (cherry picked from commit b9c36860fc8a91fc6c73b456ff64b6191f61813b) - URL:
https://github.com/kamailio/kamailio/commit/eee79e2a4650e1362ca460f3c329d5b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:05+01:00 ims_registrar_scscf: updates for lib/ims macro names (cherry picked from commit 3fb1d7832006d290ee1c2e15ea1e731dc0768b5f) - URL:
https://github.com/kamailio/kamailio/commit/85cf965d1a298f8c12064fd4f9790d0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:12+01:00 db_sqlite: added prefix to internal helper function (cherry picked from commit f37940b9a113ab79611f851334af7f8fbb7b3f6a) - URL:
https://github.com/kamailio/kamailio/commit/5024235f876df4b3239ef746de700ad…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:20+01:00 ctl: free rpc struct in case of error (cherry picked from commit 4a71d3c9e6a4f92ef33ce8e62372b2c4dba62a56) - URL:
https://github.com/kamailio/kamailio/commit/cf3b3849cb2a3c4060281377e2adee0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:27+01:00 xprint: init globals when declared (cherry picked from commit b17038ec072b1854fa2fae1c2d4725c1471ef8ac) - URL:
https://github.com/kamailio/kamailio/commit/e1398e53e9825db6c20590e1576d960…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:33+01:00 xmlrpc: clean allocated buffer (cherry picked from commit ff712539566c903312ebba2f8e2585f9c80ffdcf) - URL:
https://github.com/kamailio/kamailio/commit/c68522f5c3c59cb915feb873bd3351e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:41+01:00 ctl: fifo - clean intermediary buffer (cherry picked from commit 4c4d7f7967a99d4dd4acdc5e198bce493bf15d67) - URL:
https://github.com/kamailio/kamailio/commit/de5986433283b2fcff09b064420d433…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:19:50+01:00 xprint: break on first resolved ip address (cherry picked from commit 7c908137826071b8180bd93ff8ba3994be66da3a) - URL:
https://github.com/kamailio/kamailio/commit/a5576fb3476e327ef10135a85cf20f2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:20:09+01:00 tm: split reverse rte list function (cherry picked from commit e85d07e5b42ff25f81b74f68ab412e0ab27e7170) - URL:
https://github.com/kamailio/kamailio/commit/d505c876c534cc4a4b8aff5ef1b5e28…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:20:17+01:00 tm: jump to error when failing to built content length for uac cancel (cherry picked from commit 27e1e9102f07047a3d2c2f28baa708f14be556a6) - URL:
https://github.com/kamailio/kamailio/commit/d0df1eef55cd9bb0bca2b0db007d94d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:20:28+01:00 tm: rpc uac - jump to error when failing to create delayed context (cherry picked from commit aa081dbd1ee1901c6174ffddd556bda47b6ef732) - URL:
https://github.com/kamailio/kamailio/commit/c7a4dd132478ff2d5f46c85594a44fe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:20:41+01:00 topoh: check on pointer only for via decode return - code reformatted (cherry picked from commit d0cd3c4b40fd791143122622a6d74703e1375832) - URL:
https://github.com/kamailio/kamailio/commit/8b7637140c5362bf90046ccb3b34ea7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:20:49+01:00 pv: free next field on error when parsing xav* names (cherry picked from commit b875e7368dcc8e221007caafa3599c3e354404f7) - URL:
https://github.com/kamailio/kamailio/commit/7310f99a85bb3cc581c1747ef0ac151…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:01+01:00 pv: free buf uri in case of error setting xto attr (cherry picked from commit a6d692be4283dc349c38b455ee71c4e21dcef6aa) - URL:
https://github.com/kamailio/kamailio/commit/691eb2600c1fcf24d0d1f9b2648e725…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:10+01:00 ctl: refactored error handling and removed unnecessary code (cherry picked from commit edbb5b11e9453be3519e6e9a945937307c95709e) - URL:
https://github.com/kamailio/kamailio/commit/6d06293f3fe1c5897a3e01272fdc9ac…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:16+01:00 xmlrpc: removed unnecessary code (cherry picked from commit e65b03cdd946d735a3ef33ae3582bcfad464d2c7) - URL:
https://github.com/kamailio/kamailio/commit/8991e340e9eb26a3aba3333b4868a5e…
Author: Gustavo Almeida <gustavo.abcdef(a)hotmail.com> Date: 2025-03-04T17:21:24+01:00 ims_auth: Fix CentOS 7 Build ims_auth: Fix non C99 compliant code (cherry picked from commit 2349e4088d3fd454b74de15dfcb9a3e19fc03663) - URL:
https://github.com/kamailio/kamailio/commit/528b6e9805c23883a19e959475a566f…
Author: Gustavo Almeida <gustavo.abcdef(a)hotmail.com> Date: 2025-03-04T17:21:30+01:00 ims_auth: Fix CentOS 7 Build - ims_auth: Fix non C99 compliant code (cherry picked from commit 7a65b3ce11a3afc0f5be47f61235166cb8938c78) - URL:
https://github.com/kamailio/kamailio/commit/1887dfcbd930c6f1757fe5fe691f52c…
Author: Gustavo Almeida <gustavo.abcdef(a)hotmail.com> Date: 2025-03-04T17:21:37+01:00 ims_registrar_pcscf: Fix CentOS 7 Build - ims_registrar_pcscf: Fix non C99 compliant code (cherry picked from commit e458ca15a4ca30448ea9aae20a93eb86e2ce92c0) - URL:
https://github.com/kamailio/kamailio/commit/c8acc1f6e5441fd4514c2b7ead1e2bb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:45+01:00 sca: free replaces hdr on anchor lump failure (cherry picked from commit 01782191418f3d65c4aa5cb273140fec928d153a) - URL:
https://github.com/kamailio/kamailio/commit/47162f64626904ae799f8c47e4bc4ce…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:52+01:00 sdpops: check the limit for computed rtcp port (cherry picked from commit 34743f40056e230e6c6d1ae6bf72e369b6f6890f) - URL:
https://github.com/kamailio/kamailio/commit/44764414c48fed1b90580cf62dd33e9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:21:58+01:00 call_control: free pv field in case of error (cherry picked from commit 8a96379cc1ef7aa42bc4be49834c538a3bffdf14) - URL:
https://github.com/kamailio/kamailio/commit/7274e353d7c05f5387c64aaf90197c9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:05+01:00 http_client: free dumplicated name in case of errors (cherry picked from commit 39ba53a2499dd1f0e080bb011d7438a60ea5faec) - URL:
https://github.com/kamailio/kamailio/commit/975d3449ae01a9078009772e0e1b86c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:12+01:00 dlgs: return -1 for 0 tags count (cherry picked from commit 6a2a82555ee8bbfaca1e825c19d1532f22c2c629) - URL:
https://github.com/kamailio/kamailio/commit/a6e99ff231ca5a42bd053d3a8f2f9d0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:19+01:00 tsilo: free duplicated ruri and contact on error cases (cherry picked from commit d029de6380f8e30e0c82435b820744c21a5fbc78) - URL:
https://github.com/kamailio/kamailio/commit/c59d29abbdc65784ea6fbe6eb237dba…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:27+01:00 db_redis: clean the keyname variable (cherry picked from commit aae4cb323d4ea9d07b4b8aec61a6c9bc03e2ab83) - URL:
https://github.com/kamailio/kamailio/commit/21943c8bc2df36e818ff79256ccda99…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:35+01:00 ims_auth: restructured function to avoid unnecessary condition (cherry picked from commit bf0cb8dd85c38c00435bfe6591b4b39b717b743c) - URL:
https://github.com/kamailio/kamailio/commit/dddb8b0c99f2822be5fff2693a105b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:42+01:00 registrar: remove unnecessary condition (cherry picked from commit 6b7af1beb7fdaaec1b5d069fdfff3e3af5ca43ca) - URL:
https://github.com/kamailio/kamailio/commit/be47356fda7ee3862f335fd5b192e54…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:51+01:00 core: socket info - print index values in error message for overflow (cherry picked from commit 413c90202975886f4dfcb579a1157a19c3065341) - URL:
https://github.com/kamailio/kamailio/commit/0c09b213cbd0a8b12128fa4fb16c019…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:22:59+01:00 dialog: set keepalive local cseq value to 0 (cherry picked from commit 5d3ae2acfab38eda88c6369c0db18a286faba2e3) - URL:
https://github.com/kamailio/kamailio/commit/d18e367da12c85bd7a87a706d1f231f…
Author: Stefan Mititelu <stefan.mititelu(a)net2phone.com> Date: 2025-03-04T17:23:07+01:00 kafka: Fix mod_destroy() crash A crash happened on mod_destroy() due to librdkafka thrd_join(), in case of multiple restarts, in case of ssl kafka connection. Init kafka only for timer and routing processes. Add checks for rk pointer. (cherry picked from commit 10012eeb17210ea7eb9549dc71be5af7e92b4a97) - URL:
https://github.com/kamailio/kamailio/commit/3746f3f2c86a7a085f4abcd1c67c468…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:23:25+01:00 etc/kamailio.cfg: use send_reply_error() instead of sl_reply_error() (cherry picked from commit 6a7c8c232132078b97bd3023efaed30f369cfe63) - URL:
https://github.com/kamailio/kamailio/commit/a786e4b5a910fef1b3472354bb112fb…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:23:39+01:00 mediaproxy: avoid local variable hides global variable (cherry picked from commit 288010b92cd86e2210c079cbd00bf11536e0b0cb) - URL:
https://github.com/kamailio/kamailio/commit/d62aac91f062984f215532292775909…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:23:47+01:00 xhttp_rpc: avoid local variable hides global variable (cherry picked from commit b38fbe7ab4988f916ed0dd4156c732e615980150) - URL:
https://github.com/kamailio/kamailio/commit/5579fd3ca41d32f25a6dc69e2761bea…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:23:53+01:00 sipcapture: avoid local variable hides global variable (cherry picked from commit 4963f0af2f27e3e5164f54ec9b5c8713e911f1db) - URL:
https://github.com/kamailio/kamailio/commit/914cc65f48333cd8df92650321228c4…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:23:59+01:00 pv_headers: avoid local variable hides global variable (cherry picked from commit 1c302265c0fbf2083741fdbabfab8b922a00b8bc) - URL:
https://github.com/kamailio/kamailio/commit/3b1e00e8f70ebef0b386b10d8d510ae…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:24:06+01:00 p_usrloc: avoid local variable hides global variable (cherry picked from commit c626bef15034fd6ff2e3eb3388ff0d73bf1557c4) - URL:
https://github.com/kamailio/kamailio/commit/f8b7dedc7e8d0535b737cd5dfcf2fe2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:24:12+01:00 db2_ops: avoid local variable hides global variable (cherry picked from commit 79120639521f61d2b95a3be5f0faf8018afbd91c) - URL:
https://github.com/kamailio/kamailio/commit/04989c2e1c65ee46f411f58c874fe18…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:24:33+01:00 db_cfg: avoid local variable hides global variable (cherry picked from commit b019dbc5dc88a58a50a3d272a30e6a1aa3b174c0) - URL:
https://github.com/kamailio/kamailio/commit/61d577341b86b2d76c5849f60f2bbc6…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2025-03-04T17:24:41+01:00 acc: avoid local variable hides global variable (cherry picked from commit ccf33100c1eba5dcd9494f1558ff03703fb8e7bf) - URL:
https://github.com/kamailio/kamailio/commit/a8b8484dc2cc18954c56438e5f24507…
Author: Stefan Mititelu <stefan.mititelu(a)net2phone.com> Date: 2025-03-04T17:24:54+01:00 dispatcher: skip ping for DS_NODNSARES_DST (cherry picked from commit 5f29b4491634c360ade5691977d622617ae014ad) - URL:
https://github.com/kamailio/kamailio/commit/081c5e4167753a77ce5c036e3bf61e3…
Author: Stefan Mititelu <stefan.mititelu(a)net2phone.com> Date: 2025-03-04T17:25:05+01:00 topos_htable: fix xtag and add more snprintf checks (cherry picked from commit e0e0884627609804661082a1235f87a7bbb5e67a) - URL:
https://github.com/kamailio/kamailio/commit/ea0fc8e213f6703d87a000216a2cc18…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:25:34+01:00 dialog: get vars via value instead of reference for kemi functions - do lock/unlock - GH #4151 (cherry picked from commit 3b213f1d008656682f1733d59f6c3bacd474c4b9) - URL:
https://github.com/kamailio/kamailio/commit/c20ad4abaec2632acfa069a73b1c0b1…
Author: Dennis Yurasov <dennis-y(a)yandex-team.ru> Date: 2025-03-04T17:25:43+01:00 dialog: fixed DLG_FLAG_CHANGED_PROF value and setting DLG_FLAG_DEL - GH #4151 (cherry picked from commit 2b1ca7813cf5014553c807c1a5034c404b3685a5) - URL:
https://github.com/kamailio/kamailio/commit/ed21e7c97677572d732fa1020528fe9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:26:01+01:00 sl: stats for 1xx replies - GH #4144 (cherry picked from commit f43c132db9b1dc71f623d592fb46d487ba492c7d) - URL:
https://github.com/kamailio/kamailio/commit/fb2109db4bfcf0239d7ae8aa99c5eaa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:26:11+01:00 ims_dialog: right timer function prototype for print_all_dlgs() (cherry picked from commit 6cdbaa1815bdcadc467f36109c6e3a7d00c344f5) - URL:
https://github.com/kamailio/kamailio/commit/2e8f3eb6cc280661acc5c904d6ab915…
Author: Henning Westerholt <hw(a)gilawa.com> Date: 2025-03-04T17:26:19+01:00 kamailio.cfg: small whitespace indention fix, spelling fix (cherry picked from commit 4f573561797b297131464699bd1ed6f0b5d7ed75) - URL:
https://github.com/kamailio/kamailio/commit/4aa5804db1e8458ae639c8db20e8ede…
Author: Henning Westerholt <hw(a)gilawa.com> Date: 2025-03-04T17:26:28+01:00 kamailio.cfg: small whitespace indention fix (cherry picked from commit 3b28e0151d15e7883c0ce81e63851fd9952dd2db) - URL:
https://github.com/kamailio/kamailio/commit/c883d30934815e0dba0ae35538a636a…
Author: Henning Westerholt <hw(a)gilawa.com> Date: 2025-03-04T17:26:47+01:00 misc/examples: update default webrtc cfg to current main kamailio.cfg state (cherry picked from commit 29e51c139725a58b2cbe9cfe409a1c62b3904a3e) - URL:
https://github.com/kamailio/kamailio/commit/64350f8e6bb999971cf162470f7720f…
Author: drTr0jan <drtr0jan(a)yandex.ru> Date: 2025-03-04T17:26:55+01:00 lib/ims: libxml2 is not needed - removed from cmake (cherry picked from commit 11a609d06b527470c535a20866c48cafdedcb820) - URL:
https://github.com/kamailio/kamailio/commit/83e0e5ea61eb4287d88b1341021eaa7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:27:09+01:00 auth: docs - extended example for auth_algorithm() (cherry picked from commit 38544a774d92c86065709888d07c5b4f5bd013c5) - URL:
https://github.com/kamailio/kamailio/commit/f6b717a90202b4fe099a36f37fcf1a6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:27:25+01:00 app_python3s: added threads_mode parameter - control how python interpreter threading is done - GH #4153 (cherry picked from commit df8eb5460924b68919ee35fe8df3afeecdbbf714) - URL:
https://github.com/kamailio/kamailio/commit/6e58d6b7831bfcfbd28835c673697ae…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2025-03-04T17:27:32+01:00 app_python3s: docs for threads_mode parameter (cherry picked from commit 445af28bef2d0874254b3e4c8224b3c1e7329d62)
1
0
0
0
git:master:8058449d: modules: readme files regenerated - app_python3s ... [skip ci]
by Kamailio Dev
04 Mar '25
04 Mar '25
Module: kamailio Branch: master Commit: 8058449dc2f64680b3f6d6c08865b182af7b2240 URL:
https://github.com/kamailio/kamailio/commit/8058449dc2f64680b3f6d6c08865b18…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2025-03-04T13:46:10+01:00 modules: readme files regenerated - app_python3s ... [skip ci] --- Modified: src/modules/app_python3s/README --- Diff:
https://github.com/kamailio/kamailio/commit/8058449dc2f64680b3f6d6c08865b18…
Patch:
https://github.com/kamailio/kamailio/commit/8058449dc2f64680b3f6d6c08865b18…
--- diff --git a/src/modules/app_python3s/README b/src/modules/app_python3s/README index 5b8d663797a..af38af3e8e0 100644 --- a/src/modules/app_python3s/README +++ b/src/modules/app_python3s/README @@ -28,6 +28,7 @@ Daniel-Constantin Mierla 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 4. Functions @@ -45,7 +46,8 @@ Daniel-Constantin Mierla 1.1. Set load parameter 1.2. Set script_init parameter 1.3. Set script_child_init parameter - 1.4. app_python3s_exec usage + 1.4. Set threads_mode parameter + 1.5. app_python3s_exec usage Chapter 1. Admin Guide @@ -62,6 +64,7 @@ Chapter 1. Admin Guide 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 4. Functions @@ -118,6 +121,7 @@ Chapter 1. Admin Guide 3.1. load (string) 3.2. script_init (string) 3.3. script_child_init (string) + 3.4. threads_mode (int) 3.1. load (string) @@ -163,6 +167,20 @@ def ksr_script_child_init(): return 1 ... +3.4. threads_mode (int) + + Control how locking for Python interpreter threads in done. If set to + 1, use Py_BLOCK_THREADS/Py_UNBLOCK_THREADS (new mode added for v6.0.x). + If set to 0, use PyGILState_Ensure()/PyGILState_Release() (the mode + implemented initially). + + Default value is “0”. + + Example 1.4. Set threads_mode parameter +... +modparam("app_python3s", "threads_mode", 1) +... + 4. Functions 4.1. app_python3s_exec(method [, param]) @@ -175,7 +193,7 @@ def ksr_script_child_init(): Both parameters can contain pseudo-variables. - Example 1.4. app_python3s_exec usage + Example 1.5. app_python3s_exec usage ... app_python3s_exec("my_python_function"); app_python3s_exec("my_python_function", "my_params");
1
0
0
0
← Newer
1
...
15
16
17
18
19
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Results per page:
10
25
50
100
200