[SR-Users] Problem with topoh

Phillman25 Kyriacou phillman25 at gmail.com
Wed May 1 13:51:49 CEST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190501/b83586ee/attachment.html>


More information about the sr-users mailing list