[SR-Users] Topos and subst_hf

Igor Olhovskiy igorolhovskiy at gmail.com
Tue Feb 19 21:28:11 CET 2019


Forgot to add, Kamailio 5.2.0

On Feb 19 2019, at 4:35 pm, Igor Olhovskiy <igorolhovskiy at gmail.com> wrote:
> Hi!
>
> I'm using subst_hf to add some extra info to contact
> subst_hf("Contact", "/^(.*)sip:(.*)@(.*)$/\1sip:encei$var(extra_info)-\2@\3/i", "f");
> With combination of topos it's giving me strange results like
> 2(26) WARNING: sanity [sanity.c:282]: check_ruri_scheme(): failed to parse request uri [sip:encei302e3734-btpsh-5c6c00ac-2e-f at 172.28.0.74><sip:encei302e3734-btpsh-5c6c00ac-2e-f at 172.28.0.74]
> Seems, it's doubling R-URI on in-dialog requests. If I'm disabling topos - all is ok.
> What is interesting - this can't be reproduced with remove_hf/append_hf mechanisms.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190219/66a405d5/attachment-0001.html>


More information about the sr-users mailing list