[SR-Users] string manipulation

David Villasmil david.villasmil.work at gmail.com
Thu Oct 3 16:49:10 CEST 2019


Many thanks Sergiu! Got it all solved!

On Thu, 3 Oct 2019 at 14:59, Sergiu Pojoga <pojogas at 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 at 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 at gmail.com
>> phone: +34669448337
>>
> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191003/caa21806/attachment.html>


More information about the sr-users mailing list