Hello,
I am trying to configure the Topos module and have some questions.
# topos:msg-outgoing vs topos:msg-sending
I am trying to understand the difference between these two event routes(beyond the content of the SIP message ). I notice that both are invoked when OPTIONS are generated by the local Kamailio server but only msg-sending is invoked for messages transiting the Kamailio( ie proxied, not locally generated).
Is there some difference in how these event_routers are invoked beyond the content of the SIP message?
# tops -> requests/replies
When I am in event_route[topos:msg-sending] { and invoke 'drop', does this apply to the current message or does it apply to the transaction?
I have a Kamailio node with devices on either side. Let's call side A untrusted and side B trusted.
I want TOPOS happening against the untrusted device but not the trusted device.
I have found that when I invoke 'drop' on a request coming from A to B, it disables TOPOS not only on that packet, but also the reply comes from B back to A, TOPOS isn't applied when the reply exits Kamailio towards A. So if I call 'drop' on the request coming from A to B, the reply coming from B to A has no TOPOS applied.
How do I get TOPOS applied to all traffic facing a particular device while leaving that traffic un-stripped when the same traffic is interacting with other devices that are trusted?
Thanks,
David