[SR-Users] Parallel forking and rtpengine handling

Richard Fuchs rfuchs at sipwise.com
Wed Jan 22 19:19:19 CET 2020


On 22/01/2020 13.15, George Diamantopoulos wrote:
>
>
> On Wed, 22 Jan 2020 at 18:28, Richard Fuchs <rfuchs at sipwise.com 
> <mailto:rfuchs at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200122/83f965f2/attachment.html>


More information about the sr-users mailing list