Hi,
we would like to replicate a SIP-message ("REGISTER" in our case) to a set of nodes for further asynchronous processing. The message is already processed on the local Kamailio.
We thought about using the tm-module in conjunction with the dispatcher module so we can reliably forward the message. This seems to work, however we get a new problem: Kamailio forwards the response it gets from those nodes.
When we drop the response in the reply_route, it gets dropped before TM can see it. When we drop the response in the on_reply_route, it still will be forwarded. (adding or removing a header here works, however) $du is set to $null.
Is there any clean way to suppress that response being forwarded back to the original requester?
Best regards Christian Berger
Hello,
this is the easiest way: https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_replicat...
Cheers,
Henning
Ahh that works, thank you very much. Just for transparency. I had to use t_relay in the failure route, but that still works.
Thank you very much.
Am 19.11.24 um 19:53 schrieb Henning Westerholt:
Hello,
this is the easiest way: https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_replicat...
Cheers,
Henning