Module: kamailio Branch: master Commit: 878c41b7dbd1a716d5a2a9281ab99af585737022 URL: https://github.com/kamailio/kamailio/commit/878c41b7dbd1a716d5a2a9281ab99af5...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-08-19T11:37:40+02:00
lost: docs - note that http_client param query_result has to be set to 0
---
Modified: src/modules/lost/doc/lost_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/878c41b7dbd1a716d5a2a9281ab99af5... Patch: https://github.com/kamailio/kamailio/commit/878c41b7dbd1a716d5a2a9281ab99af5...
---
diff --git a/src/modules/lost/doc/lost_admin.xml b/src/modules/lost/doc/lost_admin.xml index d4228f3044..b5701d3fb8 100644 --- a/src/modules/lost/doc/lost_admin.xml +++ b/src/modules/lost/doc/lost_admin.xml @@ -255,11 +255,13 @@ xlog("L_INFO", "LOST findService: Result code $var(res)\nUri: $var(uri)\nName: $ https://www.digitalocean.com/community/questions/how-to-upgrade-curl-in-cent...</ulink> </para> <para> - Note: http_client_query exported by the http_client API returns the first line of + Note: http_client_query exported by the http_client API returns by default the first line of the HTTP response (query_params.oneline = 1), but the lost module requires the complete response message, which requires query_params.oneline set to 0. In the case lost_query is used with the default http_client API, dereferencing location via HTTP provided with - the Geolocation header causes an error. + the Geolocation header causes an error. Therefore, to work properlu=y, it requires to set + <ulink url="https://www.kamailio.org/docs/modules/devel/modules/http_client.html#http_client.p.query_result"> + http_client module parameter query_result to 0</ulink>. </para> </section> </chapter>