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
February 2015
----- 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
39 participants
341 discussions
Start a n
N
ew thread
git:4.2:9524b347: db_text : missing OP_NEQ
by Luis Azedo
Module: kamailio Branch: 4.2 Commit: 9524b3471802c09361fd290cf35b2d5096ac0767 URL:
https://github.com/kamailio/kamailio/commit/9524b3471802c09361fd290cf35b2d5…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: Luis Azedo <luis(a)2600hz.com> Date: 2015-02-19T17:52:06Z db_text : missing OP_NEQ this affects the presence package when it queries for active_watchers (cherry picked from commit 5adbfc6cc62be393ac55d296cab79f7e60b17ae4) --- Modified: modules/db_text/dbt_res.c --- Diff:
https://github.com/kamailio/kamailio/commit/9524b3471802c09361fd290cf35b2d5…
Patch:
https://github.com/kamailio/kamailio/commit/9524b3471802c09361fd290cf35b2d5…
--- diff --git a/modules/db_text/dbt_res.c b/modules/db_text/dbt_res.c index c64a7f2..5eb75e8 100644 --- a/modules/db_text/dbt_res.c +++ b/modules/db_text/dbt_res.c @@ -208,6 +208,11 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, if(res!=0) return 0; }else{ + if(!strcmp(_op[i], OP_NEQ)) + { + if(res==0) + return 0; + }else{ if(!strcmp(_op[i], OP_LT)) { if(res!=-1) @@ -229,7 +234,7 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, return 0; }else{ return 0; - }}}}} + }}}}}} } return 1; }
9 years, 9 months
1
0
0
0
git:master:367887d6: Merge pull request #92 from kamailio/lazedo-patch-1
by lazedo
Module: kamailio Branch: master Commit: 367887d6437db5f1c5e70258d3838f3a2acbd084 URL:
https://github.com/kamailio/kamailio/commit/367887d6437db5f1c5e70258d3838f3…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2015-02-19T17:50:22Z Merge pull request #92 from kamailio/lazedo-patch-1 db_text : missing OP_NEQ --- Modified: modules/db_text/dbt_res.c --- Diff:
https://github.com/kamailio/kamailio/commit/367887d6437db5f1c5e70258d3838f3…
Patch:
https://github.com/kamailio/kamailio/commit/367887d6437db5f1c5e70258d3838f3…
--- diff --git a/modules/db_text/dbt_res.c b/modules/db_text/dbt_res.c index f115992..bff71b0 100644 --- a/modules/db_text/dbt_res.c +++ b/modules/db_text/dbt_res.c @@ -208,6 +208,11 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, if(res!=0) return 0; }else{ + if(!strcmp(_op[i], OP_NEQ)) + { + if(res==0) + return 0; + }else{ if(!strcmp(_op[i], OP_LT)) { if(res!=-1) @@ -229,7 +234,7 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, return 0; }else{ return 0; - }}}}} + }}}}}} } return 1; }
9 years, 9 months
1
0
0
0
git:master:5adbfc6c: db_text : missing OP_NEQ
by lazedo
Module: kamailio Branch: master Commit: 5adbfc6cc62be393ac55d296cab79f7e60b17ae4 URL:
https://github.com/kamailio/kamailio/commit/5adbfc6cc62be393ac55d296cab79f7…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2015-02-18T23:01:57Z db_text : missing OP_NEQ this affects the presence package when it queries for active_watchers --- Modified: modules/db_text/dbt_res.c --- Diff:
https://github.com/kamailio/kamailio/commit/5adbfc6cc62be393ac55d296cab79f7…
Patch:
https://github.com/kamailio/kamailio/commit/5adbfc6cc62be393ac55d296cab79f7…
--- diff --git a/modules/db_text/dbt_res.c b/modules/db_text/dbt_res.c index f115992..bff71b0 100644 --- a/modules/db_text/dbt_res.c +++ b/modules/db_text/dbt_res.c @@ -208,6 +208,11 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, if(res!=0) return 0; }else{ + if(!strcmp(_op[i], OP_NEQ)) + { + if(res==0) + return 0; + }else{ if(!strcmp(_op[i], OP_LT)) { if(res!=-1) @@ -229,7 +234,7 @@ int dbt_row_match(dbt_table_p _dtp, dbt_row_p _drp, int* _lkey, return 0; }else{ return 0; - }}}}} + }}}}}} } return 1; }
9 years, 9 months
1
0
0
0
[kamailio] db_text : missing OP_NEQ (#92)
by lazedo
this affects the presence package when it queries for active_watchers You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/92
-- Commit Summary -- * db_text : missing OP_NEQ -- File Changes -- M modules/db_text/dbt_res.c (7) -- Patch Links --
https://github.com/kamailio/kamailio/pull/92.patch
https://github.com/kamailio/kamailio/pull/92.diff
--- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/92
9 years, 9 months
2
2
0
0
git:master:d5ac2a0b: tcpops: check protocol of current message
by Camille Oudot
Module: kamailio Branch: master Commit: d5ac2a0b21c51f0759c16ff39e6d28e1bc8730d7 URL:
https://github.com/kamailio/kamailio/commit/d5ac2a0b21c51f0759c16ff39e6d28e…
Author: Camille Oudot <camille.oudot(a)orange.com> Committer: Camille Oudot <camille.oudot(a)orange.com> Date: 2015-02-19T18:18:57+01:00 tcpops: check protocol of current message --- Modified: modules/tcpops/tcpops_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/d5ac2a0b21c51f0759c16ff39e6d28e…
Patch:
https://github.com/kamailio/kamailio/commit/d5ac2a0b21c51f0759c16ff39e6d28e…
--- diff --git a/modules/tcpops/tcpops_mod.c b/modules/tcpops/tcpops_mod.c index 49c92a6..d4b90c4 100644 --- a/modules/tcpops/tcpops_mod.c +++ b/modules/tcpops/tcpops_mod.c @@ -45,15 +45,15 @@ static int w_tcp_keepalive_enable3(sip_msg_t* msg, char* idle, char *cnt, char * static int w_tcp_keepalive_disable1(sip_msg_t* msg, char* con); static int w_tcp_keepalive_disable0(sip_msg_t* msg); -static int fixup_tcp_keepalive_numpv(void** param, int param_no); +static int fixup_numpv(void** param, int param_no); static cmd_export_t cmds[]={ - {"tcp_keepalive_enable", (cmd_function)w_tcp_keepalive_enable4, 4, fixup_tcp_keepalive_numpv, + {"tcp_keepalive_enable", (cmd_function)w_tcp_keepalive_enable4, 4, fixup_numpv, 0, ANY_ROUTE}, - {"tcp_keepalive_enable", (cmd_function)w_tcp_keepalive_enable3, 3, fixup_tcp_keepalive_numpv, + {"tcp_keepalive_enable", (cmd_function)w_tcp_keepalive_enable3, 3, fixup_numpv, 0, REQUEST_ROUTE|ONREPLY_ROUTE}, - {"tcp_keepalive_disable", (cmd_function)w_tcp_keepalive_disable1, 1, fixup_tcp_keepalive_numpv, + {"tcp_keepalive_disable", (cmd_function)w_tcp_keepalive_disable1, 1, fixup_numpv, 0, ANY_ROUTE}, {"tcp_keepalive_disable", (cmd_function)w_tcp_keepalive_disable0, 0, 0, 0, REQUEST_ROUTE|ONREPLY_ROUTE}, @@ -148,7 +148,13 @@ static int w_tcp_keepalive_enable3(sip_msg_t* msg, char* idle, char *cnt, char * { int fd; - if (msg == NULL) { + if (unlikely(msg == NULL)) { + return -1; + } + + if(unlikely(msg->rcv.proto != PROTO_TCP && msg->rcv.proto != PROTO_TLS && msg->rcv.proto != PROTO_WS && msg->rcv.proto != PROTO_WSS)) + { + LM_ERR("the current message does not come from a TCP connection\n"); return -1; } @@ -188,9 +194,15 @@ static int w_tcp_keepalive_disable0(sip_msg_t* msg) { int fd; - if (msg == NULL) + if (unlikely(msg == NULL)) return -1; + if(unlikely(msg->rcv.proto != PROTO_TCP && msg->rcv.proto != PROTO_TLS && msg->rcv.proto != PROTO_WS && msg->rcv.proto != PROTO_WSS)) + { + LM_ERR("the current message does not come from a TCP connection\n"); + return -1; + } + if (!tcpops_get_current_fd(msg->rcv.proto_reserved1, &fd)) { return -1; } @@ -201,7 +213,7 @@ static int w_tcp_keepalive_disable0(sip_msg_t* msg) /** * */ -static int fixup_tcp_keepalive_numpv(void** param, int param_no) +static int fixup_numpv(void** param, int param_no) { return fixup_igp_null(param, 1); }
9 years, 9 months
1
0
0
0
git:master:1dbcc939: Merge pull request #93 from tsearle/master
by tsearle
Module: kamailio Branch: master Commit: 1dbcc93952db87fb158886b05b03f82626ff933c URL:
https://github.com/kamailio/kamailio/commit/1dbcc93952db87fb158886b05b03f82…
Author: tsearle <tsearle(a)gmail.com> Committer: tsearle <tsearle(a)gmail.com> Date: 2015-02-19T10:24:43+01:00 Merge pull request #93 from tsearle/master modules/sipt: added the ability to modify the first byte of Backwards Call Indication Parameters --- Modified: modules/sipt/README Modified: modules/sipt/doc/sipt_admin.xml Modified: modules/sipt/sipt.c Modified: modules/sipt/ss7.h Modified: modules/sipt/ss7_parser.c --- Diff:
https://github.com/kamailio/kamailio/commit/1dbcc93952db87fb158886b05b03f82…
Patch:
https://github.com/kamailio/kamailio/commit/1dbcc93952db87fb158886b05b03f82…
9 years, 9 months
1
0
0
0
git:master:059c9a33: modules/sipt: fix example values in documentation
by Torrey Searle
Module: kamailio Branch: master Commit: 059c9a33fd451b59b83f913f86a0843e2c5bbefa URL:
https://github.com/kamailio/kamailio/commit/059c9a33fd451b59b83f913f86a0843…
Author: Torrey Searle <tsearle(a)gmail.com> Committer: Torrey Searle <tsearle(a)gmail.com> Date: 2015-02-19T09:24:37+01:00 modules/sipt: fix example values in documentation --- Modified: modules/sipt/README Modified: modules/sipt/doc/sipt_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/059c9a33fd451b59b83f913f86a0843…
Patch:
https://github.com/kamailio/kamailio/commit/059c9a33fd451b59b83f913f86a0843…
--- diff --git a/modules/sipt/README b/modules/sipt/README index 2fd94bc..5e33c7c 100644 --- a/modules/sipt/README +++ b/modules/sipt/README @@ -135,8 +135,8 @@ e2e_indicator) Example 1.2. sipt_destination(destination, hops, nai) usage ... -# set bci for e2e internetworking, and no charging -sipt_set_bci_1("0", "0", "0", "1"); +# set bci for charging, subscriber free, ordinary, no e2e available +sipt_set_bci_1("2", "1", "1", "0"); ... 3.3. sipt_set_calling(origin, nai, presentation, screening) diff --git a/modules/sipt/doc/sipt_admin.xml b/modules/sipt/doc/sipt_admin.xml index 8ef065f..42e329c 100644 --- a/modules/sipt/doc/sipt_admin.xml +++ b/modules/sipt/doc/sipt_admin.xml @@ -68,8 +68,8 @@ sipt_destination($rU, 31, 4); <title><function moreinfo="none">sipt_destination(destination, hops, nai)</function> usage</title> <programlisting format="linespecific"> ... -# set bci for e2e internetworking, and no charging -sipt_set_bci_1("0", "0", "0", "1"); +# set bci for charging, subscriber free, ordinary, no e2e available +sipt_set_bci_1("2", "1", "1", "0"); ... </programlisting> </example>
9 years, 9 months
1
0
0
0
git:master:a7f8ee27: add ability to modify BCI header
by Torrey Searle
Module: kamailio Branch: master Commit: a7f8ee271acca095fa6a7c2dddf0dcba62102efd URL:
https://github.com/kamailio/kamailio/commit/a7f8ee271acca095fa6a7c2dddf0dcb…
Author: Torrey Searle <tsearle(a)gmail.com> Committer: Torrey Searle <tsearle(a)gmail.com> Date: 2015-02-18T20:48:11+01:00 add ability to modify BCI header --- Modified: modules/sipt/README Modified: modules/sipt/doc/sipt_admin.xml Modified: modules/sipt/sipt.c Modified: modules/sipt/ss7.h Modified: modules/sipt/ss7_parser.c --- Diff:
https://github.com/kamailio/kamailio/commit/a7f8ee271acca095fa6a7c2dddf0dcb…
Patch:
https://github.com/kamailio/kamailio/commit/a7f8ee271acca095fa6a7c2dddf0dcb…
9 years, 9 months
1
0
0
0
[kamailio] added the ability to modify the first byte of Backwards Call Indication Parameters (#93)
by tsearle
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/93
-- Commit Summary -- * add ability to modify BCI header * modules/sipt: fix example values in documentation -- File Changes -- M modules/sipt/README (61) M modules/sipt/doc/sipt_admin.xml (18) M modules/sipt/sipt.c (70) M modules/sipt/ss7.h (1) M modules/sipt/ss7_parser.c (24) -- Patch Links --
https://github.com/kamailio/kamailio/pull/93.patch
https://github.com/kamailio/kamailio/pull/93.diff
--- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/93
9 years, 9 months
1
1
0
0
git:master:3be5902a: pv: fixed the definition of the new $sut variable
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 3be5902a697caca2dd70fae2e17a1e0acb87c089 URL:
https://github.com/kamailio/kamailio/commit/3be5902a697caca2dd70fae2e17a1e0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-02-19T09:36:57+01:00 pv: fixed the definition of the new $sut variable - reported by Luis Azedo --- Modified: modules/pv/pv.c --- Diff:
https://github.com/kamailio/kamailio/commit/3be5902a697caca2dd70fae2e17a1e0…
Patch:
https://github.com/kamailio/kamailio/commit/3be5902a697caca2dd70fae2e17a1e0…
--- diff --git a/modules/pv/pv.c b/modules/pv/pv.c index af9728f..2f99a53 100644 --- a/modules/pv/pv.c +++ b/modules/pv/pv.c @@ -381,7 +381,7 @@ static pv_export_t mod_pvs[] = { {{"td", (sizeof("td")-1)}, /* */ PVT_OTHER, pv_get_to_attr, pv_set_to_domain, 0, 0, pv_init_iname, 3}, - {{"su", (sizeof("sut")-1)}, /* */ + {{"sut", (sizeof("sut")-1)}, /* */ PVT_OTHER, pv_get_srcaddr_uri_full, 0, 0, 0, 0, 0}, {{"to.domain", (sizeof("to.domain")-1)}, /* */
9 years, 9 months
1
0
0
0
← Newer
1
...
8
9
10
11
12
13
14
...
35
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
Results per page:
10
25
50
100
200