Module: kamailio
Branch: master
Commit: 01fa6d962258a7ea82e6d3fe2d56f98b94806a31
URL: https://github.com/kamailio/kamailio/commit/01fa6d962258a7ea82e6d3fe2d56f98…
Author: Wolfgang Kampichler <dev(a)kampichler.info>
Committer: Wolfgang Kampichler <dev(a)kampichler.info>
Date: 2021-04-04T23:09:02+02:00
lost: removed some typos and added explanatory text to doc
---
Modified: src/modules/lost/doc/lost_admin.xml
Modified: src/modules/lost/lost.c
---
Diff: https://github.com/kamailio/kamailio/commit/01fa6d962258a7ea82e6d3fe2d56f98…
Patch: https://github.com/kamailio/kamailio/commit/01fa6d962258a7ea82e6d3fe2d56f98…
---
diff --git a/src/modules/lost/doc/lost_admin.xml b/src/modules/lost/doc/lost_admin.xml
index 2ef2605f19..1df4aefd21 100644
--- a/src/modules/lost/doc/lost_admin.xml
+++ b/src/modules/lost/doc/lost_admin.xml
@@ -185,8 +185,7 @@
<title><varname>post_request</varname> (int)</title>
<para>
Dereferencing the location can be done using either the HTTP GET or POST method. This parameter
- This parameter globally defines whether only HTTP POST method should be used. Values are 0 (GET)
- or 1 (POST).
+ globally defines whether only HTTP POST method should be used. Values are 0 (GET) or 1 (POST).
</para>
<para>
Default: 0 (GET)
@@ -405,6 +404,7 @@ xlog("L_INFO", "HELD locationRequest: Result code $var(res)\nUrl: $var(url)\n$va
</title>
<para>
Sends a HELD POST locationRequest to a given URL. Attributes are responseTime and resposeType.
+ The <emphasis>locationType</emphasis> property "exact" is set to "false".
</para>
<itemizedlist>
<listitem><para>
diff --git a/src/modules/lost/lost.c b/src/modules/lost/lost.c
index ab6ef510e6..06b3bff2a2 100644
--- a/src/modules/lost/lost.c
+++ b/src/modules/lost/lost.c
@@ -411,7 +411,7 @@ static int w_lost_held_deref(struct sip_msg *_m, char *_url, char *_rtime,
}
/*
- * Wrapper for lost_query w/o pudf, urn
+ * Wrapper for lost_query w/o pidf, urn
*/
static int w_lost_query(
struct sip_msg *_m, char *_con, char *_uri, char *_name, char *_err)
Module: kamailio
Branch: master
Commit: 356fba18ac5eef25e67a2357b4cdcd9255810094
URL: https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9…
Author: Wolfgang Kampichler <dev(a)kampichler.info>
Committer: Wolfgang Kampichler <dev(a)kampichler.info>
Date: 2021-03-15T14:18:57+01:00
lost: new features, attributes and a new function to dereference location
- features: LoST redirect, dynamic HELD url resolving (#2574), LoST NAPTR,
POST request to dereference loation
- attributes: reponse_time (-1:emergencyDispatch, 0:emergencyRouting, >0[ms]);
post_request (POST method to dereference location #2641); recursion (yes/no);
location_profile (PIDF/LO profile selection: first/last/geo/civic);
verbose (detailed LoST response as log INFO);
geoheader_type (filter schema: any/cid/http/https);
geoheader_order (first/last)
- function: lost_held_dereference (specific function to dereference location
using POST method); attributes are url (r), resp.-time (r), resp.-type (r),
pidf (r/w) and error (r/w)
- general: The extension of the module allows dynamic querying of LIS/HELD
and LOST services via NAPTR lookup. In the case of LOST, a redirect
response is evaluated. In case a lost_held_request (used to connect
to a LIS via POST or GET) is passed with an empty string ("") for the
connection parameter, then P-A-I or From header value hostnames are used
for NAPTR lookup to get a corresponding service.
---
Added: src/modules/lost/naptr.c
Added: src/modules/lost/naptr.h
Added: src/modules/lost/response.c
Added: src/modules/lost/response.h
Modified: src/modules/lost/functions.c
Modified: src/modules/lost/functions.h
Modified: src/modules/lost/lost.c
Modified: src/modules/lost/pidf.c
Modified: src/modules/lost/utilities.c
Modified: src/modules/lost/utilities.h
---
Diff: https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9…
Patch: https://github.com/kamailio/kamailio/commit/356fba18ac5eef25e67a2357b4cdcd9…
Module: kamailio
Branch: master
Commit: f7f68c57e11124bd94ae21a40d11fcab93a8508f
URL: https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fca…
Author: Wolfgang Kampichler <dev(a)kampichler.info>
Committer: Wolfgang Kampichler <dev(a)kampichler.info>
Date: 2021-03-15T14:13:11+01:00
http_client: http_client_request (api) content-type header support
- new api call including a content-type argument implemented as new
function - required to resolve geolocation url using POST (#2641)
- Note: not sure if this is the most elegant solution, but it helps
to avoid backward compatibility issues
---
Modified: src/modules/http_client/curl_api.c
Modified: src/modules/http_client/curl_api.h
Modified: src/modules/http_client/functions.c
Modified: src/modules/http_client/functions.h
---
Diff: https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fca…
Patch: https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fca…
Dear all
i think i have noticed a wrong behaviour with xflags. When they are set in
a failure_route and a t_relay is done after that to a destination, its
state is lost in the next on_reply route.
This doesn't happen with regular transaction flags, and it doesn't happen
with xflags either when xflag is set inside an onreply_route.
We have seen it on versions 5.3 and 5.4
Could you please confirm this?
thanks a lot
regards
david escartin
--
[image: Logo]
David Escartín Almudévar
VoIP/Switch Engineer
descartin(a)sonoc.io
*SONOC*
C/ Josefa Amar y Borbón, 10, 4ª · 50001 Zaragoza, España
Tlf: +34 917019888 · www.sonoc.io