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
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
April 2016
----- 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
23 participants
430 discussions
Start a n
N
ew thread
git:master:87aaba7d: app_python: register the module as a kemi config interpreter
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 87aaba7d07650b46328856b6c0b02a5c5b7f87e9 URL:
https://github.com/kamailio/kamailio/commit/87aaba7d07650b46328856b6c0b02a5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-04-18T17:24:00+02:00 app_python: register the module as a kemi config interpreter --- Added: modules/app_python/apy_kemi.c Added: modules/app_python/apy_kemi.h Modified: modules/app_python/app_python_mod.c Modified: modules/app_python/python_exec.c --- Diff:
https://github.com/kamailio/kamailio/commit/87aaba7d07650b46328856b6c0b02a5…
Patch:
https://github.com/kamailio/kamailio/commit/87aaba7d07650b46328856b6c0b02a5…
8 years, 8 months
1
0
0
0
git:master:cd6b3d97: app_python: function to allow optional execution of python method
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: cd6b3d9717ea1c45e4cd561c77ca9fce10936bf7 URL:
https://github.com/kamailio/kamailio/commit/cd6b3d9717ea1c45e4cd561c77ca9fc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-04-18T17:24:00+02:00 app_python: function to allow optional execution of python method --- Modified: modules/app_python/python_exec.c Modified: modules/app_python/python_exec.h --- Diff:
https://github.com/kamailio/kamailio/commit/cd6b3d9717ea1c45e4cd561c77ca9fc…
Patch:
https://github.com/kamailio/kamailio/commit/cd6b3d9717ea1c45e4cd561c77ca9fc…
8 years, 8 months
1
0
0
0
git:master:ce4e720c: Merge pull request #572 from adubovikov/master
by Alexandr Dubovikov
Module: kamailio Branch: master Commit: ce4e720c7eef22b1d60711a31775792397079c93 URL:
https://github.com/kamailio/kamailio/commit/ce4e720c7eef22b1d60711a31775792…
Author: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Committer: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Date: 2016-04-18T17:19:27+02:00 Merge pull request #572 from adubovikov/master modules/sipcapture fixed rtpinfo report for SNOM --- Modified: modules/sipcapture/sipcapture.c --- Diff:
https://github.com/kamailio/kamailio/commit/ce4e720c7eef22b1d60711a31775792…
Patch:
https://github.com/kamailio/kamailio/commit/ce4e720c7eef22b1d60711a31775792…
--- diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index d0b4e54..b1f9c6a 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -1556,7 +1556,6 @@ static int sip_capture(struct sip_msg *msg, str *_table, _capture_mode_data_t * struct timeval tvb; struct timezone tz; char tmp_node[100]; - char rtpinfo[256]; unsigned int len = 0; LM_DBG("CAPTURE DEBUG...\n"); @@ -1812,20 +1811,9 @@ static int sip_capture(struct sip_msg *msg, str *_table, _capture_mode_data_t * } /* RTP-RxStat */ else if((tmphdr[3] = get_hdr_by_name(msg,"RTP-RxStat", 10)) != NULL) { - if(tmphdr[3]->body.len > 250) tmphdr[3]->body.len = 250; - - memcpy(&rtpinfo, tmphdr[3]->body.s, tmphdr[3]->body.len); - len = tmphdr[3]->body.len; - if((tmphdr[3] = get_hdr_by_name(msg,"RTP-TxStat", 10)) != NULL) { - memcpy(&rtpinfo[len], ", ", 2); - if((len + 2 + tmphdr[3]->body.len) > 256) tmphdr[3]->body.len = 256 - (len+2); - memcpy(&rtpinfo[len+2], tmphdr[3]->body.s, tmphdr[3]->body.len); - } - sco.rtp_stat.s = rtpinfo; - sco.rtp_stat.len = strlen(rtpinfo); + sco.rtp_stat = tmphdr[3]->body; } - else { EMPTY_STR(sco.rtp_stat); } @@ -1920,7 +1908,7 @@ static struct mi_root* sip_capture_mi(struct mi_root* cmd_tree, void* param ) *capture_on_flag = 0; return init_mi_tree( 200, MI_SSTR(MI_OK)); } else { - return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM)); + return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM)); } }
8 years, 8 months
1
0
0
0
[kamailio/kamailio] modules/sipcapture fixed rtpinfo report for SNOM (#572)
by Alexandr Dubovikov
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/572
-- Commit Summary -- * modules/sipcapture fixed rtpinfo report for SNOM -- File Changes -- M modules/sipcapture/sipcapture.c (16) -- Patch Links --
https://github.com/kamailio/kamailio/pull/572.patch
https://github.com/kamailio/kamailio/pull/572.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/572
8 years, 8 months
1
1
0
0
git:master:f2dfefd3: modules/sipcapture fixed rtpinfo report for SNOM
by Alexandr Dubovikov
Module: kamailio Branch: master Commit: f2dfefd33389a8de03a832617514bce7cb323148 URL:
https://github.com/kamailio/kamailio/commit/f2dfefd33389a8de03a832617514bce…
Author: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Committer: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Date: 2016-04-18T17:18:57+02:00 modules/sipcapture fixed rtpinfo report for SNOM --- Modified: modules/sipcapture/sipcapture.c --- Diff:
https://github.com/kamailio/kamailio/commit/f2dfefd33389a8de03a832617514bce…
Patch:
https://github.com/kamailio/kamailio/commit/f2dfefd33389a8de03a832617514bce…
--- diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index d0b4e54..b1f9c6a 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -1556,7 +1556,6 @@ static int sip_capture(struct sip_msg *msg, str *_table, _capture_mode_data_t * struct timeval tvb; struct timezone tz; char tmp_node[100]; - char rtpinfo[256]; unsigned int len = 0; LM_DBG("CAPTURE DEBUG...\n"); @@ -1812,20 +1811,9 @@ static int sip_capture(struct sip_msg *msg, str *_table, _capture_mode_data_t * } /* RTP-RxStat */ else if((tmphdr[3] = get_hdr_by_name(msg,"RTP-RxStat", 10)) != NULL) { - if(tmphdr[3]->body.len > 250) tmphdr[3]->body.len = 250; - - memcpy(&rtpinfo, tmphdr[3]->body.s, tmphdr[3]->body.len); - len = tmphdr[3]->body.len; - if((tmphdr[3] = get_hdr_by_name(msg,"RTP-TxStat", 10)) != NULL) { - memcpy(&rtpinfo[len], ", ", 2); - if((len + 2 + tmphdr[3]->body.len) > 256) tmphdr[3]->body.len = 256 - (len+2); - memcpy(&rtpinfo[len+2], tmphdr[3]->body.s, tmphdr[3]->body.len); - } - sco.rtp_stat.s = rtpinfo; - sco.rtp_stat.len = strlen(rtpinfo); + sco.rtp_stat = tmphdr[3]->body; } - else { EMPTY_STR(sco.rtp_stat); } @@ -1920,7 +1908,7 @@ static struct mi_root* sip_capture_mi(struct mi_root* cmd_tree, void* param ) *capture_on_flag = 0; return init_mi_tree( 200, MI_SSTR(MI_OK)); } else { - return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM)); + return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM)); } }
8 years, 8 months
1
0
0
0
[kamailio/kamailio] module/sipcapture fixed type for rtpagent report (#571)
by Alexandr Dubovikov
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/571
-- Commit Summary -- * fixed type for rtpagent report -- File Changes -- M modules/sipcapture/sipcapture.c (6) -- Patch Links --
https://github.com/kamailio/kamailio/pull/571.patch
https://github.com/kamailio/kamailio/pull/571.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/571
8 years, 8 months
1
1
0
0
git:master:fc4cb9db: Merge pull request #571 from adubovikov/master
by Alexandr Dubovikov
Module: kamailio Branch: master Commit: fc4cb9db0dfad8313a249f0cf60d77fd3608268e URL:
https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77f…
Author: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Committer: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Date: 2016-04-18T14:50:06+02:00 Merge pull request #571 from adubovikov/master module/sipcapture fixed type for rtpagent report --- Modified: modules/sipcapture/sipcapture.c --- Diff:
https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77f…
Patch:
https://github.com/kamailio/kamailio/commit/fc4cb9db0dfad8313a249f0cf60d77f…
--- diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 41d153e..d0b4e54 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -2276,10 +2276,10 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re /* type of proto */ - if (hg->proto_t->data == 5) sco.type = 1; + if (hg->proto_t->data == 5) sco.type = 3; else if (hg->proto_t->data == 32) sco.type = 2; - else if (hg->proto_t->data == 99) sco.type = 1; - else if (hg->proto_t->data == 100) sco.type = 1; + else if (hg->proto_t->data == 99) sco.type = 4; + else if (hg->proto_t->data == 100) sco.type = 5; /*source ip*/
8 years, 8 months
1
0
0
0
git:master:77011148: fixed type for rtpagent report
by Alexandr Dubovikov
Module: kamailio Branch: master Commit: 770111484910cf0b63f07e2090eb403c7edac309 URL:
https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403…
Author: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Committer: Alexandr Dubovikov <alexandr.dubovikov(a)gmail.com> Date: 2016-04-18T14:49:14+02:00 fixed type for rtpagent report --- Modified: modules/sipcapture/sipcapture.c --- Diff:
https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403…
Patch:
https://github.com/kamailio/kamailio/commit/770111484910cf0b63f07e2090eb403…
--- diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 41d153e..d0b4e54 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -2276,10 +2276,10 @@ int receive_logging_json_msg(char * buf, unsigned int len, struct hep_generic_re /* type of proto */ - if (hg->proto_t->data == 5) sco.type = 1; + if (hg->proto_t->data == 5) sco.type = 3; else if (hg->proto_t->data == 32) sco.type = 2; - else if (hg->proto_t->data == 99) sco.type = 1; - else if (hg->proto_t->data == 100) sco.type = 1; + else if (hg->proto_t->data == 99) sco.type = 4; + else if (hg->proto_t->data == 100) sco.type = 5; /*source ip*/
8 years, 8 months
1
0
0
0
git:master:c26cade5: app_python: updated include of app_python_mod.h
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c26cade5da0ea6241276e70f45e54a8c802de052 URL:
https://github.com/kamailio/kamailio/commit/c26cade5da0ea6241276e70f45e54a8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-04-18T14:17:51+02:00 app_python: updated include of app_python_mod.h --- Modified: modules/app_python/app_python_mod.c Modified: modules/app_python/mod_Core.c Modified: modules/app_python/mod_Logger.c Modified: modules/app_python/mod_Ranks.c Modified: modules/app_python/mod_Router.c Modified: modules/app_python/python_exec.c Modified: modules/app_python/python_support.c --- Diff:
https://github.com/kamailio/kamailio/commit/c26cade5da0ea6241276e70f45e54a8…
Patch:
https://github.com/kamailio/kamailio/commit/c26cade5da0ea6241276e70f45e54a8…
--- diff --git a/modules/app_python/app_python_mod.c b/modules/app_python/app_python_mod.c index 3553a10..1708215 100644 --- a/modules/app_python/app_python_mod.c +++ b/modules/app_python/app_python_mod.c @@ -29,7 +29,7 @@ #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "mod_Router.h" #include "mod_Core.h" diff --git a/modules/app_python/mod_Core.c b/modules/app_python/mod_Core.c index c226d54..c0507e8 100644 --- a/modules/app_python/mod_Core.c +++ b/modules/app_python/mod_Core.c @@ -33,7 +33,7 @@ // local includes #include "python_exec.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/modules/app_python/mod_Logger.c b/modules/app_python/mod_Logger.c index 23cb373..ebed1f5 100644 --- a/modules/app_python/mod_Logger.c +++ b/modules/app_python/mod_Logger.c @@ -33,7 +33,7 @@ // local includes #include "python_exec.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/modules/app_python/mod_Ranks.c b/modules/app_python/mod_Ranks.c index 6c8f0d9..b255f84 100644 --- a/modules/app_python/mod_Ranks.c +++ b/modules/app_python/mod_Ranks.c @@ -33,7 +33,7 @@ // local includes #include "python_exec.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/modules/app_python/mod_Router.c b/modules/app_python/mod_Router.c index 3de1964..7e69f96 100644 --- a/modules/app_python/mod_Router.c +++ b/modules/app_python/mod_Router.c @@ -32,7 +32,7 @@ // local includes #include "python_exec.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_iface.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/modules/app_python/python_exec.c b/modules/app_python/python_exec.c index 2127b3c..ed4e708 100644 --- a/modules/app_python/python_exec.c +++ b/modules/app_python/python_exec.c @@ -31,7 +31,7 @@ #include "../../parser/parse_uri.h" #include "python_exec.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_msgobj.h" #include "python_support.h" diff --git a/modules/app_python/python_support.c b/modules/app_python/python_support.c index 7a60214..2cd72ab 100644 --- a/modules/app_python/python_support.c +++ b/modules/app_python/python_support.c @@ -26,7 +26,7 @@ #include "../../dprint.h" #include "../../mem/mem.h" -#include "python_mod.h" +#include "app_python_mod.h" #include "python_support.h" void python_handle_exception(const char *fmt, ...)
8 years, 8 months
1
0
0
0
git:master:d2d24c17: app_python: renamed main files to match module name
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d2d24c17ff68d88b74f5d69febaa8a9fe290a440 URL:
https://github.com/kamailio/kamailio/commit/d2d24c17ff68d88b74f5d69febaa8a9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2016-04-18T14:17:51+02:00 app_python: renamed main files to match module name --- Added: modules/app_python/app_python_mod.c Added: modules/app_python/app_python_mod.h Removed: modules/app_python/python_mod.c Removed: modules/app_python/python_mod.h --- Diff:
https://github.com/kamailio/kamailio/commit/d2d24c17ff68d88b74f5d69febaa8a9…
Patch:
https://github.com/kamailio/kamailio/commit/d2d24c17ff68d88b74f5d69febaa8a9…
8 years, 8 months
1
0
0
0
← Newer
1
...
21
22
23
24
25
26
27
...
43
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
Results per page:
10
25
50
100
200