[SR-Users] Problem with topoh

Phillman25 Kyriacou phillman25 at gmail.com
Thu May 2 10:31:14 CEST 2019


Hi Daniel-Constantin

Thanks for your response.

Yes we are using Kamailio v4.4.x in production. In case we cant upgrade to
5.x right now would there an alternative work around for this?

Thanks again
Phillip

On Thu, May 2, 2019 at 10:07 AM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Hello,
>
> are you using Kamailio v4.4.x? If yes, can you try with a newer version to
> be sure we do not hunt an issue that was already fixed? At this moment
> 5.2.x and 5.1.x are maintained branches.
>
> Cheers,
> Daniel
> On 01.05.19 13:51, Phillman25 Kyriacou wrote:
>
> Dear List
>
> I have an issue with topoh module.
>
> Specifically for in-dialog requests, if the encoded uri is altered i.e.
> initial encoded contact uri is
>
> Contact: <sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W>
>
> and UAS sends an in-dialog INVITE like this adding tgrp and user=phone:
>
> INVITE
> sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W;tgrp=1069912311;user=phone
>
> Kamailio cant seem to match/decode this and responds "404 Not Found"
>
> I have also set:
> modparam("topoh", "uri_prefix_checks", 0)
>
> As specified here:
> https://www.kamailio.org/docs/modules/4.4.x/modules/topoh.html#idp37582868
>
> But still doesn't work. Is there a bug with this module?
>
> # ====================================================
> # ================ TOPOLOGY HIDING ===================
> # ====================================================
> modparam("topoh", "mask_key", "secret")
> modparam("topoh", "mask_ip", "X.X.X.X")
> modparam("topoh", "mask_callid", 0)
> modparam("topoh", "uparam_name", "line")
> modparam("topoh", "uparam_prefix", "sr-")
> modparam("topoh", "vparam_name", "branch")
> modparam("topoh", "vparam_prefix", "z9hG4bKsr-")
> modparam("topoh", "uri_prefix_checks", 0)
>
>
> Thanks in advance for your support
> Phillip
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190502/7887fd68/attachment.html>


More information about the sr-users mailing list