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
November 2015
----- 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
27 participants
315 discussions
Start a n
N
ew thread
git:4.3:21620059: pkg/rpm: updated spec files for v4.3.4
by Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 216200598ac47643b05d27add0a2c5645a2b3597 URL:
https://github.com/kamailio/kamailio/commit/216200598ac47643b05d27add0a2c56…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-11-25T14:23:26+01:00 pkg/rpm: updated spec files for v4.3.4 --- Modified: pkg/kamailio/centos/6/kamailio.spec Modified: pkg/kamailio/fedora/17/kamailio.spec Modified: pkg/kamailio/rpm/kamailio.spec-4.1 Modified: pkg/kamailio/rpm/kamailio.spec.CenOS Modified: pkg/kamailio/rpm/kamailio.spec.SuSE --- Diff:
https://github.com/kamailio/kamailio/commit/216200598ac47643b05d27add0a2c56…
Patch:
https://github.com/kamailio/kamailio/commit/216200598ac47643b05d27add0a2c56…
--- diff --git a/pkg/kamailio/centos/6/kamailio.spec b/pkg/kamailio/centos/6/kamailio.spec index 0ae8960..3bdebfc 100644 --- a/pkg/kamailio/centos/6/kamailio.spec +++ b/pkg/kamailio/centos/6/kamailio.spec @@ -1,5 +1,5 @@ %define name kamailio -%define ver 4.3.3 +%define ver 4.3.4 %define rel 0.0%{dist} diff --git a/pkg/kamailio/fedora/17/kamailio.spec b/pkg/kamailio/fedora/17/kamailio.spec index e71b1b1..8e2ecd1 100644 --- a/pkg/kamailio/fedora/17/kamailio.spec +++ b/pkg/kamailio/fedora/17/kamailio.spec @@ -1,5 +1,5 @@ %define name kamailio -%define ver 4.3.3 +%define ver 4.3.4 %define rel 0%{dist} diff --git a/pkg/kamailio/rpm/kamailio.spec-4.1 b/pkg/kamailio/rpm/kamailio.spec-4.1 index b2bfa21..d292dff 100644 --- a/pkg/kamailio/rpm/kamailio.spec-4.1 +++ b/pkg/kamailio/rpm/kamailio.spec-4.1 @@ -1,5 +1,5 @@ %define name kamailio -%define ver 4.3.3 +%define ver 4.3.4 %define rel 0 %define EXCLUDED_MODULES mysql jabber cpl-c avp_radius auth_radius group_radius uri_radius pa postgres osp tlsops unixodbc diff --git a/pkg/kamailio/rpm/kamailio.spec.CenOS b/pkg/kamailio/rpm/kamailio.spec.CenOS index ca7017d..2f7151a 100644 --- a/pkg/kamailio/rpm/kamailio.spec.CenOS +++ b/pkg/kamailio/rpm/kamailio.spec.CenOS @@ -1,5 +1,5 @@ %define name kamailio -%define ver 4.3.3 +%define ver 4.3.4 %define rel 0 %define _sharedir %{_prefix}/share diff --git a/pkg/kamailio/rpm/kamailio.spec.SuSE b/pkg/kamailio/rpm/kamailio.spec.SuSE index c181112..6d597da 100644 --- a/pkg/kamailio/rpm/kamailio.spec.SuSE +++ b/pkg/kamailio/rpm/kamailio.spec.SuSE @@ -1,5 +1,5 @@ %define name kamailio -%define ver 4.3.3 +%define ver 4.3.4 %define rel 0 %define EXCLUDED_MODULES mysql jabber cpl-c auth_radius misc_radius peering postgress pa unixodbc osp tlsops
9 years, 1 month
1
0
0
0
[kamailio] app_python: Documentation is still "tbd" after many years (#410)
by Olle E. Johansson
The App_python documentation needs to be completed. Please. Please. --- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/410
9 years, 1 month
2
2
0
0
[kamailio] trusty build fail due to kazoo module (#418)
by Victor Seva
``` make[1]: Entering directory `/tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty' mkdir -p /tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty/debian/kamailio-kazoo-modules/usr/lib/x86_64-linux-gnu/kamailio/modules CC (gcc) [M kazoo.so] const.o CC (gcc) [M kazoo.so] kazoo.o CC (gcc) [M kazoo.so] kz_amqp.o kz_amqp.c: In function 'kz_amqp_exchange_declare': kz_amqp.c:57:2: error: incompatible type for argument 7 of 'amqp_exchange_declare' return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments); ^ In file included from /usr/include/amqp.h:720:0, from kz_amqp.c:4: /usr/include/amqp_framing.h:610:61: note: expected 'amqp_table_t' but argument is of type 'int' AMQP_PUBLIC_FUNCTION amqp_exchange_declare_ok_t * AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments); ^ kz_amqp.c:57:2: error: too many arguments to function 'amqp_exchange_declare' return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments); ^ In file included from /usr/include/amqp.h:720:0, from kz_amqp.c:4: /usr/include/amqp_framing.h:610:61: note: declared here AMQP_PUBLIC_FUNCTION amqp_exchange_declare_ok_t * AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments); ^ make[2]: *** [kz_amqp.o] Error 1 make[1]: *** [install-modules] Error 1 make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty' ``` git version 81be39ba472bb3c1a8569c7158c6415aac512be7 Full build log
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=…
--- Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/418
9 years, 1 month
1
3
0
0
git:4.3:138a552c: cnxcc: more safety checks for call structure
by Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 138a552ce71c795f39ad6e35d815d182dc26e747 URL:
https://github.com/kamailio/kamailio/commit/138a552ce71c795f39ad6e35d815d18…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-11-25T14:11:56+01:00 cnxcc: more safety checks for call structure (cherry picked from commit 6985a2953b0577ad8dff449c2e849f6ff15da01c) --- Modified: modules/cnxcc/cnxcc_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/138a552ce71c795f39ad6e35d815d18…
Patch:
https://github.com/kamailio/kamailio/commit/138a552ce71c795f39ad6e35d815d18…
--- diff --git a/modules/cnxcc/cnxcc_mod.c b/modules/cnxcc/cnxcc_mod.c index f24e8bd..456d497 100644 --- a/modules/cnxcc/cnxcc_mod.c +++ b/modules/cnxcc/cnxcc_mod.c @@ -889,14 +889,18 @@ void terminate_all_calls(credit_data_t *credit_data) { credit_data->deallocating = 1; clist_foreach_safe(credit_data->call_list, call, tmp, next) { - LM_DBG("Killing call with CID [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); - - /* - * Update number of calls forced to end - */ - _data.stats->dropped++; - terminate_call(call); - __free_call(call); + if(call->sip_data.callid.s!=NULL) { + LM_DBG("Killing call with CID [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); + + /* + * Update number of calls forced to end + */ + _data.stats->dropped++; + terminate_call(call); + __free_call(call); + } else { + LM_WARN("invalid call structure %p\n", call); + } } }
9 years, 1 month
1
0
0
0
git:master:6985a295: cnxcc: more safety checks for call structure
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6985a2953b0577ad8dff449c2e849f6ff15da01c URL:
https://github.com/kamailio/kamailio/commit/6985a2953b0577ad8dff449c2e849f6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-11-25T14:10:59+01:00 cnxcc: more safety checks for call structure --- Modified: modules/cnxcc/cnxcc_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/6985a2953b0577ad8dff449c2e849f6…
Patch:
https://github.com/kamailio/kamailio/commit/6985a2953b0577ad8dff449c2e849f6…
--- diff --git a/modules/cnxcc/cnxcc_mod.c b/modules/cnxcc/cnxcc_mod.c index f24e8bd..456d497 100644 --- a/modules/cnxcc/cnxcc_mod.c +++ b/modules/cnxcc/cnxcc_mod.c @@ -889,14 +889,18 @@ void terminate_all_calls(credit_data_t *credit_data) { credit_data->deallocating = 1; clist_foreach_safe(credit_data->call_list, call, tmp, next) { - LM_DBG("Killing call with CID [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); - - /* - * Update number of calls forced to end - */ - _data.stats->dropped++; - terminate_call(call); - __free_call(call); + if(call->sip_data.callid.s!=NULL) { + LM_DBG("Killing call with CID [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); + + /* + * Update number of calls forced to end + */ + _data.stats->dropped++; + terminate_call(call); + __free_call(call); + } else { + LM_WARN("invalid call structure %p\n", call); + } } }
9 years, 1 month
1
0
0
0
git:4.3:18251e59: kazoo : check amqp version
by lazedo
Module: kamailio Branch: 4.3 Commit: 18251e590f22a37a0392e981987e3a46a3122cbe URL:
https://github.com/kamailio/kamailio/commit/18251e590f22a37a0392e981987e3a4…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2015-11-25T12:54:28Z kazoo : check amqp version manual backport from master --- Modified: modules/kazoo/kz_amqp.c --- Diff:
https://github.com/kamailio/kamailio/commit/18251e590f22a37a0392e981987e3a4…
Patch:
https://github.com/kamailio/kamailio/commit/18251e590f22a37a0392e981987e3a4…
--- diff --git a/modules/kazoo/kz_amqp.c b/modules/kazoo/kz_amqp.c index 9ec34e5..f7572b6 100644 --- a/modules/kazoo/kz_amqp.c +++ b/modules/kazoo/kz_amqp.c @@ -54,7 +54,7 @@ const amqp_table_t kz_amqp_empty_table = { 0, NULL }; amqp_exchange_declare_ok_t * AMQP_CALL kz_amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments) { -#if AMQP_VERSION_MINOR == 5 +#if AMQP_VERSION_MAJOR == 0 && AMQP_VERSION_MINOR < 6 return amqp_exchange_declare(state, channel, exchange, type, passive, durable, arguments); #else return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments);
9 years, 1 month
1
0
0
0
git:4.3:451a510d: pkg/kamailio/deb: update version to 4.3.4
by Victor Seva
Module: kamailio Branch: 4.3 Commit: 451a510d863ec7cb7a8cde0b31ca4fe8983d324c URL:
https://github.com/kamailio/kamailio/commit/451a510d863ec7cb7a8cde0b31ca4fe…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2015-11-25T13:53:33+01:00 pkg/kamailio/deb: update version to 4.3.4 --- Modified: pkg/kamailio/deb/debian/changelog Modified: pkg/kamailio/deb/jessie/changelog Modified: pkg/kamailio/deb/precise/changelog Modified: pkg/kamailio/deb/squeeze/changelog Modified: pkg/kamailio/deb/trusty/changelog Modified: pkg/kamailio/deb/wheezy/changelog --- Diff:
https://github.com/kamailio/kamailio/commit/451a510d863ec7cb7a8cde0b31ca4fe…
Patch:
https://github.com/kamailio/kamailio/commit/451a510d863ec7cb7a8cde0b31ca4fe…
--- diff --git a/pkg/kamailio/deb/debian/changelog b/pkg/kamailio/deb/debian/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/debian/changelog +++ b/pkg/kamailio/deb/debian/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3 diff --git a/pkg/kamailio/deb/jessie/changelog b/pkg/kamailio/deb/jessie/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/jessie/changelog +++ b/pkg/kamailio/deb/jessie/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3 diff --git a/pkg/kamailio/deb/precise/changelog b/pkg/kamailio/deb/precise/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/precise/changelog +++ b/pkg/kamailio/deb/precise/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3 diff --git a/pkg/kamailio/deb/squeeze/changelog b/pkg/kamailio/deb/squeeze/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/squeeze/changelog +++ b/pkg/kamailio/deb/squeeze/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3 diff --git a/pkg/kamailio/deb/trusty/changelog b/pkg/kamailio/deb/trusty/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/trusty/changelog +++ b/pkg/kamailio/deb/trusty/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3 diff --git a/pkg/kamailio/deb/wheezy/changelog b/pkg/kamailio/deb/wheezy/changelog index cf814c5..4da8bb6 100644 --- a/pkg/kamailio/deb/wheezy/changelog +++ b/pkg/kamailio/deb/wheezy/changelog @@ -1,3 +1,9 @@ +kamailio (4.3.4) UNRELEASED; urgency=medium + + * update version to 4.3.4 + + -- Victor Seva <linuxmaniac(a)torreviejawireless.org> Wed, 25 Nov 2015 13:52:54 +0100 + kamailio (4.3.3) unstable; urgency=medium * update version to 4.3.3
9 years, 1 month
1
0
0
0
git:master:aef56c53: kazoo : check amqp version
by lazedo
Module: kamailio Branch: master Commit: aef56c53f014a29ae4d7e1a7142b2dd9e9232c31 URL:
https://github.com/kamailio/kamailio/commit/aef56c53f014a29ae4d7e1a7142b2dd…
Author: lazedo <luis.azedo(a)factorlusitano.com> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2015-11-25T12:51:22Z kazoo : check amqp version --- Modified: modules/kazoo/kz_amqp.c --- Diff:
https://github.com/kamailio/kamailio/commit/aef56c53f014a29ae4d7e1a7142b2dd…
Patch:
https://github.com/kamailio/kamailio/commit/aef56c53f014a29ae4d7e1a7142b2dd…
--- diff --git a/modules/kazoo/kz_amqp.c b/modules/kazoo/kz_amqp.c index 24f817f..535c5a5 100644 --- a/modules/kazoo/kz_amqp.c +++ b/modules/kazoo/kz_amqp.c @@ -51,7 +51,7 @@ kz_amqp_zone_ptr kz_primary_zone = NULL; amqp_exchange_declare_ok_t * AMQP_CALL kz_amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments) { -#if AMQP_VERSION_MINOR == 5 +#if AMQP_VERSION_MAJOR == 0 && AMQP_VERSION_MINOR < 6 return amqp_exchange_declare(state, channel, exchange, type, passive, durable, arguments); #else return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments);
9 years, 1 month
1
0
0
0
git:4.3:1c6fcd1b: cnxcc: safety check before freeing call structure
by Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 1c6fcd1bc43165cd9a8732489cb2fbe83e2aa1ac URL:
https://github.com/kamailio/kamailio/commit/1c6fcd1bc43165cd9a8732489cb2fbe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-11-25T13:20:43+01:00 cnxcc: safety check before freeing call structure - reported by GH#417 (cherry picked from commit ce5591e8f7568f98b39d9b96a2c8debe81837a07) --- Modified: modules/cnxcc/cnxcc_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/1c6fcd1bc43165cd9a8732489cb2fbe…
Patch:
https://github.com/kamailio/kamailio/commit/1c6fcd1bc43165cd9a8732489cb2fbe…
--- diff --git a/modules/cnxcc/cnxcc_mod.c b/modules/cnxcc/cnxcc_mod.c index b8270ca..f24e8bd 100644 --- a/modules/cnxcc/cnxcc_mod.c +++ b/modules/cnxcc/cnxcc_mod.c @@ -906,6 +906,9 @@ void terminate_all_calls(credit_data_t *credit_data) { static void __free_call(call_t *call) { struct str_hash_entry *e = NULL; + if(call->sip_data.callid.s==NULL) + return; + LM_DBG("Freeing call [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); e = str_hash_get(_data.money.call_data_by_cid, call->sip_data.callid.s, call->sip_data.callid.len);
9 years, 1 month
1
0
0
0
git:master:ce5591e8: cnxcc: safety check before freeing call structure
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ce5591e8f7568f98b39d9b96a2c8debe81837a07 URL:
https://github.com/kamailio/kamailio/commit/ce5591e8f7568f98b39d9b96a2c8deb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2015-11-25T13:20:25+01:00 cnxcc: safety check before freeing call structure - reported by GH#417 --- Modified: modules/cnxcc/cnxcc_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/ce5591e8f7568f98b39d9b96a2c8deb…
Patch:
https://github.com/kamailio/kamailio/commit/ce5591e8f7568f98b39d9b96a2c8deb…
--- diff --git a/modules/cnxcc/cnxcc_mod.c b/modules/cnxcc/cnxcc_mod.c index b8270ca..f24e8bd 100644 --- a/modules/cnxcc/cnxcc_mod.c +++ b/modules/cnxcc/cnxcc_mod.c @@ -906,6 +906,9 @@ void terminate_all_calls(credit_data_t *credit_data) { static void __free_call(call_t *call) { struct str_hash_entry *e = NULL; + if(call->sip_data.callid.s==NULL) + return; + LM_DBG("Freeing call [%.*s]\n", call->sip_data.callid.len, call->sip_data.callid.s); e = str_hash_get(_data.money.call_data_by_cid, call->sip_data.callid.s, call->sip_data.callid.len);
9 years, 1 month
1
0
0
0
← Newer
1
...
5
6
7
8
9
10
11
...
32
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
Results per page:
10
25
50
100
200