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:4.2:98c3647a: travis-ci: use proper domain for sr-dev mailing list [skip ci]
by Victor Seva
Module: kamailio Branch: 4.2 Commit: 98c3647a47a1c93f7182cdbf0c653c399a128f17 URL:
https://github.com/kamailio/kamailio/commit/98c3647a47a1c93f7182cdbf0c653c3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-05-30T17:02:04+02:00 travis-ci: use proper domain for sr-dev mailing list [skip ci] (cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64) --- Modified: .travis.yml --- Diff:
https://github.com/kamailio/kamailio/commit/98c3647a47a1c93f7182cdbf0c653c3…
Patch:
https://github.com/kamailio/kamailio/commit/98c3647a47a1c93f7182cdbf0c653c3…
--- diff --git a/.travis.yml b/.travis.yml index bd33d3068b..ffcd3d87af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,6 @@ notifications: on_failure: always email: recipients: - - sr-dev(a)lists.sip-router.org + - sr-dev(a)lists.kamailio.org on_success: never on_failure: always
7 years, 5 months
1
0
0
0
git:4.1:ed7bb150: travis-ci: use proper domain for sr-dev mailing list [skip ci]
by Victor Seva
Module: kamailio Branch: 4.1 Commit: ed7bb150a74afba3548a745fd18805d1fddcfe31 URL:
https://github.com/kamailio/kamailio/commit/ed7bb150a74afba3548a745fd18805d…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-05-30T17:02:23+02:00 travis-ci: use proper domain for sr-dev mailing list [skip ci] (cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64) --- Modified: .travis.yml --- Diff:
https://github.com/kamailio/kamailio/commit/ed7bb150a74afba3548a745fd18805d…
Patch:
https://github.com/kamailio/kamailio/commit/ed7bb150a74afba3548a745fd18805d…
--- diff --git a/.travis.yml b/.travis.yml index 75691729ff..0d1053c538 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,6 @@ notifications: on_failure: always email: recipients: - - sr-dev(a)lists.sip-router.org + - sr-dev(a)lists.kamailio.org on_success: never on_failure: always
7 years, 5 months
1
0
0
0
git:5.0:008aeb5c: travis-ci: use proper domain for sr-dev mailing list [skip ci]
by Victor Seva
Module: kamailio Branch: 5.0 Commit: 008aeb5c9844b734cdbb06d874a663c213d2c27d URL:
https://github.com/kamailio/kamailio/commit/008aeb5c9844b734cdbb06d874a663c…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-05-30T16:58:43+02:00 travis-ci: use proper domain for sr-dev mailing list [skip ci] (cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64) --- Modified: .travis.yml --- Diff:
https://github.com/kamailio/kamailio/commit/008aeb5c9844b734cdbb06d874a663c…
Patch:
https://github.com/kamailio/kamailio/commit/008aeb5c9844b734cdbb06d874a663c…
--- diff --git a/.travis.yml b/.travis.yml index 27c09af06f..6aba8affd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,6 @@ notifications: on_failure: always email: recipients: - - sr-dev(a)lists.sip-router.org + - sr-dev(a)lists.kamailio.org on_success: never on_failure: always
7 years, 5 months
1
0
0
0
git:4.4:2cd91070: travis-ci: use proper domain for sr-dev mailing list [skip ci]
by Victor Seva
Module: kamailio Branch: 4.4 Commit: 2cd91070d5eb823a2413d8100236db8c8a74d472 URL:
https://github.com/kamailio/kamailio/commit/2cd91070d5eb823a2413d8100236db8…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-05-30T16:58:55+02:00 travis-ci: use proper domain for sr-dev mailing list [skip ci] (cherry picked from commit bce1db4fce2a7cd75a8103916e1361b9c94d6f64) --- Modified: .travis.yml --- Diff:
https://github.com/kamailio/kamailio/commit/2cd91070d5eb823a2413d8100236db8…
Patch:
https://github.com/kamailio/kamailio/commit/2cd91070d5eb823a2413d8100236db8…
--- diff --git a/.travis.yml b/.travis.yml index a05dabddd6..108624aeb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,6 @@ notifications: on_failure: always email: recipients: - - sr-dev(a)lists.sip-router.org + - sr-dev(a)lists.kamailio.org on_success: never on_failure: always
7 years, 5 months
1
0
0
0
git:master:bce1db4f: travis-ci: use proper domain for sr-dev mailing list [skip ci]
by Victor Seva
Module: kamailio Branch: master Commit: bce1db4fce2a7cd75a8103916e1361b9c94d6f64 URL:
https://github.com/kamailio/kamailio/commit/bce1db4fce2a7cd75a8103916e1361b…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2017-05-30T16:58:07+02:00 travis-ci: use proper domain for sr-dev mailing list [skip ci] --- Modified: .travis.yml --- Diff:
https://github.com/kamailio/kamailio/commit/bce1db4fce2a7cd75a8103916e1361b…
Patch:
https://github.com/kamailio/kamailio/commit/bce1db4fce2a7cd75a8103916e1361b…
--- diff --git a/.travis.yml b/.travis.yml index e95a837af8..d51c90349c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,6 @@ notifications: on_failure: always email: recipients: - - sr-dev(a)lists.sip-router.org + - sr-dev(a)lists.kamailio.org on_success: never on_failure: always
7 years, 5 months
1
0
0
0
git:master:54fd334c: prefix_route: removed unused variable
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 54fd334c5726d65d012d218cc2cda5058549995b URL:
https://github.com/kamailio/kamailio/commit/54fd334c5726d65d012d218cc2cda50…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-30T12:40:04+02:00 prefix_route: removed unused variable --- Modified: src/modules/prefix_route/prefix_route.c --- Diff:
https://github.com/kamailio/kamailio/commit/54fd334c5726d65d012d218cc2cda50…
Patch:
https://github.com/kamailio/kamailio/commit/54fd334c5726d65d012d218cc2cda50…
--- diff --git a/src/modules/prefix_route/prefix_route.c b/src/modules/prefix_route/prefix_route.c index 9153fe7b5b..4289a46464 100644 --- a/src/modules/prefix_route/prefix_route.c +++ b/src/modules/prefix_route/prefix_route.c @@ -305,7 +305,6 @@ static int ki_prefix_route_uri(sip_msg_t *msg) */ static int prefix_route(struct sip_msg *msg, char *p1, char *p2) { - struct run_act_ctx ra_ctx; str user; int err; @@ -393,4 +392,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2) { sr_kemi_modules_add(sr_kemi_prefix_route_exports); return 0; -} \ No newline at end of file +}
7 years, 5 months
1
0
0
0
git:master:6021f1db: presence: removed unused variables
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6021f1db834ccbed6f01027c2bb5d00c5947b7d6 URL:
https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-30T12:37:37+02:00 presence: removed unused variables --- Modified: src/modules/presence/presence.c --- Diff:
https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00…
Patch:
https://github.com/kamailio/kamailio/commit/6021f1db834ccbed6f01027c2bb5d00…
--- diff --git a/src/modules/presence/presence.c b/src/modules/presence/presence.c index cc71171003..9bd1f22a88 100644 --- a/src/modules/presence/presence.c +++ b/src/modules/presence/presence.c @@ -575,9 +575,6 @@ static void destroy(void) static int fixup_presence(void** param, int param_no) { - pv_elem_t *model; - str s; - if(library_mode) { LM_ERR("Bad config - you can not call 'handle_publish' function" " (db_url not set)\n"); @@ -1933,4 +1930,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2) { sr_kemi_modules_add(sr_kemi_presence_exports); return 0; -} \ No newline at end of file +}
7 years, 5 months
1
0
0
0
git:master:2cb9ffc5: debugger: fixed function name exported to kemi interface
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2cb9ffc5d110e7baa75a11841369e84c14fe304c URL:
https://github.com/kamailio/kamailio/commit/2cb9ffc5d110e7baa75a11841369e84…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-30T12:35:51+02:00 debugger: fixed function name exported to kemi interface --- Modified: src/modules/debugger/debugger_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/2cb9ffc5d110e7baa75a11841369e84…
Patch:
https://github.com/kamailio/kamailio/commit/2cb9ffc5d110e7baa75a11841369e84…
--- diff --git a/src/modules/debugger/debugger_mod.c b/src/modules/debugger/debugger_mod.c index bbbd535aef..97dee43590 100644 --- a/src/modules/debugger/debugger_mod.c +++ b/src/modules/debugger/debugger_mod.c @@ -621,7 +621,7 @@ static sr_kemi_t sr_kemi_debugger_exports[] = { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, { str_init("debugger"), str_init("dbg_pv_dump_ex"), - SR_KEMIP_INT, ki_dbg_pv_dump, + SR_KEMIP_INT, ki_dbg_pv_dump_ex, { SR_KEMIP_INT, SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } },
7 years, 5 months
1
0
0
0
git:master:b9c58c6c: keepalive: functions exported to kemi interface
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b9c58c6c490e62297c7b39b97a2c3aeb3441b3a1 URL:
https://github.com/kamailio/kamailio/commit/b9c58c6c490e62297c7b39b97a2c3ae…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-05-30T10:34:36+02:00 keepalive: functions exported to kemi interface --- Modified: src/modules/keepalive/keepalive_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/b9c58c6c490e62297c7b39b97a2c3ae…
Patch:
https://github.com/kamailio/kamailio/commit/b9c58c6c490e62297c7b39b97a2c3ae…
--- diff --git a/src/modules/keepalive/keepalive_mod.c b/src/modules/keepalive/keepalive_mod.c index fc47a7153a..08550031b9 100644 --- a/src/modules/keepalive/keepalive_mod.c +++ b/src/modules/keepalive/keepalive_mod.c @@ -35,6 +35,8 @@ #include <unistd.h> #include "../../core/mod_fix.h" +#include "../../core/kemi.h" + #include "../tm/tm_load.h" #include "../dispatcher/api.h" @@ -197,4 +199,28 @@ static int w_cmd_is_alive(struct sip_msg *msg, char *str1, char *str2) return -1; } return ki_is_alive(msg, &dest); +} + +/** + * + */ +/* clang-format off */ +static sr_kemi_t sr_kemi_keepalive_exports[] = { + { str_init("keepalive"), str_init("is_alive"), + SR_KEMIP_INT, ki_is_alive, + { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, + + { {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } } +}; +/* clang-format on */ + +/** + * + */ +int mod_register(char *path, int *dlflags, void *p1, void *p2) +{ + sr_kemi_modules_add(sr_kemi_keepalive_exports); + return 0; } \ No newline at end of file
7 years, 5 months
1
0
0
0
git:master:7fce5340: modules: readme files regenerated - ipops ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 7fce53407c4ca8695b325a92a1574a1f01daf80b URL:
https://github.com/kamailio/kamailio/commit/7fce53407c4ca8695b325a92a1574a1…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2017-05-29T23:31:20+02:00 modules: readme files regenerated - ipops ... [skip ci] --- Modified: src/modules/ipops/README --- Diff:
https://github.com/kamailio/kamailio/commit/7fce53407c4ca8695b325a92a1574a1…
Patch:
https://github.com/kamailio/kamailio/commit/7fce53407c4ca8695b325a92a1574a1…
--- diff --git a/src/modules/ipops/README b/src/modules/ipops/README index a71cf1e5f3..a8121ccd3b 100644 --- a/src/modules/ipops/README +++ b/src/modules/ipops/README @@ -43,6 +43,7 @@ Iñaki Baz Castillo 4.15. dns_int_match_ip(hostname, ipaddr) 4.16. dns_query(hostname, pvid) 4.17. srv_query(srvcname, pvid) + 4.18. naptr_query(domain, pvid) List of Examples @@ -63,6 +64,7 @@ Iñaki Baz Castillo 1.15. dns_int_match_ip usage 1.16. dns_query usage 1.17. srv_query usage + 1.18. naptr_query usage Chapter 1. Admin Guide @@ -94,6 +96,7 @@ Chapter 1. Admin Guide 4.15. dns_int_match_ip(hostname, ipaddr) 4.16. dns_query(hostname, pvid) 4.17. srv_query(srvcname, pvid) + 4.18. naptr_query(domain, pvid) 1. Overview @@ -152,6 +155,7 @@ Chapter 1. Admin Guide 4.15. dns_int_match_ip(hostname, ipaddr) 4.16. dns_query(hostname, pvid) 4.17. srv_query(srvcname, pvid) + 4.18. naptr_query(domain, pvid) 4.1. is_ip (ip) @@ -563,3 +567,48 @@ if (srv_query ("
_sip._udp.example.com
", "udp") > 0) { } } ... + +4.18. naptr_query(domain, pvid) + + Queries DNS NAPTR records to resolve a domain name into a list of + orders, preferences, flags, services, regex, replaces sorted by orders + and preferences as outlined in RFC 2915. + + Parameters: + * domain - string or pseudo-variable containing the domain. For + example, "
example.com
". + * pvid - container id for script variable. + + Output: + + Returns a positive number indicating success or a negative number when + an error is encountered. It can be used from ANY_ROUTE. + + The $naptrquery pseudo-variable (PV) is loaded with the results of the + query. Multiple queries can be stored in the PV using the pvid key. + Each query contains zero-indexed arrays sorted by order and preference + that contain: + * count - number of records found + * order [index] - order as defined by RFC 2915 + * pref [index] - preference as defined by RFC 2915 + * flags [index] - flags + * services [index] - services + * regex [index] - regular expression + * replace [index] - replace + + Example 1.18. naptr_query usage +... +if (naptr_query ("
example.com
", "res") > 0) { + $var(cnt) = $naptrquery(res=>count); + $var(i) = 0; + while ($var(i) < $var(cnt)) { + xlog ("order[$var(i)] $naptrquery(udp=>order[$var(i)])\n"); + xlog ("pref[$var(i)] $naptrquery(udp=>pref[$var(i)])\n"); + xlog ("flags[$var(i)] $naptrquery(udp=>flags[$var(i)])\n"); + xlog ("services[$var(i)] $naptrquery(udp=>services[$var(i)])\n"); + xlog ("regex[$var(i)] $naptrquery(udp=>regex[$var(i)])\n"); + xlog ("replace[$var(i)] $naptrquery(udp=>replace[$var(i)])\n"); + $var(i) = $var(i) + 1; + } +} +...
7 years, 5 months
1
0
0
0
← Newer
1
...
6
7
8
9
10
11
12
...
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