[SR-Users] Problem with topoh

Daniel-Constantin Mierla miconda at gmail.com
Thu May 2 10:54:49 CEST 2019


Hello,

first I wanted to confirm there is still an issue with such case on
maintained versions. Since 4.4, there were many changes to topoh module.
You can test on your computer with Kamailio 5.2 and using sipp to
simulate such SIP traffic. If still and issue, it will be fixed and you
can backport to 4.4 locally on your system.

Cheers,
Daniel

On 02.05.19 10:31, Phillman25 Kyriacou wrote:
> 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 <mailto: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 List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com <http://www.kamailioworld.com>
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.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/a8f5894e/attachment.html>


More information about the sr-users mailing list