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
2024
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
January 2017
----- 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
33 participants
538 discussions
Start a n
N
ew thread
git:master:de0ddace: cplc: removed unused mi variable
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: de0ddace9215948e1c0dee85320e79d92a9893ce URL:
https://github.com/kamailio/kamailio/commit/de0ddace9215948e1c0dee85320e79d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T15:25:07+01:00 cplc: removed unused mi variable --- Modified: src/modules/cplc/cpl_loader.c --- Diff:
https://github.com/kamailio/kamailio/commit/de0ddace9215948e1c0dee85320e79d…
Patch:
https://github.com/kamailio/kamailio/commit/de0ddace9215948e1c0dee85320e79d…
--- diff --git a/src/modules/cplc/cpl_loader.c b/src/modules/cplc/cpl_loader.c index 65aa6a3..a433938 100644 --- a/src/modules/cplc/cpl_loader.c +++ b/src/modules/cplc/cpl_loader.c @@ -254,7 +254,6 @@ static void cpl_rpc_load(rpc_t* rpc, void* ctx) static void cpl_rpc_remove(rpc_t* rpc, void* ctx) { - struct mi_node *cmd; struct sip_uri uri; str user;
7 years, 10 months
1
0
0
0
Broken: kamailio/kamailio#3446 (master - ac0211c)
by Travis CI
Build Update for kamailio/kamailio ------------------------------------- Build: #3446 Status: Broken Duration: 3 minutes and 44 seconds Commit: ac0211c (master) Author: Daniel-Constantin Mierla Message: utils: mi commands disabled View the changeset:
https://github.com/kamailio/kamailio/compare/13846d38dec5...ac0211c1f4c9
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/188862888
-- You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
7 years, 10 months
1
0
0
0
git: new commits in branch master
by Daniel-Constantin Mierla
- URL:
https://github.com/kamailio/kamailio/commit/804de1ceca0834475a7bcf6a0e5307f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:27:17+01:00 lib: removed kmi internal library - URL:
https://github.com/kamailio/kamailio/commit/6e5e86a7c4e656e78abde577c66fb91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:31:27+01:00 core: replaced mi_cmds in module exports structure with nn_cmds - the type changed to void* - mi was removed, keep the field not to affect compilation. It should be removed over the time - URL:
https://github.com/kamailio/kamailio/commit/fbe971fbd613cda55fdcb8fb0163995…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:34:26+01:00 domain: removed forgotten mi include - URL:
https://github.com/kamailio/kamailio/commit/4050fef36af8e4eae35ffeade1eff5a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:35:17+01:00 mi_datagram: removed module - URL:
https://github.com/kamailio/kamailio/commit/5ab0251771ada4ba3ca81b9c4ee756c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:35:42+01:00 mi_fifo: removed module - URL:
https://github.com/kamailio/kamailio/commit/0a307f9a73f0daf2a716fed1cce6ab3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:36:01+01:00 mi_xmlrpc: removed module - URL:
https://github.com/kamailio/kamailio/commit/e5c7d9bd869da22bda3a6da71825931…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:37:23+01:00 mi_rpc: module removed - URL:
https://github.com/kamailio/kamailio/commit/442544631e5f743cb59dace2bb1e32b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:37:53+01:00 pua_mi: removed module - URL:
https://github.com/kamailio/kamailio/commit/97cf2583e926178b1b9f9773a120d35…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:43:17+01:00 mohqueue: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/252a5d7bb43cb9ea23d738c59fad035…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:48:23+01:00 p_usrloc: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/8d50377d21bc4d43083c19e868eeaf8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:51:08+01:00 pdb: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/6c23c95a013626a4f343203b30c81d2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:55:42+01:00 rtpengine: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/f211be521e49a5c7f85858bdba3841a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:56:59+01:00 sipt: removed empty mi structure - URL:
https://github.com/kamailio/kamailio/commit/c8700070e6038ce14a3fb866c0bbe77…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:58:13+01:00 ss7ops: removed empty mi structure - URL:
https://github.com/kamailio/kamailio/commit/51dde0da43ad21b67923ef4ba86fa3c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T14:59:58+01:00 tsilo: removed unnecessary includes of kmi - URL:
https://github.com/kamailio/kamailio/commit/ac685eaa8c08ea3d98869a5fca934b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T15:03:03+01:00 userblacklist: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/d09ea463cc59fb574a07b37fe06077d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T15:08:43+01:00 carrierroute: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/93fd288cececdb7342b898e17e439cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T15:15:09+01:00 ims_dialog: mi commands disabled - URL:
https://github.com/kamailio/kamailio/commit/ac0211c1f4c983bf3aadee96db03aa1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T15:18:38+01:00 utils: mi commands disabled
7 years, 10 months
1
0
0
0
git:master:13846d38: Makefile.groups: added app_jsdt module
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 13846d38dec5d73cc859f991b2c2fbf2212e98dd URL:
https://github.com/kamailio/kamailio/commit/13846d38dec5d73cc859f991b2c2fbf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T13:44:43+01:00 Makefile.groups: added app_jsdt module --- Modified: src/Makefile.groups --- Diff:
https://github.com/kamailio/kamailio/commit/13846d38dec5d73cc859f991b2c2fbf…
Patch:
https://github.com/kamailio/kamailio/commit/13846d38dec5d73cc859f991b2c2fbf…
--- diff --git a/src/Makefile.groups b/src/Makefile.groups index da1452a..044f622 100644 --- a/src/Makefile.groups +++ b/src/Makefile.groups @@ -125,6 +125,9 @@ mod_list_perldeps=app_perl db_perlvdb # - modules depending on python library mod_list_python=app_python +# - modules depending on libm (math library - standard system library) +mod_list_jsdt=app_jsdt + # - modules depending on geoip library mod_list_geoip=geoip @@ -218,7 +221,7 @@ mod_list_all=$(sort $(mod_list_basic) $(mod_list_extra) \ $(mod_list_jansson) $(mod_list_geoip2) \ $(mod_list_erlang) $(mod_list_systemd) \ $(mod_list_http_async) $(mod_list_nsq) \ - $(mod_list_rabbitmq)) + $(mod_list_rabbitmq) $(mod_list_jsdt)) @@ -278,7 +281,7 @@ module_group_ignore= $(sort $(filter-out $(module_group_default), $(mod_list_all # Standard modules in main pkg module_group_kstandard=$(mod_list_basic) $(mod_list_extra) \ $(mod_list_db) $(mod_list_dbuid) \ - $(mod_list_pcre) + $(mod_list_pcre) $(mod_list_jsdt) # pkg mysql module module_group_kmysql=$(mod_list_mysql)
7 years, 10 months
1
0
0
0
git:master:a4d4f27b: app_jsdt: new module implementing a javascript interpreter
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a4d4f27bc1442e06a4f2a27b19860555b8cc0cd3 URL:
https://github.com/kamailio/kamailio/commit/a4d4f27bc1442e06a4f2a27b1986055…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T13:37:23+01:00 app_jsdt: new module implementing a javascript interpreter - it embeds the duktape js interpreter (no linking with external lib for the interpreter) - it exports KEMI functions and pv management --- Added: src/modules/app_jsdt/Makefile Added: src/modules/app_jsdt/README Added: src/modules/app_jsdt/app_jsdt_api.c Added: src/modules/app_jsdt/app_jsdt_api.h Added: src/modules/app_jsdt/app_jsdt_kemi_export.c Added: src/modules/app_jsdt/app_jsdt_kemi_export.h Added: src/modules/app_jsdt/app_jsdt_mod.c Added: src/modules/app_jsdt/doc/Makefile Added: src/modules/app_jsdt/doc/app_jsdt.xml Added: src/modules/app_jsdt/doc/app_jsdt_admin.xml Added: src/modules/app_jsdt/duk_config.h Added: src/modules/app_jsdt/duktape.c Added: src/modules/app_jsdt/duktape.h Added: src/modules/app_jsdt/utils/app_jsdt_ctl --- Diff:
https://github.com/kamailio/kamailio/commit/a4d4f27bc1442e06a4f2a27b1986055…
Patch:
https://github.com/kamailio/kamailio/commit/a4d4f27bc1442e06a4f2a27b1986055…
7 years, 10 months
1
0
0
0
git:master:dcb82e22: cnxcc: removed usage of mi
by Federico Cabiddu
Module: kamailio Branch: master Commit: dcb82e22ce1c4b79a5992ac55a2ccce5bcdaabfa URL:
https://github.com/kamailio/kamailio/commit/dcb82e22ce1c4b79a5992ac55a2ccce…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com> Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com> Date: 2017-01-04T10:27:21+01:00 cnxcc: removed usage of mi --- Modified: src/modules/cnxcc/cnxcc_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/dcb82e22ce1c4b79a5992ac55a2ccce…
Patch:
https://github.com/kamailio/kamailio/commit/dcb82e22ce1c4b79a5992ac55a2ccce…
--- diff --git a/src/modules/cnxcc/cnxcc_mod.c b/src/modules/cnxcc/cnxcc_mod.c index 8be9902..ef89746 100644 --- a/src/modules/cnxcc/cnxcc_mod.c +++ b/src/modules/cnxcc/cnxcc_mod.c @@ -52,7 +52,6 @@ #include "../../core/mod_fix.h" #include "../dialog/dlg_load.h" #include "../dialog/dlg_hash.h" -#include "../../core/mi/mi_types.h" #include "../../core/fmsg.h" #include "../../core/rpc.h" #include "../../core/rpc_lookup.h" @@ -1029,6 +1028,8 @@ int terminate_call(call_t *call) { sip_msg_t *dmsg = NULL; sip_data_t *data = NULL; + dlg_cell_t *cell; + LM_DBG("Got kill signal for call [%.*s] client [%.*s] h_id [%u] h_entry [%u]. Dropping it now\n", call->sip_data.callid.len, call->sip_data.callid.s, @@ -1036,64 +1037,30 @@ int terminate_call(call_t *call) { call->client_id.s, call->dlg_h_id, call->dlg_h_entry); - - struct mi_root *root, *result = NULL; - struct mi_node *node, *node1 = NULL; - struct mi_cmd *end_dlg_cmd = NULL; - - if (_data.cs_route_number >= 0) { + data = &call->sip_data; - if (faked_msg_init_with_dlg_info(&data->callid, &data->from_uri, &data->from_tag, - &data->to_uri, &data->to_tag, &dmsg) != 0) { - LM_ERR("[%.*s]: error generating faked sip message\n", data->callid.len, data->callid.s); - dmsg = NULL; - } - } - root = init_mi_tree(0, 0, 0); - if (root == NULL) { - LM_ERR("Error initializing tree to terminate call\n"); + if (faked_msg_init_with_dlg_info(&data->callid, &data->from_uri, &data->from_tag, + &data->to_uri, &data->to_tag, &dmsg) != 0) { + LM_ERR("[%.*s]: error generating faked sip message\n", data->callid.len, data->callid.s); goto error; } - node = &root->node; - node1 = addf_mi_node_child(node, MI_DUP_VALUE, MI_SSTR("h_entry"), "%u", call->dlg_h_entry); - if (node1 == NULL) { - LM_ERR("Error initializing h_entry node to terminate call\n"); - goto error; + cell = _dlgbinds.get_dlg(dmsg); + if (!cell) { + LM_ERR("[%.*s]: cannot get dialog\n", data->callid.len, data->callid.s); + goto error; } - node1 = addf_mi_node_child(node, MI_DUP_VALUE, MI_SSTR("h_id"), "%u", call->dlg_h_id); - if (node1 == NULL) { - LM_ERR("Error initializing dlg_h_id node to terminate call\n"); - goto error; - } - - end_dlg_cmd = lookup_mi_cmd(MI_SSTR("dlg_end_dlg")); - if (node == NULL) { - LM_ERR("Error initializing dlg_end_dlg command\n"); - goto error; - } - - result = run_mi_cmd(end_dlg_cmd, root); - if (result == NULL) { - LM_ERR("Error executing dlg_end_dlg command\n"); - goto error; - } - - if (result->code == 200) { + if (!_dlgbinds.terminate_dlg(cell, NULL)) { LM_DBG("dlg_end_dlg sent to call [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); - free_mi_tree(root); - free_mi_tree(result); - if(dmsg) __notify_call_termination(dmsg); + if (_data.cs_route_number >= 0) + __notify_call_termination(dmsg); return 0; } - LM_ERR("Error executing dlg_end_dlg command. Return code was [%d]\n", result->code); + LM_ERR("Error executing terminate_dlg command"); error: - if (root) - free_mi_tree(root); - return -1; }
7 years, 10 months
1
0
0
0
Broken: kamailio/kamailio#3442 (master - 8860488)
by Travis CI
Build Update for kamailio/kamailio ------------------------------------- Build: #3442 Status: Broken Duration: 12 minutes and 38 seconds Commit: 8860488 (master) Author: Kamailio Dev Message: modules: readme files regenerated - dialog ... View the changeset:
https://github.com/kamailio/kamailio/compare/913928d3d140...8860488ddd7f
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/188782529
-- You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
7 years, 10 months
1
0
0
0
Broken: kamailio/kamailio#3441 (master - 913928d)
by Travis CI
Build Update for kamailio/kamailio ------------------------------------- Build: #3441 Status: Broken Duration: 13 minutes and 58 seconds Commit: 913928d (master) Author: Daniel-Constantin Mierla Message: dialog: removed mi commands View the changeset:
https://github.com/kamailio/kamailio/compare/1ba1b9c8d3c1...913928d3d140
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/188781219
-- You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
7 years, 10 months
1
0
0
0
git:master:8860488d: modules: readme files regenerated - dialog ...
by Kamailio Dev
Module: kamailio Branch: master Commit: 8860488ddd7f8742cd02a19b95a2569429d365d2 URL:
https://github.com/kamailio/kamailio/commit/8860488ddd7f8742cd02a19b95a2569…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-01-04T09:31:16+01:00 modules: readme files regenerated - dialog ... --- Modified: src/modules/dialog/README --- Diff:
https://github.com/kamailio/kamailio/commit/8860488ddd7f8742cd02a19b95a2569…
Patch:
https://github.com/kamailio/kamailio/commit/8860488ddd7f8742cd02a19b95a2569…
7 years, 10 months
1
0
0
0
git:master:913928d3: dialog: removed mi commands
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 913928d3d14046d7078153962a7c3318092b6ea9 URL:
https://github.com/kamailio/kamailio/commit/913928d3d14046d7078153962a7c331…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-01-04T09:25:13+01:00 dialog: removed mi commands --- Modified: src/modules/dialog/Makefile Modified: src/modules/dialog/dialog.c Modified: src/modules/dialog/dlg_cb.h Modified: src/modules/dialog/dlg_hash.c Modified: src/modules/dialog/dlg_hash.h Modified: src/modules/dialog/dlg_profile.c Modified: src/modules/dialog/dlg_req_within.c Modified: src/modules/dialog/doc/dialog_admin.xml Modified: src/modules/dialog/doc/dialog_devel.xml --- Diff:
https://github.com/kamailio/kamailio/commit/913928d3d14046d7078153962a7c331…
Patch:
https://github.com/kamailio/kamailio/commit/913928d3d14046d7078153962a7c331…
7 years, 10 months
1
0
0
0
← Newer
1
...
40
41
42
43
44
45
46
...
54
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Results per page:
10
25
50
100
200