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 2020
----- 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
24 participants
393 discussions
Start a n
N
ew thread
git:master:b0a0ece7: modules: readme files regenerated - kazoo ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: b0a0ece77a3136abdecbfb3f6f1927b7809ad4c5 URL:
https://github.com/kamailio/kamailio/commit/b0a0ece77a3136abdecbfb3f6f1927b…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-05-21T16:31:17+02:00 modules: readme files regenerated - kazoo ... [skip ci] --- Modified: src/modules/kazoo/README --- Diff:
https://github.com/kamailio/kamailio/commit/b0a0ece77a3136abdecbfb3f6f1927b…
Patch:
https://github.com/kamailio/kamailio/commit/b0a0ece77a3136abdecbfb3f6f1927b…
4 years, 6 months
1
0
0
0
git:master:3a840116: kazoo: add basic kemi support
by lazedo
Module: kamailio Branch: master Commit: 3a84011684cc84ebceea0e90000c915c5e2316b5 URL:
https://github.com/kamailio/kamailio/commit/3a84011684cc84ebceea0e90000c915…
Author: Author Yufei Tao <yufei.tao(a)syntec.co.uk> Committer: lazedo <luis.azedo(a)factorlusitano.com> Date: 2020-05-21T14:30:58Z kazoo: add basic kemi support --- Modified: src/modules/kazoo/doc/kazoo_admin.xml Modified: src/modules/kazoo/kazoo.c Modified: src/modules/kazoo/kz_amqp.c Modified: src/modules/kazoo/kz_amqp.h --- Diff:
https://github.com/kamailio/kamailio/commit/3a84011684cc84ebceea0e90000c915…
Patch:
https://github.com/kamailio/kamailio/commit/3a84011684cc84ebceea0e90000c915…
4 years, 6 months
1
0
0
0
git:master:c62f69b4: modules: readme files regenerated - corex ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: c62f69b4603d3a680e50df010b8c139b7ae123ef URL:
https://github.com/kamailio/kamailio/commit/c62f69b4603d3a680e50df010b8c139…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-05-21T10:16:22+02:00 modules: readme files regenerated - corex ... [skip ci] --- Modified: src/modules/corex/README --- Diff:
https://github.com/kamailio/kamailio/commit/c62f69b4603d3a680e50df010b8c139…
Patch:
https://github.com/kamailio/kamailio/commit/c62f69b4603d3a680e50df010b8c139…
4 years, 6 months
1
0
0
0
git:master:36053c68: corex: docs - updates to nio related parameters and examples
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 36053c68cc4f8268f59dbd836ab5db7d0aa8c606 URL:
https://github.com/kamailio/kamailio/commit/36053c68cc4f8268f59dbd836ab5db7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-21T10:15:14+02:00 corex: docs - updates to nio related parameters and examples --- Modified: src/modules/corex/doc/corex_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/36053c68cc4f8268f59dbd836ab5db7…
Patch:
https://github.com/kamailio/kamailio/commit/36053c68cc4f8268f59dbd836ab5db7…
4 years, 6 months
1
0
0
0
git:master:9b88b643: corex: renamed module parameter for NIO processing
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 9b88b64394e2cfc61eb7e6c14d23264f2613f036 URL:
https://github.com/kamailio/kamailio/commit/9b88b64394e2cfc61eb7e6c14d23264…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-21T10:10:02+02:00 corex: renamed module parameter for NIO processing - nio - non sip network i/o events --- Modified: src/modules/corex/corex_mod.c --- Diff:
https://github.com/kamailio/kamailio/commit/9b88b64394e2cfc61eb7e6c14d23264…
Patch:
https://github.com/kamailio/kamailio/commit/9b88b64394e2cfc61eb7e6c14d23264…
--- diff --git a/src/modules/corex/corex_mod.c b/src/modules/corex/corex_mod.c index e23aae325d..c0759e6ded 100644 --- a/src/modules/corex/corex_mod.c +++ b/src/modules/corex/corex_mod.c @@ -141,9 +141,9 @@ static cmd_export_t cmds[]={ static param_export_t params[]={ {"alias_subdomains", STR_PARAM|USE_FUNC_PARAM, (void*)corex_alias_subdomains_param}, - {"network_io_intercept", INT_PARAM, &nio_intercept}, - {"min_msg_len", INT_PARAM, &nio_min_msg_len}, - {"msg_avp", PARAM_STR, &nio_msg_avp_param}, + {"nio_intercept", INT_PARAM, &nio_intercept}, + {"nio_min_msg_len", INT_PARAM, &nio_min_msg_len}, + {"nio_msg_avp", PARAM_STR, &nio_msg_avp_param}, {0, 0, 0} };
4 years, 6 months
1
0
0
0
git:master:47b317dd: tm: updated comments for removed obsolete DYN_BUF define condition
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 47b317dddd1de58a850086985e55b242b29bcf47 URL:
https://github.com/kamailio/kamailio/commit/47b317dddd1de58a850086985e55b24…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-21T10:04:44+02:00 tm: updated comments for removed obsolete DYN_BUF define condition --- Modified: src/modules/tm/uac.c --- Diff:
https://github.com/kamailio/kamailio/commit/47b317dddd1de58a850086985e55b24…
Patch:
https://github.com/kamailio/kamailio/commit/47b317dddd1de58a850086985e55b24…
--- diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c index ec250a8595..f8cee24a6a 100644 --- a/src/modules/tm/uac.c +++ b/src/modules/tm/uac.c @@ -187,12 +187,12 @@ int uac_refresh_hdr_shortcuts(tm_cell_t *tcell, char *buf, int buf_len) tcell->cseq_n.len = (int)(cs->number.s + cs->number.len - lreq.cseq->name.s); LM_DBG("cseq: [%.*s]\n", tcell->cseq_n.len, tcell->cseq_n.s); - lreq.buf=0; /* covers the obsolete DYN_BUF */ + lreq.buf=0; free_sip_msg(&lreq); return 0; error: - lreq.buf=0; /* covers the obsolete DYN_BUF */ + lreq.buf=0; free_sip_msg(&lreq); return -1; } @@ -378,7 +378,7 @@ static inline int t_run_local_req( lreq.dst_uri.s=0; lreq.dst_uri.len=0; } - lreq.buf=0; /* covers the obsolete DYN_BUF */ + lreq.buf=0; free_sip_msg(&lreq); return refresh_shortcuts; } @@ -546,7 +546,7 @@ static inline int t_uac_prepare(uac_req_t *uac_r, LM_ERR("failed to parse headers on uas for failover\n"); } else { new_cell->uas.request = sip_msg_cloner(&lreq, &sip_msg_len); - lreq.buf=0; /* covers the obsolete DYN_BUF */ + lreq.buf=0; free_sip_msg(&lreq); if (!new_cell->uas.request) { LM_ERR("no more shmem\n");
4 years, 6 months
1
0
0
0
git:master:43a2a785: stun: removed obsolete DYN_BUF define condition
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 43a2a78563499a4843f88e927a249b7972159e43 URL:
https://github.com/kamailio/kamailio/commit/43a2a78563499a4843f88e927a249b7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-21T10:04:31+02:00 stun: removed obsolete DYN_BUF define condition --- Modified: src/modules/stun/kam_stun.c --- Diff:
https://github.com/kamailio/kamailio/commit/43a2a78563499a4843f88e927a249b7…
Patch:
https://github.com/kamailio/kamailio/commit/43a2a78563499a4843f88e927a249b7…
--- diff --git a/src/modules/stun/kam_stun.c b/src/modules/stun/kam_stun.c index 9eb823068b..fc09d3c6f4 100644 --- a/src/modules/stun/kam_stun.c +++ b/src/modules/stun/kam_stun.c @@ -928,10 +928,6 @@ static int reallock_buffer(struct stun_buffer* buffer, UINT_T len) static void clean_memory(struct stun_msg* req, struct stun_msg* res, struct stun_unknown_att* unknown) { -#ifdef DYN_BUF - pkg_free(req->msg.buf.s); -#endif - if (res->msg.buf.s != NULL) { pkg_free(res->msg.buf.s); }
4 years, 6 months
1
0
0
0
git:master:cbeec44d: core: removed obsolete DYN_BUF define condition
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: cbeec44d4c04c03af39bda85bbd26af6299f2b69 URL:
https://github.com/kamailio/kamailio/commit/cbeec44d4c04c03af39bda85bbd26af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-21T10:03:57+02:00 core: removed obsolete DYN_BUF define condition --- Modified: src/core/parser/msg_parser.c Modified: src/core/tcp_read.c Modified: src/core/udp_server.c --- Diff:
https://github.com/kamailio/kamailio/commit/cbeec44d4c04c03af39bda85bbd26af…
Patch:
https://github.com/kamailio/kamailio/commit/cbeec44d4c04c03af39bda85bbd26af…
--- diff --git a/src/core/parser/msg_parser.c b/src/core/parser/msg_parser.c index ca0bf789c5..aff3c0a989 100644 --- a/src/core/parser/msg_parser.c +++ b/src/core/parser/msg_parser.c @@ -711,10 +711,7 @@ void free_sip_msg(struct sip_msg* const msg) if (msg->body_lumps) free_lump_list(msg->body_lumps); if (msg->reply_lump) free_reply_lump(msg->reply_lump); msg_ldata_reset(msg); - /* don't free anymore -- now a pointer to a static buffer */ -# ifdef DYN_BUF - pkg_free(msg->buf); -# endif + /* no free of msg->buf -- a pointer to a static buffer */ } /** diff --git a/src/core/tcp_read.c b/src/core/tcp_read.c index afb1248688..8147951b21 100644 --- a/src/core/tcp_read.c +++ b/src/core/tcp_read.c @@ -1375,12 +1375,8 @@ int receive_tcp_msg(char* tcpbuf, unsigned int len, struct receive_info* rcv_info, struct tcp_connection* con) { #ifdef TCP_CLONE_RCVBUF -#ifdef DYN_BUF - char *buf = NULL; -#else static char *buf = NULL; static unsigned int bsize = 0; -#endif int blen; /* cloning is disabled via parameter */ @@ -1404,13 +1400,6 @@ int receive_tcp_msg(char* tcpbuf, unsigned int len, if(blen < BUF_SIZE) blen = BUF_SIZE; -#ifdef DYN_BUF - buf=pkg_malloc(blen+1); - if (buf==0) { - PKG_MEM_ERROR; - return -1; - } -#else /* allocate buffer when needed * - no buffer yet * - existing buffer too small (min size is BUF_SIZE - to accomodate most @@ -1431,7 +1420,6 @@ int receive_tcp_msg(char* tcpbuf, unsigned int len, } bsize = blen; } -#endif memcpy(buf, tcpbuf, len); buf[len] = '\0'; diff --git a/src/core/udp_server.c b/src/core/udp_server.c index b718895bd2..9234e54ec1 100644 --- a/src/core/udp_server.c +++ b/src/core/udp_server.c @@ -422,11 +422,7 @@ int udp_init(struct socket_info* sock_info) int udp_rcv_loop() { unsigned len; -#ifdef DYN_BUF - char* buf; -#else static char buf [BUF_SIZE+1]; -#endif char *tmp; union sockaddr_union* fromaddr; unsigned int fromaddrlen; @@ -457,13 +453,6 @@ int udp_rcv_loop() if (cfg_child_init()) goto error; for(;;){ -#ifdef DYN_BUF - buf=pkg_malloc(BUF_SIZE+1); - if (buf==0){ - PKG_MEM_ERROR; - goto error; - } -#endif fromaddrlen=sizeof(union sockaddr_union); len=recvfrom(bind_address->socket, buf, BUF_SIZE, 0, (struct sockaddr*)fromaddr, &fromaddrlen);
4 years, 6 months
1
0
0
0
git:master:2a61e71c: modules: readme files regenerated - dispatcher ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 2a61e71c6088ddd5573465474d5f4922fc58c952 URL:
https://github.com/kamailio/kamailio/commit/2a61e71c6088ddd5573465474d5f492…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-05-20T22:16:11+02:00 modules: readme files regenerated - dispatcher ... [skip ci] --- Modified: src/modules/dispatcher/README --- Diff:
https://github.com/kamailio/kamailio/commit/2a61e71c6088ddd5573465474d5f492…
Patch:
https://github.com/kamailio/kamailio/commit/2a61e71c6088ddd5573465474d5f492…
--- diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README index 3b9701aead..1a25c5c661 100644 --- a/src/modules/dispatcher/README +++ b/src/modules/dispatcher/README @@ -1608,9 +1608,9 @@ kamcmd dispatcher.remove 3 sip:127.0.0.1:5075;transport=udp Example: ... -# prototype: rpc dispatcher.hash _nslots_ _val1_ [_val2_] - rpc dispatcher.hash 0 alice
server.com
- rpc dispatcher.hash 4 bob
server.com
+# prototype: kamctl rpc dispatcher.hash _nslots_ _val1_ [_val2_] +kamctl rpc dispatcher.hash 0 alice
server.com
+kamctl rpc dispatcher.hash 4 bob
server.com
... 6. Installation and Running
4 years, 6 months
1
0
0
0
git:master:32e1409a: dispatcher: docs - kamctl is not an entity
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 32e1409a2e0fef557eeda196586b1a32366b90a5 URL:
https://github.com/kamailio/kamailio/commit/32e1409a2e0fef557eeda196586b1a3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2020-05-20T22:03:15+02:00 dispatcher: docs - kamctl is not an entity --- Modified: src/modules/dispatcher/doc/dispatcher_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/32e1409a2e0fef557eeda196586b1a3…
Patch:
https://github.com/kamailio/kamailio/commit/32e1409a2e0fef557eeda196586b1a3…
--- diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml index a255b2645d..42dc66bb4a 100644 --- a/src/modules/dispatcher/doc/dispatcher_admin.xml +++ b/src/modules/dispatcher/doc/dispatcher_admin.xml @@ -1996,9 +1996,9 @@ DEST: { </para> <programlisting format="linespecific"> ... -# prototype: &kamctl; rpc dispatcher.hash _nslots_ _val1_ [_val2_] -&kamctl; rpc dispatcher.hash 0 alice
server.com
-&kamctl; rpc dispatcher.hash 4 bob
server.com
+# prototype: kamctl rpc dispatcher.hash _nslots_ _val1_ [_val2_] +kamctl rpc dispatcher.hash 0 alice
server.com
+kamctl rpc dispatcher.hash 4 bob
server.com
... </programlisting> </section>
4 years, 6 months
1
0
0
0
← Newer
1
...
13
14
15
16
17
18
19
...
40
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
Results per page:
10
25
50
100
200