Hello,
you do not need to discard the branch replies at all. Kamailio sends only one reply back, even if you do many outgoing branches, kamailio is going to wait until all of the get a final reply and then selects the one with highest priority to send back.
Cheers, Daniel
On 14.04.18 23:05, Kjeld Flarup wrote:
Hello
What is the correct way to handle, if a branched call reaches a 404 on one of the branches.
Currently I discard all 404 in onreply_route, but if all branches has 404, then this is never send to the caller.