Hello,

Using Kamailio 6.0.2.

I'm running a registrar that can fork incoming calls to two or more
registered users. Some users are WebRTC and others are not, so RTPEngine
needs to handle them differently.

In the branch route, I call:
rtpengine_manage("via-branch=auto replace-origin");

However, the via-branch passed to RTPEngine doesn't match the branch ID of
the actual INVITEs sent out.

When one branch answers, the others get a CANCEL, but the CANCEL/200 OK
sent to RTPEngine includes a different via-branch than the one used for the
original INVITE. This causes media handling issues.

I saw that the docs suggest using $T_branch(name) or AVPs to set the
correct branch name, but $T_branch(name) seems deprecated or removed.

In previous setups, branching was done on a separate instance, so
identifying the right branch was easier. Now that it's local, I’m unsure
how to arm rtpengine_manage() with the correct via-branch.

*TL;DR:*
When doing local forking, how can I set the correct via-branch value for
each leg in rtpengine_manage()?

Thanks,
David
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to