On 22/01/2020 13.15, George Diamantopoulos wrote:
On Wed, 22 Jan 2020 at 18:28, Richard Fuchs <rfuchs@sipwise.com mailto:rfuchs@sipwise.com> wrote:
On 22/01/2020 11.06, Sebastian Damm wrote: > Hi, > > our scenario is the following: We have two clients registered to our > Kamailio server, one with a TLS capable phone, one via websocket. Now, > when a call comes in, the call is forked and is sent out to both > clients. rtpengine handling is done in the branch route, so there are > two offers, and we use the "via-branch" parameter. > > Now, when one branch answers the call, what happens to the other > branch? I there a way to delete the other branch? How and in which > route? Or does Kamailio do this automatically? You do it the same way as you handle an answer: You issue a delete with the via-branch option.
Doesn't this happen automatically when one uses rtpengine_manage() in the failure_route?
I would think it does, as long as you supply the via-branch parameter.
Cheers