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
April 2020
----- 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
420 discussions
Start a n
N
ew thread
git:master:2d00e26d: dialog: adding dlg.dump
by Julien Chavanton
Module: kamailio Branch: master Commit: 2d00e26d912b79da67ce44375c5d422582041693 URL:
https://github.com/kamailio/kamailio/commit/2d00e26d912b79da67ce44375c5d422…
Author: Julien Chavanton <jchavanton(a)gmail.com> Committer: Julien Chavanton <jchavanton(a)gmail.com> Date: 2020-04-07T08:38:36-07:00 dialog: adding dlg.dump alternative command to output dialogs data to file, far much faster than dlg.list dialog: use core/srjson --- Modified: src/modules/dialog/dialog.c Modified: src/modules/dialog/doc/dialog_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/2d00e26d912b79da67ce44375c5d422…
Patch:
https://github.com/kamailio/kamailio/commit/2d00e26d912b79da67ce44375c5d422…
4 years, 7 months
1
0
0
0
git:master:bc171047: modules: readme files regenerated - siptrace ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: bc1710478e8d099d509424b3c0eaebb0fd4556cd URL:
https://github.com/kamailio/kamailio/commit/bc1710478e8d099d509424b3c0eaebb…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-04-07T18:31:11+02:00 modules: readme files regenerated - siptrace ... [skip ci] --- Modified: src/modules/siptrace/README --- Diff:
https://github.com/kamailio/kamailio/commit/bc1710478e8d099d509424b3c0eaebb…
Patch:
https://github.com/kamailio/kamailio/commit/bc1710478e8d099d509424b3c0eaebb…
4 years, 7 months
1
0
0
0
git:master:bb0d49c6: siptrace: docs - fixed missing ending para tag
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: bb0d49c6965208d7b27a0f22a79932a8db199faa URL:
https://github.com/kamailio/kamailio/commit/bb0d49c6965208d7b27a0f22a79932a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T18:29:49+02:00 siptrace: docs - fixed missing ending para tag --- Modified: src/modules/siptrace/doc/siptrace_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/bb0d49c6965208d7b27a0f22a79932a…
Patch:
https://github.com/kamailio/kamailio/commit/bb0d49c6965208d7b27a0f22a79932a…
--- diff --git a/src/modules/siptrace/doc/siptrace_admin.xml b/src/modules/siptrace/doc/siptrace_admin.xml index 2192b1b199..24e305500a 100644 --- a/src/modules/siptrace/doc/siptrace_admin.xml +++ b/src/modules/siptrace/doc/siptrace_admin.xml @@ -491,6 +491,7 @@ modparam("siptrace", "force_send_sock", "sip:10.1.1.2:5000") </para> </listitem> </itemizedlist> + </para> <para> Default value is <emphasis>0</emphasis>. </para>
4 years, 7 months
1
0
0
0
git:master:a21052ad: siptrace: fixed missing extern declarations of global parameters
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: a21052ad5a43dcd5f1ff5cb8b67bc7a66b95c0bb URL:
https://github.com/kamailio/kamailio/commit/a21052ad5a43dcd5f1ff5cb8b67bc7a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T18:28:07+02:00 siptrace: fixed missing extern declarations of global parameters --- Modified: src/modules/siptrace/siptrace_send.c --- Diff:
https://github.com/kamailio/kamailio/commit/a21052ad5a43dcd5f1ff5cb8b67bc7a…
Patch:
https://github.com/kamailio/kamailio/commit/a21052ad5a43dcd5f1ff5cb8b67bc7a…
--- diff --git a/src/modules/siptrace/siptrace_send.c b/src/modules/siptrace/siptrace_send.c index 34492df946..d0694b1d44 100644 --- a/src/modules/siptrace/siptrace_send.c +++ b/src/modules/siptrace/siptrace_send.c @@ -40,6 +40,8 @@ extern int trace_xheaders_write; extern int trace_xheaders_read; extern str trace_dup_uri_str; extern sip_uri_t *trace_dup_uri; +extern str trace_send_sock_str; +extern sip_uri_t *trace_send_sock_uri; /** * @@ -280,7 +282,7 @@ int sip_trace_xheaders_free(struct _siptrace_data *sto) int trace_send_duplicate(char *buf, int len, dest_info_t *dst2) { dest_info_t dst; - dest_info_t pdst; + dest_info_t *pdst = NULL; proxy_l_t *p = NULL; if(buf == NULL || len <= 0) {
4 years, 7 months
1
0
0
0
Broken: kamailio/kamailio#8667 (master - d0f46e8)
by Travis CI
Build Update for kamailio/kamailio ------------------------------------- Build: #8667 Status: Broken Duration: 4 mins and 5 secs Commit: d0f46e8 (master) Author: Daniel-Constantin Mierla Message: siptrace: use the send socket also for duplication via sip - it was ignored, being used only for duplication via hep View the changeset:
https://github.com/kamailio/kamailio/compare/2dde938c1888...d0f46e8a9b3e
View the full build log and details:
https://travis-ci.org/github/kamailio/kamailio/builds/672152402?utm_medium=…
-- You can unsubscribe from build emails from the kamailio/kamailio repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=3596148&ut…
. Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificati…
. Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
.
4 years, 7 months
1
0
0
0
git:master:ccb51b26: modules: readme files regenerated - siptrace ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: ccb51b26bd52a6b0917e71803e9ddbc82f095bc4 URL:
https://github.com/kamailio/kamailio/commit/ccb51b26bd52a6b0917e71803e9ddbc…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-04-07T18:01:17+02:00 modules: readme files regenerated - siptrace ... [skip ci] --- Modified: src/modules/siptrace/README --- Diff:
https://github.com/kamailio/kamailio/commit/ccb51b26bd52a6b0917e71803e9ddbc…
Patch:
https://github.com/kamailio/kamailio/commit/ccb51b26bd52a6b0917e71803e9ddbc…
4 years, 7 months
1
0
0
0
git:master:d0f46e8a: siptrace: use the send socket also for duplication via sip
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d0f46e8a9b3ed357057cc2b95b12fb7a58fbe73f URL:
https://github.com/kamailio/kamailio/commit/d0f46e8a9b3ed357057cc2b95b12fb7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T17:58:02+02:00 siptrace: use the send socket also for duplication via sip - it was ignored, being used only for duplication via hep --- Modified: src/modules/siptrace/siptrace_send.c --- Diff:
https://github.com/kamailio/kamailio/commit/d0f46e8a9b3ed357057cc2b95b12fb7…
Patch:
https://github.com/kamailio/kamailio/commit/d0f46e8a9b3ed357057cc2b95b12fb7…
--- diff --git a/src/modules/siptrace/siptrace_send.c b/src/modules/siptrace/siptrace_send.c index fb0e9bd940..34492df946 100644 --- a/src/modules/siptrace/siptrace_send.c +++ b/src/modules/siptrace/siptrace_send.c @@ -277,13 +277,15 @@ int sip_trace_xheaders_free(struct _siptrace_data *sto) /** * */ -int trace_send_duplicate(char *buf, int len, struct dest_info *dst2) +int trace_send_duplicate(char *buf, int len, dest_info_t *dst2) { - struct dest_info dst; - struct proxy_l *p = NULL; + dest_info_t dst; + dest_info_t pdst; + proxy_l_t *p = NULL; - if(buf == NULL || len <= 0) + if(buf == NULL || len <= 0) { return -1; + } /* either modparam dup_uri or siptrace param dst2 */ if((trace_dup_uri_str.s == 0 || trace_dup_uri == NULL) && (dst2 == NULL)) { @@ -304,17 +306,39 @@ int trace_send_duplicate(char *buf, int len, struct dest_info *dst2) } hostent2su( &dst.to, &p->host, p->addr_idx, (p->port) ? p->port : SIP_PORT); + pdst = &dst; + } else { + pdst = dst2; + } + + if(pdst->send_sock == NULL) { + if(trace_send_sock_str.s) { + LM_DBG("send sock activated, grep for the sock_info\n"); + pdst->send_sock = grep_sock_info(&trace_send_sock_uri->host, + trace_send_sock_uri->port_no, + trace_send_sock_uri->proto); + if(!pdst->send_sock) { + LM_WARN("cannot grep socket info\n"); + } else { + LM_DBG("found socket while grep: [%.*s] [%.*s]\n", + pdst->send_sock->name.len, + pdst->send_sock->name.s, pdst->send_sock->address_str.len, + pdst->send_sock->address_str.s); + } + } + } - dst.send_sock = get_send_socket(0, &dst.to, dst.proto); - if(dst.send_sock == 0) { - LM_ERR("can't forward to af %d, proto %d no corresponding" + if(pdst->send_sock == NULL) { + pdst->send_sock = get_send_socket(0, &pdst->to, pdst->proto); + if(pdst->send_sock == 0) { + LM_ERR("cannot forward to af %d, proto %d - no corresponding" " listening socket\n", - dst.to.s.sa_family, dst.proto); + pdst->to.s.sa_family, pdst->proto); goto error; } } - if(msg_send((dst2) ? dst2 : &dst, buf, len) < 0) { + if(msg_send(pdst, buf, len) < 0) { LM_ERR("cannot send duplicate message\n"); goto error; }
4 years, 7 months
1
0
0
0
git:master:8de85574: siptrace: removed storage of xheaders read/write flags in shared memory
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8de855740e9f31c6d53cf2834d7d825df640d967 URL:
https://github.com/kamailio/kamailio/commit/8de855740e9f31c6d53cf2834d7d825…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T17:46:01+02:00 siptrace: removed storage of xheaders read/write flags in shared memory - they are not changed at runtime, set at module initialization --- Modified: src/modules/siptrace/siptrace.c Modified: src/modules/siptrace/siptrace_send.c --- Diff:
https://github.com/kamailio/kamailio/commit/8de855740e9f31c6d53cf2834d7d825…
Patch:
https://github.com/kamailio/kamailio/commit/8de855740e9f31c6d53cf2834d7d825…
4 years, 7 months
1
0
0
0
git:master:42c7c7a1: siptrace: new parameter trace_init_mode
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 42c7c7a12b1e742cf51382cbaeba7a695d8241d1 URL:
https://github.com/kamailio/kamailio/commit/42c7c7a12b1e742cf51382cbaeba7a6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T17:34:49+02:00 siptrace: new parameter trace_init_mode - control what kind of tracing is initialized for the module --- Modified: src/modules/siptrace/siptrace.c --- Diff:
https://github.com/kamailio/kamailio/commit/42c7c7a12b1e742cf51382cbaeba7a6…
Patch:
https://github.com/kamailio/kamailio/commit/42c7c7a12b1e742cf51382cbaeba7a6…
4 years, 7 months
1
0
0
0
git:master:43207442: siptrace: remove storage of trace_to_database value in shared memory
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 43207442aec71d290442c174dd2bd194370f7b00 URL:
https://github.com/kamailio/kamailio/commit/43207442aec71d290442c174dd2bd19…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-04-07T16:53:18+02:00 siptrace: remove storage of trace_to_database value in shared memory - not needed because it was not changed during runtime - added some clang-format off/on for structures --- Modified: src/modules/siptrace/siptrace.c --- Diff:
https://github.com/kamailio/kamailio/commit/43207442aec71d290442c174dd2bd19…
Patch:
https://github.com/kamailio/kamailio/commit/43207442aec71d290442c174dd2bd19…
4 years, 7 months
1
0
0
0
← Newer
1
...
32
33
34
35
36
37
38
...
42
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
Results per page:
10
25
50
100
200