Hello guys,
I'm receiving an http request via xhttp, something like:
http://ip.com/request?value1=123&value2=2313&value3...
Is it possible to get those values somehow?
I also have a suri coming from a ds_select in _dsdst_, I need to get the host from that _dsdst_
Any way of doing this?
Thanks all
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Parsing the $hu within the xhttp:request even route would offer what you need. Some of the most interesting variable are:
URL=$hu PATH=$(hu{url.path}) QUERY=$(hu{url.querystring})
Cheers.
On Thu, Oct 3, 2019 at 9:20 AM David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm receiving an http request via xhttp, something like:
http://ip.com/request?value1=123&value2=2313&value3...
Is it possible to get those values somehow?
I also have a suri coming from a ds_select in _dsdst_, I need to get the host from that _dsdst_
Any way of doing this?
Thanks all
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Many thanks Sergiu! Got it all solved!
On Thu, 3 Oct 2019 at 14:59, Sergiu Pojoga pojogas@gmail.com wrote:
Parsing the $hu within the xhttp:request even route would offer what you need. Some of the most interesting variable are:
URL=$hu PATH=$(hu{url.path}) QUERY=$(hu{url.querystring})
Cheers.
On Thu, Oct 3, 2019 at 9:20 AM David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm receiving an http request via xhttp, something like:
http://ip.com/request?value1=123&value2=2313&value3...
Is it possible to get those values somehow?
I also have a suri coming from a ds_select in _dsdst_, I need to get the host from that _dsdst_
Any way of doing this?
Thanks all
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users