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
March 2024
----- 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
14 participants
242 discussions
Start a n
N
ew thread
git:master:61e076f0: http_client: use core helpers for fixup of http request functions
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 61e076f0dbb302b88c5013503697afd9dfd81748 URL:
https://github.com/kamailio/kamailio/commit/61e076f0dbb302b88c5013503697afd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-03-22T10:17:18+01:00 http_client: use core helpers for fixup of http request functions --- Modified: src/modules/http_client/http_client.c --- Diff:
https://github.com/kamailio/kamailio/commit/61e076f0dbb302b88c5013503697afd…
Patch:
https://github.com/kamailio/kamailio/commit/61e076f0dbb302b88c5013503697afd…
--- diff --git a/src/modules/http_client/http_client.c b/src/modules/http_client/http_client.c index 9be9b88d835..c15e36c4957 100644 --- a/src/modules/http_client/http_client.c +++ b/src/modules/http_client/http_client.c @@ -133,8 +133,6 @@ static int fixup_http_query_post(void **param, int param_no); static int fixup_free_http_query_post(void **param, int param_no); static int fixup_http_query_post_hdr(void **param, int param_no); static int fixup_free_http_query_post_hdr(void **param, int param_no); -static int fixup_http_query_request(void **param, int param_no); -static int fixup_free_http_query_request(void **param, int param_no); static int fixup_curl_connect(void **param, int param_no); static int fixup_free_curl_connect(void **param, int param_no); @@ -187,11 +185,11 @@ static cmd_export_t cmds[] = { {"http_client_get", (cmd_function)w_http_query_get_hdr, 4, fixup_http_query_post_hdr, fixup_free_http_query_post_hdr, REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE}, - {"http_client_request", (cmd_function)w_http_query_request, 5, fixup_http_query_request, - fixup_free_http_query_request, + {"http_client_request", (cmd_function)w_http_query_request, 5, fixup_spve4_pvar, + fixup_free_spve4_pvar, REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE}, - {"http_client_request_v2pk", (cmd_function)w_http_query_request_v2pk, 5, fixup_http_query_request, - fixup_free_http_query_request, + {"http_client_request_v2pk", (cmd_function)w_http_query_request_v2pk, 5, fixup_spve4_pvar, + fixup_free_spve4_pvar, REQUEST_ROUTE|ONREPLY_ROUTE|FAILURE_ROUTE|BRANCH_ROUTE}, {"http_connect", (cmd_function)w_curl_connect, 3, fixup_curl_connect, fixup_free_curl_connect, @@ -639,49 +637,6 @@ static int fixup_free_curl_connect(void **param, int param_no) return -1; } -/* - * Fix http_client_request params: met, url, hdrs, data (strings that may contain - * pvars) and result (writable pvar). - */ -static int fixup_http_query_request(void **param, int param_no) -{ - if(param_no <= 4) { - return fixup_spve_null(param, 1); - } - - if(param_no == 5) { - if(fixup_pvar_null(param, 1) != 0) { - LM_ERR("http_query: failed to fixup result pvar\n"); - return -1; - } - if(((pv_spec_t *)(*param))->setf == NULL) { - LM_ERR("http_query: result pvar is not writeble\n"); - return -1; - } - return 0; - } - - LM_ERR("invalid parameter number <%d>\n", param_no); - return -1; -} - -/* - * Free http_client_request params. - */ -static int fixup_free_http_query_request(void **param, int param_no) -{ - if(param_no <= 4) { - return fixup_free_spve_null(param, 1); - } - - if(param_no == 5) { - return fixup_free_pvar_null(param, 1); - } - - LM_ERR("http_query: invalid parameter number <%d>\n", param_no); - return -1; -} - /* * Wrapper for Curl_connect (GET) */
8 months, 1 week
1
0
0
0
git:master:19e91e09: core: fixup helpers for functions with strings and output variable params
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 19e91e097a851cc8c169c9c3144e2ab7669a5b71 URL:
https://github.com/kamailio/kamailio/commit/19e91e097a851cc8c169c9c3144e2ab…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-03-22T09:43:25+01:00 core: fixup helpers for functions with strings and output variable params --- Modified: src/core/mod_fix.c Modified: src/core/mod_fix.h --- Diff:
https://github.com/kamailio/kamailio/commit/19e91e097a851cc8c169c9c3144e2ab…
Patch:
https://github.com/kamailio/kamailio/commit/19e91e097a851cc8c169c9c3144e2ab…
--- diff --git a/src/core/mod_fix.c b/src/core/mod_fix.c index 10be560982f..520ed44708c 100644 --- a/src/core/mod_fix.c +++ b/src/core/mod_fix.c @@ -730,11 +730,11 @@ int fixup_free_spve_spve_igp(void **param, int param_no) /** * */ -int fixup_spve_pvar(void **param, int param_no) +int fixup_spve_n_pvar(void **param, int n, int param_no) { - if(param_no == 1) + if(param_no >= 1 && param_no <= n) return fixup_spve_null(param, 1); - if(param_no == 2) + if(param_no == n + 1) return fixup_pvar_null(param, 1); return E_UNSPEC; } @@ -742,15 +742,79 @@ int fixup_spve_pvar(void **param, int param_no) /** * */ -int fixup_free_spve_pvar(void **param, int param_no) +int fixup_free_spve_n_pvar(void **param, int n, int param_no) { - if(param_no == 1) + if(param_no >= 1 && param_no <= n) return fixup_free_spve_null(param, 1); - if(param_no == 2) + if(param_no == n + 1) return fixup_free_pvar_null(param, 1); return E_UNSPEC; } +/** + * + */ +int fixup_spve_pvar(void **param, int param_no) +{ + return fixup_spve_n_pvar(param, 1, param_no); +} + +/** + * + */ +int fixup_free_spve_pvar(void **param, int param_no) +{ + return fixup_free_spve_n_pvar(param, 1, param_no); +} + +/** + * + */ +int fixup_spve2_pvar(void **param, int param_no) +{ + return fixup_spve_n_pvar(param, 2, param_no); +} + +/** + * + */ +int fixup_free_spve2_pvar(void **param, int param_no) +{ + return fixup_free_spve_n_pvar(param, 2, param_no); +} + +/** + * + */ +int fixup_spve3_pvar(void **param, int param_no) +{ + return fixup_spve_n_pvar(param, 3, param_no); +} + +/** + * + */ +int fixup_free_spve3_pvar(void **param, int param_no) +{ + return fixup_free_spve_n_pvar(param, 3, param_no); +} + +/** + * + */ +int fixup_spve4_pvar(void **param, int param_no) +{ + return fixup_spve_n_pvar(param, 4, param_no); +} + +/** + * + */ +int fixup_free_spve4_pvar(void **param, int param_no) +{ + return fixup_free_spve_n_pvar(param, 4, param_no); +} + /** * */ diff --git a/src/core/mod_fix.h b/src/core/mod_fix.h index 3143f060426..a202c4ade2b 100644 --- a/src/core/mod_fix.h +++ b/src/core/mod_fix.h @@ -148,6 +148,12 @@ int fixup_spve_igp(void **param, int param_no); int fixup_free_spve_igp(void **param, int param_no); int fixup_spve_pvar(void **param, int param_no); int fixup_free_spve_pvar(void **param, int param_no); +int fixup_spve2_pvar(void **param, int param_no); +int fixup_free_spve2_pvar(void **param, int param_no); +int fixup_spve3_pvar(void **param, int param_no); +int fixup_free_spve3_pvar(void **param, int param_no); +int fixup_spve4_pvar(void **param, int param_no); +int fixup_free_spve4_pvar(void **param, int param_no); int fixup_spve_spve_igp(void **param, int param_no); int fixup_free_spve_spve_igp(void **param, int param_no);
8 months, 1 week
1
0
0
0
git:master:ccd4481d: http_client: clang-format new code
by Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ccd4481dcd42093ccca6d39cd71afc8fd4db938d URL:
https://github.com/kamailio/kamailio/commit/ccd4481dcd42093ccca6d39cd71afc8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-03-22T09:42:33+01:00 http_client: clang-format new code --- Modified: src/modules/http_client/functions.c Modified: src/modules/http_client/http_client.c --- Diff:
https://github.com/kamailio/kamailio/commit/ccd4481dcd42093ccca6d39cd71afc8…
Patch:
https://github.com/kamailio/kamailio/commit/ccd4481dcd42093ccca6d39cd71afc8…
--- diff --git a/src/modules/http_client/functions.c b/src/modules/http_client/functions.c index a359ce5090d..df6b8233b51 100644 --- a/src/modules/http_client/functions.c +++ b/src/modules/http_client/functions.c @@ -272,10 +272,11 @@ static int curL_request_url(struct sip_msg *_m, const char *_met, * - 1 (default) : timeout value is in seconds. * - 2 : timeout value is in milliseconds. */ - if (timeout_mode == 1) { /* timeout is in seconds (default) */ + if(timeout_mode == 1) { /* timeout is in seconds (default) */ res |= curl_easy_setopt(curl, CURLOPT_TIMEOUT, (long)params->timeout); - } else if (timeout_mode == 2) { /* timeout is in milliseconds */ - res |= curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, (long)params->timeout); + } else if(timeout_mode == 2) { /* timeout is in milliseconds */ + res |= curl_easy_setopt( + curl, CURLOPT_TIMEOUT_MS, (long)params->timeout); } res |= curl_easy_setopt( @@ -734,7 +735,8 @@ int http_client_request_c(sip_msg_t *_m, char *_url, str *_dst, char *_body, int http_client_request(sip_msg_t *_m, char *_url, str *_dst, char *_body, char *_hdrs, char *_met, unsigned int _httpver) { - return http_client_request_c(_m, _url, _dst, _body, NULL, _hdrs, _met, _httpver); + return http_client_request_c( + _m, _url, _dst, _body, NULL, _hdrs, _met, _httpver); } /*! diff --git a/src/modules/http_client/http_client.c b/src/modules/http_client/http_client.c index 64c3a7c65ab..9be9b88d835 100644 --- a/src/modules/http_client/http_client.c +++ b/src/modules/http_client/http_client.c @@ -1091,9 +1091,8 @@ static int w_http_query_post_hdr( /*! * helper for HTTP-Query function */ -static int ki_http_request_helper( - sip_msg_t *_m, str *met, str *url, str *body, str *hdrs, - unsigned int httpver, pv_spec_t *dst) +static int ki_http_request_helper(sip_msg_t *_m, str *met, str *url, str *body, + str *hdrs, unsigned int httpver, pv_spec_t *dst) { int ret = 0; str result = {NULL, 0}; @@ -1199,8 +1198,8 @@ static int ki_http_query_request_v2pk( return -1; } - return ki_http_request_helper(_m, met, url, body, hdrs, - CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, dst); + return ki_http_request_helper( + _m, met, url, body, hdrs, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, dst); } /*!
8 months, 1 week
1
0
0
0
git:master:61d04f44: modules: readme files regenerated - http_client ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 61d04f441488af1b943c4d5f8c35befc9cdd0437 URL:
https://github.com/kamailio/kamailio/commit/61d04f441488af1b943c4d5f8c35bef…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2024-03-22T07:31:22+01:00 modules: readme files regenerated - http_client ... [skip ci] --- Modified: src/modules/http_client/README --- Diff:
https://github.com/kamailio/kamailio/commit/61d04f441488af1b943c4d5f8c35bef…
Patch:
https://github.com/kamailio/kamailio/commit/61d04f441488af1b943c4d5f8c35bef…
--- diff --git a/src/modules/http_client/README b/src/modules/http_client/README index 43dddfef13e..0884d21c289 100644 --- a/src/modules/http_client/README +++ b/src/modules/http_client/README @@ -75,6 +75,7 @@ Hugh Waite 4.4. http_client_query(url, [post-data], [hdrs], result) 4.5. http_client_get(url, body, hdrs, respv) 4.6. http_client_request(met, url, body, hdrs, respv) + 4.7. http_client_request_v2pk(met, url, body, hdrs, respv) 5. Pseudovariables @@ -134,6 +135,7 @@ Hugh Waite 1.26. http_client_query() usage 1.27. http_client_get() usage 1.28. http_client_request() usage + 1.29. http_client_request_v2pk() usage Chapter 1. Admin Guide @@ -178,6 +180,7 @@ Chapter 1. Admin Guide 4.4. http_client_query(url, [post-data], [hdrs], result) 4.5. http_client_get(url, body, hdrs, respv) 4.6. http_client_request(met, url, body, hdrs, respv) + 4.7. http_client_request_v2pk(met, url, body, hdrs, respv) 5. Pseudovariables @@ -706,6 +709,7 @@ modparam("http_client", "netinterface", "eth0") 4.4. http_client_query(url, [post-data], [hdrs], result) 4.5. http_client_get(url, body, hdrs, respv) 4.6. http_client_request(met, url, body, hdrs, respv) + 4.7. http_client_request_v2pk(met, url, body, hdrs, respv) 4.1. http_connect(connection, url, [content_type, data,] result) @@ -894,6 +898,22 @@ switch ($rc) { } ... +4.7. http_client_request_v2pk(met, url, body, hdrs, respv) + + Similar to http_client_request(), but using HTTP/2 prior-knowledge that + the server does not need HTTP/1.1-Upgrade (direct HTTP/2 by seting + libcurl option CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE). + + Example 1.29. http_client_request_v2pk() usage +... +http_client_request_v2pk("GET", "
http://api.com/index.php?r_uri=$(ru{s.escape.pa
+ram})&f_uri=$(fu{s.escape.param})", + "", "X-Token: abc", "$var(result)"); +switch ($rc) { + ... +} +... + 5. Pseudovariables 5.1. $curlerror(error)
8 months, 1 week
1
0
0
0
git:master:584b51fd: http_client: documentation section for http_client_request_v2pk(...)
by Elena-Ramona Modroiu
Module: kamailio Branch: master Commit: 584b51fd00c87539eba44e86121fc0df2c465a27 URL:
https://github.com/kamailio/kamailio/commit/584b51fd00c87539eba44e86121fc0d…
Author: Elena-Ramona Modroiu <ramona(a)asipto.com> Committer: Elena-Ramona Modroiu <ramona(a)asipto.com> Date: 2024-03-22T07:16:53+01:00 http_client: documentation section for http_client_request_v2pk(...) --- Modified: src/modules/http_client/doc/http_client_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/584b51fd00c87539eba44e86121fc0d…
Patch:
https://github.com/kamailio/kamailio/commit/584b51fd00c87539eba44e86121fc0d…
--- diff --git a/src/modules/http_client/doc/http_client_admin.xml b/src/modules/http_client/doc/http_client_admin.xml index dd647fcb9a1..2fb918d5997 100644 --- a/src/modules/http_client/doc/http_client_admin.xml +++ b/src/modules/http_client/doc/http_client_admin.xml @@ -984,6 +984,28 @@ http_client_request("GET", "
http://api.com/index.php?r_uri=$(ru{s.escape.param})
switch ($rc) { ... } +... + </programlisting> + </example> + </section> + <section id="http_client.f.http_client_request_v2pk"> + <title> + <function moreinfo="none">http_client_request_v2pk(met, url, body, hdrs, respv)</function> + </title> + <para> + Similar to http_client_request(), but using HTTP/2 prior-knowledge + that the server does not need HTTP/1.1-Upgrade (direct HTTP/2 by + seting libcurl option CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE). + </para> + <example> + <title><function>http_client_request_v2pk()</function> usage</title> + <programlisting format="linespecific"> +... +http_client_request_v2pk("GET", "
http://api.com/index.php?r_uri=$(ru{s.escape.param})&f_uri=$(fu{s.escap…
", + "", "X-Token: abc", "$var(result)"); +switch ($rc) { + ... +} ... </programlisting> </example>
8 months, 1 week
1
0
0
0
git:master:09ad47cd: http_client: new function http_client_request_v2pk(...)
by Elena-Ramona Modroiu
Module: kamailio Branch: master Commit: 09ad47cd64e698a9bad55d2d697e88166ff948cf URL:
https://github.com/kamailio/kamailio/commit/09ad47cd64e698a9bad55d2d697e881…
Author: Elena-Ramona Modroiu <ramona(a)asipto.com> Committer: Elena-Ramona Modroiu <ramona(a)asipto.com> Date: 2024-03-22T07:03:31+01:00 http_client: new function http_client_request_v2pk(...) - do HTTP/2 request with prior-knowledge --- Modified: src/modules/http_client/functions.c Modified: src/modules/http_client/functions.h Modified: src/modules/http_client/http_client.c --- Diff:
https://github.com/kamailio/kamailio/commit/09ad47cd64e698a9bad55d2d697e881…
Patch:
https://github.com/kamailio/kamailio/commit/09ad47cd64e698a9bad55d2d697e881…
8 months, 1 week
1
0
0
0
git:master:93503fdc: modules: readme files regenerated - rtpengine ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 93503fdc337dc76a9a0d8222e1d03d77489ea834 URL:
https://github.com/kamailio/kamailio/commit/93503fdc337dc76a9a0d8222e1d03d7…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2024-03-21T16:46:12+01:00 modules: readme files regenerated - rtpengine ... [skip ci] --- Modified: src/modules/rtpengine/README --- Diff:
https://github.com/kamailio/kamailio/commit/93503fdc337dc76a9a0d8222e1d03d7…
Patch:
https://github.com/kamailio/kamailio/commit/93503fdc337dc76a9a0d8222e1d03d7…
--- diff --git a/src/modules/rtpengine/README b/src/modules/rtpengine/README index 83ce7e9f4b0..472d6dd93e4 100644 --- a/src/modules/rtpengine/README +++ b/src/modules/rtpengine/README @@ -276,7 +276,7 @@ Joey Golan 1.87. set_rtpengine_set usage 1.88. rtpengine_offer usage 1.89. rtpengine_offer usage to force transcoding from opus to PCMU - 1.90. rtpengine_offer usage + 1.90. rtpengine_offer usage of via-branch parameter 1.91. rtpengine_answer usage 1.92. rtpengine_info usage 1.93. rtpengine_delete usage @@ -2540,14 +2540,14 @@ onreply_route[1] } ... - Example 1.90. rtpengine_offer usage + Example 1.90. rtpengine_offer usage of via-branch parameter route { ... if (is_method("INVITE")) { if (has_body("application/sdp")) { - if (rtpengine_offer("replace-origin replace-session-connection via-b -ranch=auto-next strict-source label=callee OSRTP-accept transport-protocol=RTP/A -VP address-family=IP4", "auto-next")) + if (rtpengine_offer("replace-origin replace-session-connection stric +t-source label=callee OSRTP-accept transport-protocol=RTP/AVP address-family=IP4 +", "auto-next")) t_on_reply("1"); } }
8 months, 1 week
1
0
0
0
git:master:779654d3: rtpengine: fix doc typos
by Richard Fuchs
Module: kamailio Branch: master Commit: 779654d3654586dc1b2ac64b9ea6e7ce1dae75c8 URL:
https://github.com/kamailio/kamailio/commit/779654d3654586dc1b2ac64b9ea6e7c…
Author: Donat Zenichev <dzenichev(a)sipwise.com> Committer: Richard Fuchs <rfuchs(a)sipwise.com> Date: 2024-03-21T11:40:39-04:00 rtpengine: fix doc typos Fix doc typos in `rtpengine_offer()` usage examples. --- Modified: src/modules/rtpengine/doc/rtpengine_admin.xml --- Diff:
https://github.com/kamailio/kamailio/commit/779654d3654586dc1b2ac64b9ea6e7c…
Patch:
https://github.com/kamailio/kamailio/commit/779654d3654586dc1b2ac64b9ea6e7c…
--- diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml index b6145b3b6e2..6d79abfaeff 100644 --- a/src/modules/rtpengine/doc/rtpengine_admin.xml +++ b/src/modules/rtpengine/doc/rtpengine_admin.xml @@ -2885,13 +2885,13 @@ onreply_route[1] <example> - <title><function>rtpengine_offer</function> usage</title> + <title><function>rtpengine_offer</function> usage of via-branch parameter</title> <programlisting format="linespecific"> route { ... if (is_method("INVITE")) { if (has_body("application/sdp")) { - if (rtpengine_offer("replace-origin replace-session-connection via-branch=auto-next strict-source label=callee OSRTP-accept transport-protocol=RTP/AVP address-family=IP4", "auto-next")) + if (rtpengine_offer("replace-origin replace-session-connection strict-source label=callee OSRTP-accept transport-protocol=RTP/AVP address-family=IP4", "auto-next")) t_on_reply("1"); } }
8 months, 1 week
1
0
0
0
git:master:5b0e9e8c: rtpengine: format files in clang format
by Richard Fuchs
Module: kamailio Branch: master Commit: 5b0e9e8cb818e1de0c88f9b505a5813147629499 URL:
https://github.com/kamailio/kamailio/commit/5b0e9e8cb818e1de0c88f9b505a5813…
Author: Donat Zenichev <dzenichev(a)sipwise.com> Committer: Richard Fuchs <rfuchs(a)sipwise.com> Date: 2024-03-21T11:40:39-04:00 rtpengine: format files in clang format Formatting in clang for files not complying with it. --- Modified: src/modules/rtpengine/rtpengine.c Modified: src/modules/rtpengine/rtpengine_funcs.c --- Diff:
https://github.com/kamailio/kamailio/commit/5b0e9e8cb818e1de0c88f9b505a5813…
Patch:
https://github.com/kamailio/kamailio/commit/5b0e9e8cb818e1de0c88f9b505a5813…
8 months, 1 week
1
0
0
0
git:master:7d95e672: modules: readme files regenerated - rtpengine ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 7d95e67213f05c9ede6f0339246ae7e2fe93dea5 URL:
https://github.com/kamailio/kamailio/commit/7d95e67213f05c9ede6f0339246ae7e…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2024-03-21T16:16:24+01:00 modules: readme files regenerated - rtpengine ... [skip ci] --- Modified: src/modules/rtpengine/README --- Diff:
https://github.com/kamailio/kamailio/commit/7d95e67213f05c9ede6f0339246ae7e…
Patch:
https://github.com/kamailio/kamailio/commit/7d95e67213f05c9ede6f0339246ae7e…
8 months, 1 week
1
0
0
0
← Newer
1
...
7
8
9
10
11
12
13
...
25
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
Results per page:
10
25
50
100
200