Hello,

so far topos was not designed for spiraled traffic, only as a single middle point between caller and callee. To handle SIP spirals, it would need some C coding.

Cheers,
Daniel


On 04.08.17 16:32, Carsten Bock wrote:
Hi,

I think, I found one issue with Daniel's new (great) TOPOS module:

I've configured it on my Edge-Proxy (aka. Proxy-CSCF) as a replacement
for an SBC and I ran into a strange issue.

Everything works fine, except in one Scenario:
Both A and B Party are registered using the same Proxy, so TOPOS is
triggered twice: On the originating Leg and on the terminating Leg.

It works properly, if I'm just having one Leg on the Proxy (either
because it's going to/coming from the Breakout Gateway or because the
B-Party registered using a different Proxy).

It appears to happen only, if the B-Party has a public IP, if no NAT
involved (Wtf?!?), it actually happened initially when I called my
mother.

I've looked through the source-code but couldn't find a proper
solution. Anyone an idea?

Thanks,
Carsten

P.S: Please find attached a full trace of such call and the according
database entries



_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com