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
May 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
32 participants
298 discussions
Start a n
N
ew thread
git:master:7386b03b: Merge branch 'master' of https://github.com/kamailio/kamailio
by Juha Heinanen
Module: kamailio Branch: master Commit: 7386b03b5e70b9faf61d84bfabf88092afc65a8c URL:
https://github.com/kamailio/kamailio/commit/7386b03b5e70b9faf61d84bfabf8809…
Author: Juha Heinanen <jh(a)tutpro.com> Committer: Juha Heinanen <jh(a)tutpro.com> Date: 2017-05-15T19:04:48+03:00 Merge branch 'master' of
https://github.com/kamailio/kamailio
--- Modified: src/modules/lcr/README --- Diff:
https://github.com/kamailio/kamailio/commit/7386b03b5e70b9faf61d84bfabf8809…
Patch:
https://github.com/kamailio/kamailio/commit/7386b03b5e70b9faf61d84bfabf8809…
7 years, 6 months
1
0
0
0
git:master:c4754f60: modules/lcr: forgot to copy new versions of lcr *.h files to k master
by Juha Heinanen
Module: kamailio Branch: master Commit: c4754f60f010b8ad55a3785ea362dfeeda008300 URL:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
Author: Juha Heinanen <jh(a)tutpro.com> Committer: Juha Heinanen <jh(a)tutpro.com> Date: 2017-05-15T19:02:21+03:00 modules/lcr: forgot to copy new versions of lcr *.h files to k master - thanks to Travis CI --- Modified: src/modules/lcr/hash.h Modified: src/modules/lcr/lcr_mod.h --- Diff:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
Patch:
https://github.com/kamailio/kamailio/commit/c4754f60f010b8ad55a3785ea362dfe…
--- diff --git a/src/modules/lcr/hash.h b/src/modules/lcr/hash.h index 33c8b58..f09e379 100644 --- a/src/modules/lcr/hash.h +++ b/src/modules/lcr/hash.h @@ -36,7 +36,8 @@ int rule_hash_table_insert(struct rule_info **hash_table, unsigned int lcr_id, unsigned int rule_id, unsigned short prefix_len, char *prefix, unsigned short from_uri_len, char *from_uri, - pcre *from_uri_re, unsigned short request_uri_len, + pcre *from_uri_re, unsigned short mt_tvalue_len, + char *mt_tvalue, unsigned short request_uri_len, char *request_uri, pcre *request_uri_re, unsigned short stopper); diff --git a/src/modules/lcr/lcr_mod.h b/src/modules/lcr/lcr_mod.h index 9d4e6f2..89e20ff 100644 --- a/src/modules/lcr/lcr_mod.h +++ b/src/modules/lcr/lcr_mod.h @@ -47,6 +47,7 @@ #define MAX_USER_LEN 64 #define MAX_PARAMS_LEN 64 #define MAX_NO_OF_REPLY_CODES 15 +#define MAX_MT_TVALUE_LEN 128 typedef enum sip_protos uri_transport; @@ -56,6 +57,8 @@ struct rule_info { unsigned short prefix_len; char from_uri[MAX_URI_LEN + 1]; unsigned short from_uri_len; + char mt_tvalue[MAX_MT_TVALUE_LEN + 1]; + unsigned short mt_tvalue_len; pcre *from_uri_re; char request_uri[MAX_URI_LEN + 1]; unsigned short request_uri_len;
7 years, 6 months
1
0
0
0
wiki Log In link leads to unprotected (http) page
by Juha Heinanen
wiki Log In link leads to unprotected (http) page
7 years, 6 months
2
1
0
0
Broken: kamailio/kamailio#4273 (master - c5127e6)
by Travis CI
Build Update for kamailio/kamailio ------------------------------------- Build: #4273 Status: Broken Duration: 5 minutes and 20 seconds Commit: c5127e6 (master) Author: Juha Heinanen Message: modules/lcr: added possibility to match caller URI userpart to a mtree tvalue View the changeset:
https://github.com/kamailio/kamailio/compare/dcd16ac30620...c5127e6d19c4
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/232479240?utm_source=email&u…
-- You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
7 years, 6 months
1
0
0
0
git:master:76bf1a86: modules: readme files regenerated - lcr ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 76bf1a8682b83c302be594b9d4d0e491f9350cae URL:
https://github.com/kamailio/kamailio/commit/76bf1a8682b83c302be594b9d4d0e49…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-05-15T17:31:22+02:00 modules: readme files regenerated - lcr ... [skip ci] --- Modified: src/modules/lcr/README --- Diff:
https://github.com/kamailio/kamailio/commit/76bf1a8682b83c302be594b9d4d0e49…
Patch:
https://github.com/kamailio/kamailio/commit/76bf1a8682b83c302be594b9d4d0e49…
7 years, 6 months
1
0
0
0
git:master:c5127e6d: modules/lcr: added possibility to match caller URI userpart to a mtree tvalue
by Juha Heinanen
Module: kamailio Branch: master Commit: c5127e6d19c4f30072d81213f5eb49e4a6306bb3 URL:
https://github.com/kamailio/kamailio/commit/c5127e6d19c4f30072d81213f5eb49e…
Author: Juha Heinanen <jh(a)tutpro.com> Committer: Juha Heinanen <jh(a)tutpro.com> Date: 2017-05-15T18:12:32+03:00 modules/lcr: added possibility to match caller URI userpart to a mtree tvalue --- Modified: src/lib/srdb1/schema/lcr_rule.xml Modified: src/modules/lcr/doc/lcr_admin.xml Modified: src/modules/lcr/hash.c Modified: src/modules/lcr/lcr_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/c5127e6d19c4f30072d81213f5eb49e…
Patch:
https://github.com/kamailio/kamailio/commit/c5127e6d19c4f30072d81213f5eb49e…
7 years, 6 months
1
0
0
0
git:master:dcd16ac3: modules: readme files regenerated - mtree ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: dcd16ac3062028a0857510ccd3dc9ec2a06b01b5 URL:
https://github.com/kamailio/kamailio/commit/dcd16ac3062028a0857510ccd3dc9ec…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-05-15T15:46:24+02:00 modules: readme files regenerated - mtree ... [skip ci] --- Modified: src/modules/mtree/README --- Diff:
https://github.com/kamailio/kamailio/commit/dcd16ac3062028a0857510ccd3dc9ec…
Patch:
https://github.com/kamailio/kamailio/commit/dcd16ac3062028a0857510ccd3dc9ec…
--- diff --git a/src/modules/mtree/README b/src/modules/mtree/README index 18f3386..685adad 100644 --- a/src/modules/mtree/README +++ b/src/modules/mtree/README @@ -62,6 +62,13 @@ Juha Heinanen 5.3. mtree.reload 5.4. mtree.match + 2. Developer Guide + + 1. Available Functions + + 1.1. mt_load_api(api) + 1.2. mt_match(msg, mtree, value, mode) + List of Examples 1.1. Set db_url parameter @@ -407,3 +414,36 @@ kamcmd mtree.list mytree - match prefix * _mode_ - matching mode + +Chapter 2. Developer Guide + + Table of Contents + + 1. Available Functions + + 1.1. mt_load_api(api) + 1.2. mt_match(msg, mtree, value, mode) + +1. Available Functions + + 1.1. mt_load_api(api) + 1.2. mt_match(msg, mtree, value, mode) + +1.1. mt_load_api(api) + + The function imports all API functions that are exported by the mtree + module (see sections below). + + Meaning of the parameters is as follows: + * mtree_api_t* api - mtree API + +1.2. mt_match(msg, mtree, value, mode) + + Match 'value' against 'mtree' using 'mode' (see mt_match function Admin + Guide documentation). + + Meaning of the parameters is as follows: + * sip_msg_t *msg - SIP Request + * str *mtree - Name of mtree + * str *value - Value to match + * int mode - Match mode
7 years, 6 months
1
0
0
0
git:master:556fab89: modules/mtree: added mt_match API function
by Juha Heinanen
Module: kamailio Branch: master Commit: 556fab89cec8d1eda726f38f4ddf0477e97bb79d URL:
https://github.com/kamailio/kamailio/commit/556fab89cec8d1eda726f38f4ddf047…
Author: Juha Heinanen <jh(a)tutpro.com> Committer: Juha Heinanen <jh(a)tutpro.com> Date: 2017-05-15T16:40:28+03:00 modules/mtree: added mt_match API function --- Added: src/modules/mtree/api.h Added: src/modules/mtree/doc/mtree_devel.xml Modified: src/modules/mtree/doc/mtree.xml Modified: src/modules/mtree/mtree_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/556fab89cec8d1eda726f38f4ddf047…
Patch:
https://github.com/kamailio/kamailio/commit/556fab89cec8d1eda726f38f4ddf047…
7 years, 6 months
1
0
0
0
git:master:9ff4dd36: tm: use a stack of structures for faked_env()
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9ff4dd36ad63f60905a49f8c0e437f997e54ae70 URL:
https://github.com/kamailio/kamailio/commit/9ff4dd36ad63f60905a49f8c0e437f9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-15T14:58:03+02:00 tm: use a stack of structures for faked_env() - be safe if there is a new faked_env() inside another faked_env() --- Modified: src/modules/tm/t_reply.c Modified: src/modules/tm/t_reply.h --- Diff:
https://github.com/kamailio/kamailio/commit/9ff4dd36ad63f60905a49f8c0e437f9…
Patch:
https://github.com/kamailio/kamailio/commit/9ff4dd36ad63f60905a49f8c0e437f9…
7 years, 6 months
1
0
0
0
git:master:ab346e80: kazoo: avoid creating an empty route block structure
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ab346e80647228afdbcaf6884a8573c9221ca38b URL:
https://github.com/kamailio/kamailio/commit/ab346e80647228afdbcaf6884a8573c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-15T14:31:17+02:00 kazoo: avoid creating an empty route block structure - use route_lookup() instead of route_get(), so the empty route block is not created if the route is not defined in the kamailio.cfg --- Modified: src/modules/kazoo/kz_amqp.c --- Diff:
https://github.com/kamailio/kamailio/commit/ab346e80647228afdbcaf6884a8573c…
Patch:
https://github.com/kamailio/kamailio/commit/ab346e80647228afdbcaf6884a8573c…
--- diff --git a/src/modules/kazoo/kz_amqp.c b/src/modules/kazoo/kz_amqp.c index f7fc8c1..da31089 100644 --- a/src/modules/kazoo/kz_amqp.c +++ b/src/modules/kazoo/kz_amqp.c @@ -2401,14 +2401,22 @@ void kz_amqp_fire_connection_event(char *event, char* host, char* zone) void kz_amqp_cb_ok(kz_amqp_cmd_ptr cmd) { - int n = route_get(&main_rt, cmd->cb_route); + int n = route_lookup(&main_rt, cmd->cb_route); + if(n==-1) { + /* route block not found in the configuration file */ + return; + } struct action *a = main_rt.rlist[n]; tmb.t_continue(cmd->t_hash, cmd->t_label, a); } void kz_amqp_cb_error(kz_amqp_cmd_ptr cmd) { - int n = route_get(&main_rt, cmd->err_route); + int n = route_lookup(&main_rt, cmd->err_route); + if(n==-1) { + /* route block not found in the configuration file */ + return; + } struct action *a = main_rt.rlist[n]; tmb.t_continue(cmd->t_hash, cmd->t_label, a); }
7 years, 6 months
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
30
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
Results per page:
10
25
50
100
200