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
December 2017
----- 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
26 participants
475 discussions
Start a n
N
ew thread
git:master:3e803241: phonenum: linking with libphonenumbers requires -lgeocoding
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 3e80324168536fbb97a592254725f2aa6ea589af URL:
https://github.com/kamailio/kamailio/commit/3e80324168536fbb97a592254725f2a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-12-09T13:50:34+01:00 phonenum: linking with libphonenumbers requires -lgeocoding --- Modified: src/modules/phonenum/Makefile --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
3e80324168536fbb97a592254725f2a…
Patch:
https://github.com/kamailio/kamailio/commit/3e80324168536fbb97a592254725f2a…
--- diff --git a/src/modules/phonenum/Makefile b/src/modules/phonenum/Makefile index b66f2b8c82..4c905cec36 100644 --- a/src/modules/phonenum/Makefile +++ b/src/modules/phonenum/Makefile @@ -9,7 +9,7 @@ CXX=g++ LD=g++ LIB_DIR = /opt/local/lib -LIBS= -L${LIB_DIR} cphonenumber.o -lphonenumber +LIBS= -L${LIB_DIR} cphonenumber.o -lphonenumber -lgeocoding DEFS+= -I/opt/local/include -DKAMAILIO_MOD_INTERFACE
[View Less]
7 years, 1 month
1
0
0
0
git:master:9a21a25a: misc_radius: fixed name of function exported to cfg
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9a21a25a831d1ce241785eba92819be71af861ef URL:
https://github.com/kamailio/kamailio/commit/9a21a25a831d1ce241785eba92819be…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-12-09T13:50:34+01:00 misc_radius: fixed name of function exported to cfg --- Modified: src/modules/misc_radius/functions.c --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
9a21a25a831d1ce241785eba92819be…
Patch:
https://github.com/kamailio/kamailio/commit/9a21a25a831d1ce241785eba92819be…
--- diff --git a/src/modules/misc_radius/functions.c b/src/modules/misc_radius/functions.c index 9a6abfbeab..d01e79f658 100644 --- a/src/modules/misc_radius/functions.c +++ b/src/modules/misc_radius/functions.c @@ -664,7 +664,7 @@ int ki_radius_does_uri_exist_uval(struct sip_msg *_m, str *suri) _m, &parsed_uri.user, &parsed_uri.host); } -int radius_does_uri_exist(struct sip_msg *_m, char *_sp, char *_s2) +int radius_does_uri_exist_1(struct sip_msg *_m, char *_sp, char *_s2) { str suri;
[View Less]
7 years, 1 month
1
0
0
0
git:master:fc65848a: acc_diameter: use acc api to parse extra string
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: fc65848a680006a37b71dbdad21bdc9902eff22f URL:
https://github.com/kamailio/kamailio/commit/fc65848a680006a37b71dbdad21bdc9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-12-09T13:50:34+01:00 acc_diameter: use acc api to parse extra string - remove inline to avoid missing symbol in linker --- Modified: src/modules/acc_diameter/acc_diameter_mod.c Modified: src/
…
[View More]
modules/acc_diameter/diam_avp.c --- Diff:
https://github.com/kamailio/kamailio/commit/fc65848a680006a37b71dbdad21bdc9…
Patch:
https://github.com/kamailio/kamailio/commit/fc65848a680006a37b71dbdad21bdc9…
--- diff --git a/src/modules/acc_diameter/acc_diameter_mod.c b/src/modules/acc_diameter/acc_diameter_mod.c index 7e2b379810..d82e541b0c 100644 --- a/src/modules/acc_diameter/acc_diameter_mod.c +++ b/src/modules/acc_diameter/acc_diameter_mod.c @@ -137,7 +137,7 @@ static int mod_init( void ) /* parse the extra string, if any */ if (diameter_extra_str - && (diameter_extra=parse_acc_extra(diameter_extra_str))==0 ) { + && (diameter_extra=accb.parse_extra(diameter_extra_str))==0 ) { LM_ERR("failed to parse diameter_extra param\n"); return -1; } @@ -191,11 +191,22 @@ static int child_init(int rank) } +static void diam_destroy_extras(acc_extra_t *extra) +{ + acc_extra_t *foo; + + while (extra) { + foo = extra; + extra = extra->next; + pkg_free(foo); + } +} + static void destroy(void) { close_tcp_connection(sockfd); if (diameter_extra) - destroy_extras( diameter_extra); + diam_destroy_extras(diameter_extra); } /************************** FIXUP functions ****************************/ @@ -287,7 +298,7 @@ int acc_diam_init(acc_extra_t *leg_info) } -inline unsigned long diam_status(struct sip_msg *rq, int code) +int diam_status(struct sip_msg *rq, int code) { if ((rq->REQ_METHOD==METHOD_INVITE || rq->REQ_METHOD==METHOD_ACK) && code>=200 && code<300) diff --git a/src/modules/acc_diameter/diam_avp.c b/src/modules/acc_diameter/diam_avp.c index 2ea5a577fa..038f6c8eba 100644 --- a/src/modules/acc_diameter/diam_avp.c +++ b/src/modules/acc_diameter/diam_avp.c @@ -41,7 +41,7 @@ * All this default values (for flags and data-type) are correct/set by this * function. */ -inline void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp) +void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp) { switch (code) { case 1: /*AVP_User_Name*/
[View Less]
7 years, 1 month
1
0
0
0
git:master:03c4439c: rls: define cfg function with two parameters even one is used
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 03c4439c0bbe40209ded86ca8ddddd496893ecfc URL:
https://github.com/kamailio/kamailio/commit/03c4439c0bbe40209ded86ca8ddddd4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-12-09T13:50:34+01:00 rls: define cfg function with two parameters even one is used --- Modified: src/modules/rls/subscribe.c --- Diff:
https://github.com/kamailio/kamailio/commit/
…
[View More]
03c4439c0bbe40209ded86ca8ddddd4…
Patch:
https://github.com/kamailio/kamailio/commit/03c4439c0bbe40209ded86ca8ddddd4…
--- diff --git a/src/modules/rls/subscribe.c b/src/modules/rls/subscribe.c index 65ef924108..c895bd1a93 100644 --- a/src/modules/rls/subscribe.c +++ b/src/modules/rls/subscribe.c @@ -465,7 +465,7 @@ int ki_rls_handle_subscribe_uri(sip_msg_t* msg, str *wuri) return rls_handle_subscribe(msg, parsed_wuri.user, parsed_wuri.host); } -int w_rls_handle_subscribe(struct sip_msg* msg, char* watcher_uri) +int w_rls_handle_subscribe1(struct sip_msg* msg, char* watcher_uri, char *p2) { str wuri; @@ -1322,4 +1322,4 @@ int w_rls_update_subs(struct sip_msg *msg, char *puri, char *pevent) } return ki_rls_update_subs(msg, &uri, &event); -} \ No newline at end of file +}
[View Less]
7 years, 1 month
1
0
0
0
git:5.1:b60b639a: presence: update record_route in database
by Luis Azedo
Module: kamailio Branch: 5.1 Commit: b60b639a31d26d02aabea22d55b40773a23d5a4b URL:
https://github.com/kamailio/kamailio/commit/b60b639a31d26d02aabea22d55b4077…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: Luis Azedo <luis(a)2600hz.com> Date: 2017-12-09T11:37:39Z presence: update record_route in database (cherry picked from commit e52547956462ad53032be95ff5f2701785dfdd2a) --- Modified: src/modules/presence/subscribe.c --- Diff:
https://github.com/kamailio/
…
[View More]
kamailio/commit/b60b639a31d26d02aabea22d55b4077…
Patch:
https://github.com/kamailio/kamailio/commit/b60b639a31d26d02aabea22d55b4077…
--- diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 3ba9cc4c15..36329ab198 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -427,6 +427,12 @@ int update_subs_db(subs_t* subs, int type) update_vals[n_update_cols].val.str_val = subs->contact; n_update_cols++; + update_keys[n_update_cols] = &str_record_route_col; + update_vals[n_update_cols].type = DB1_STR; + update_vals[n_update_cols].nul = 0; + update_vals[n_update_cols].val.str_val = subs->record_route; + n_update_cols++; + } if(type & LOCAL_TYPE) {
[View Less]
7 years, 1 month
1
0
0
0
git:5.0:cd0593e3: presence: update record_route in database
by Luis Azedo
Module: kamailio Branch: 5.0 Commit: cd0593e3feab0f1a55819928c1a4b68df5abaf35 URL:
https://github.com/kamailio/kamailio/commit/cd0593e3feab0f1a55819928c1a4b68…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: Luis Azedo <luis(a)2600hz.com> Date: 2017-12-09T11:36:28Z presence: update record_route in database (cherry picked from commit e52547956462ad53032be95ff5f2701785dfdd2a) --- Modified: src/modules/presence/subscribe.c --- Diff:
https://github.com/kamailio/
…
[View More]
kamailio/commit/cd0593e3feab0f1a55819928c1a4b68…
Patch:
https://github.com/kamailio/kamailio/commit/cd0593e3feab0f1a55819928c1a4b68…
--- diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 4f902e7403..18bb2b1a70 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -427,6 +427,12 @@ int update_subs_db(subs_t* subs, int type) update_vals[n_update_cols].val.str_val = subs->contact; n_update_cols++; + update_keys[n_update_cols] = &str_record_route_col; + update_vals[n_update_cols].type = DB1_STR; + update_vals[n_update_cols].nul = 0; + update_vals[n_update_cols].val.str_val = subs->record_route; + n_update_cols++; + } if(type & LOCAL_TYPE) {
[View Less]
7 years, 1 month
1
0
0
0
git:5.0:3a7f60ee: presence: increased the size of db update arrays in update_subs_db()
by Luis Azedo
Module: kamailio Branch: 5.0 Commit: 3a7f60ee237e29919586400f7700f4393b9083f2 URL:
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Luis Azedo <luis(a)2600hz.com> Date: 2017-12-09T11:35:56Z presence: increased the size of db update arrays in update_subs_db() (cherry picked from commit 816d2cd44d96245b5a5b53505d6fbc350bda378c) --- Modified: src/modules/presence/subscribe.c --- Diff:
…
[View More]
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
Patch:
https://github.com/kamailio/kamailio/commit/3a7f60ee237e29919586400f7700f43…
--- diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 6c21e75bd0..4f902e7403 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -372,8 +372,8 @@ int insert_subs_db(subs_t* s, int type) int update_subs_db(subs_t* subs, int type) { - db_key_t query_cols[3], update_keys[8]; - db_val_t query_vals[3], update_vals[8]; + db_key_t query_cols[3], update_keys[10]; + db_val_t query_vals[3], update_vals[10]; int n_update_cols= 0; int n_query_cols = 0;
[View Less]
7 years, 1 month
1
0
0
0
git:master:e5254795: presence: update record_route in database
by lazedo
Module: kamailio Branch: master Commit: e52547956462ad53032be95ff5f2701785dfdd2a URL:
https://github.com/kamailio/kamailio/commit/e52547956462ad53032be95ff5f2701…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2017-12-09T11:34:13Z presence: update record_route in database --- Modified: src/modules/presence/subscribe.c --- Diff:
https://github.com/kamailio/kamailio/commit/e52547956462ad53032be95ff5f2701…
Patch:
https:
…
[View More]
//github.com/kamailio/kamailio/commit/e52547956462ad53032be95ff5f2701…
--- diff --git a/src/modules/presence/subscribe.c b/src/modules/presence/subscribe.c index 3ba9cc4c15..36329ab198 100644 --- a/src/modules/presence/subscribe.c +++ b/src/modules/presence/subscribe.c @@ -427,6 +427,12 @@ int update_subs_db(subs_t* subs, int type) update_vals[n_update_cols].val.str_val = subs->contact; n_update_cols++; + update_keys[n_update_cols] = &str_record_route_col; + update_vals[n_update_cols].type = DB1_STR; + update_vals[n_update_cols].nul = 0; + update_vals[n_update_cols].val.str_val = subs->record_route; + n_update_cols++; + } if(type & LOCAL_TYPE) {
[View Less]
7 years, 1 month
1
0
0
0
[kamailio/kamailio] presence: update record_route in database (#1357)
by lazedo
missed update from 49272f23b22445415721766709bf5841865e8609 should be backported with 816d2cd44d96245b5a5b53505d6fbc350bda378c You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1357
-- Commit Summary -- * presence: update record_route in database -- File Changes -- M src/modules/presence/subscribe.c (6) -- Patch Links --
https://github.com/kamailio/kamailio/pull/1357.patch
https://github.com/kamailio/kamailio/pull/1357.
…
[View More]
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/1357
[View Less]
7 years, 1 month
2
2
0
0
git:5.1:98528af1: kamctl: regenerated scripts to create database structure for presence
by Daniel-Constantin Mierla
Module: kamailio Branch: 5.1 Commit: 98528af1b87526395339aa3ed2d176b77b897740 URL:
https://github.com/kamailio/kamailio/commit/98528af1b87526395339aa3ed2d176b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2017-12-09T09:23:38+01:00 kamctl: regenerated scripts to create database structure for presence --- Modified: utils/kamctl/db_sqlite/presence-create.sql Modified: utils/kamctl/dbtext/kamailio/
…
[View More]
active_watchers Modified: utils/kamctl/mongodb/kamailio/active_watchers.json Modified: utils/kamctl/mysql/presence-create.sql Modified: utils/kamctl/postgres/presence-create.sql --- Diff:
https://github.com/kamailio/kamailio/commit/98528af1b87526395339aa3ed2d176b…
Patch:
https://github.com/kamailio/kamailio/commit/98528af1b87526395339aa3ed2d176b…
--- diff --git a/utils/kamctl/db_sqlite/presence-create.sql b/utils/kamctl/db_sqlite/presence-create.sql index a84ee99965..c4d01296a7 100644 --- a/utils/kamctl/db_sqlite/presence-create.sql +++ b/utils/kamctl/db_sqlite/presence-create.sql @@ -35,7 +35,7 @@ CREATE TABLE active_watchers ( record_route TEXT, expires INTEGER NOT NULL, status INTEGER DEFAULT 2 NOT NULL, - reason VARCHAR(64) NOT NULL, + reason VARCHAR(64), version INTEGER DEFAULT 0 NOT NULL, socket_info VARCHAR(64) NOT NULL, local_contact VARCHAR(128) NOT NULL, diff --git a/utils/kamctl/dbtext/kamailio/active_watchers b/utils/kamctl/dbtext/kamailio/active_watchers index b4053a323e..19719b72d5 100644 --- a/utils/kamctl/dbtext/kamailio/active_watchers +++ b/utils/kamctl/dbtext/kamailio/active_watchers @@ -1 +1 @@ -id(int,auto) presentity_uri(string) watcher_username(string) watcher_domain(string) to_user(string) to_domain(string) event(string) event_id(string,null) to_tag(string) from_tag(string) callid(string) local_cseq(int) remote_cseq(int) contact(string) record_route(string,null) expires(int) status(int) reason(string) version(int) socket_info(string) local_contact(string) from_user(string) from_domain(string) updated(int) updated_winfo(int) flags(int) user_agent(string) +id(int,auto) presentity_uri(string) watcher_username(string) watcher_domain(string) to_user(string) to_domain(string) event(string) event_id(string,null) to_tag(string) from_tag(string) callid(string) local_cseq(int) remote_cseq(int) contact(string) record_route(string,null) expires(int) status(int) reason(string,null) version(int) socket_info(string) local_contact(string) from_user(string) from_domain(string) updated(int) updated_winfo(int) flags(int) user_agent(string) diff --git a/utils/kamctl/mongodb/kamailio/active_watchers.json b/utils/kamctl/mongodb/kamailio/active_watchers.json index adc1d27d0d..123692d988 100644 --- a/utils/kamctl/mongodb/kamailio/active_watchers.json +++ b/utils/kamctl/mongodb/kamailio/active_watchers.json @@ -90,7 +90,7 @@ "reason": { "type": "string", "default": null, - "null": false + "null": true }, "version": { "type": "int", diff --git a/utils/kamctl/mysql/presence-create.sql b/utils/kamctl/mysql/presence-create.sql index c4423b508e..95d85cdc19 100644 --- a/utils/kamctl/mysql/presence-create.sql +++ b/utils/kamctl/mysql/presence-create.sql @@ -35,7 +35,7 @@ CREATE TABLE `active_watchers` ( `record_route` TEXT, `expires` INT(11) NOT NULL, `status` INT(11) DEFAULT 2 NOT NULL, - `reason` VARCHAR(64) NOT NULL, + `reason` VARCHAR(64), `version` INT(11) DEFAULT 0 NOT NULL, `socket_info` VARCHAR(64) NOT NULL, `local_contact` VARCHAR(128) NOT NULL, diff --git a/utils/kamctl/postgres/presence-create.sql b/utils/kamctl/postgres/presence-create.sql index aa0efc8034..698352ca16 100644 --- a/utils/kamctl/postgres/presence-create.sql +++ b/utils/kamctl/postgres/presence-create.sql @@ -35,7 +35,7 @@ CREATE TABLE active_watchers ( record_route TEXT, expires INTEGER NOT NULL, status INTEGER DEFAULT 2 NOT NULL, - reason VARCHAR(64) NOT NULL, + reason VARCHAR(64), version INTEGER DEFAULT 0 NOT NULL, socket_info VARCHAR(64) NOT NULL, local_contact VARCHAR(128) NOT NULL,
[View Less]
7 years, 1 month
1
0
0
0
← Newer
1
...
29
30
31
32
33
34
35
...
48
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
44
45
46
47
48
Results per page:
10
25
50
100
200