[SR-Users] Topos_redis and loose_route

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 15 07:28:54 CEST 2020


Hello,

topos is designed for sip traffic related to calls, it does not track
presence/subscribe dialogs, you have to skip them. Presence traffic is
usually terminated on a local server, no need to hide topololy, but if
anyone wants to add support for subscribe dialogs, he/she is more than
welcome to submit such enhancement.

For the non-call traffic, it does transaction level topology stripping,
ensuring that the reply is properly built for a request that was through
topos (this is aiming at MESSAGE requests, which can be routed via
interconnect trunks for SMS).

Cheers,
Daniel

On 14.09.20 22:07, George Diamantopoulos wrote:
> Hello all,
>
> I believe I'm also affected by this on kamailio 5.4.1
>
> loose_route() returns false for in-dialog SUBSCRIBE
>
> The issue does not manifest with topos disabled for SUBSCRIBEs (using
> the appropriate event_route)
>
> Daniel, I can provide PCAPs privately if needed. Thank you.
>
> Best regards.
> George
>
> On Tue, 28 Apr 2020 at 14:04, Ernest Mavrel <ernest.mavrel at novatel.si
> <mailto:ernest.mavrel at novatel.si>> wrote:
>
>     Hi,
>
>     Is there any findings on the issue bellow?
>
>     Thank you
>
>     Kind Regards
>
>     Ernest Mavrel je 14. 04. 20 ob 21:00 napisal:
>>
>>     Hi,
>>
>>     In attach pcap file.
>>
>>     Kind Regards
>>
>>     Ernest Mavrel
>>
>>     Daniel-Constantin Mierla je 14. 04. 20 ob 12:20 napisal:
>>>
>>>     Hello,
>>>
>>>     can you resent the sip traffic as a pcap file? The PCAP.txt is a
>>>     text export, probably done with wireshark, but that is harder to
>>>     analyze. Pcap format is better, can be opened again with
>>>     wireshark, ngrep, etc... and generate message flows locally.
>>>
>>>     Cheers,
>>>     Daniel
>>>
>>>     On 14.04.20 11:10, Ernest Mavrel wrote:
>>>>
>>>>     Dear Community,
>>>>
>>>>     I forgot to mention that loose_route return false on PRACK
>>>>     message and consequently Kamailio return 404 Not Found as
>>>>     defined in configuration.
>>>>
>>>>     Kind Regards
>>>>
>>>>     Ernest Mavrel
>>>>
>>>>     Ernest Mavrel je 10. 04. 20 ob 09:48 napisal:
>>>>>     Dear Community,
>>>>>
>>>>>     Call scenario:
>>>>>
>>>>>     Calling number    33825462354
>>>>>     Called number    44656646820
>>>>>
>>>>>     UAC (IP=1.1.1.1) => Kamailio (IP=2.2.2.2) => SIP proxy
>>>>>     (IP=3.3.3.3)
>>>>>
>>>>>     I stocked on strange issue with module TOPOS_REDIS and PRACK
>>>>>     message (IP=2.2.2.2 kamailio version 5.2.3).
>>>>>
>>>>>     Configuration with module TOPOS works, but because of a lot of
>>>>>     calls we would like to use TOPOS_REDIS (avoid mysql).
>>>>>
>>>>>     I already check this:
>>>>>     https://lists.kamailio.org/pipermail/sr-users/2018-May/101641.html
>>>>>     and I already have fixed version of module.
>>>>>
>>>>>     In attach you can find traces (pcap file and kamailio log with
>>>>>     debug=4)
>>>>>
>>>>>     Your help will be greatly appreciated
>>>>>
>>>>>
>>>>>     Kind Regards
>>>>>
>>>>>     Ernest Mavrel
>>>>>
>>>>>     _______________________________________________
>>>>>     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
>>>>
>>>>     _______________________________________________
>>>>     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 (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
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200915/cd06a782/attachment.htm>


More information about the sr-users mailing list