[SR-Users] how to differentiate branches in parallel call forking

Koray Vatansever koray.vatansever at gmail.com
Sun Jan 27 13:57:52 CET 2019


Hi,

I'm trying to implement parallel call forking scenario.
Since target clients have different media profiles, I need to set different
rtpengine options for those forked calls.
So according to the rtpengine module documentation, I set via-branch option
on request and response, '1' and '2' respectively ('auto' option is not
working. There is no code implementing this parameter).
However all forked branches have the same via branch id which is the
incoming INVITE's via branch id.
As a result, rtpengine thinks that all the offers belong to the same
session I guess.

It seems I have only 'extra' option with extra_pv_id variable.
In order to use it, I need an elegant way to differentiate forked branches
in request and response processing.

I would appreciate any suggestion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190127/5fd8677f/attachment.html>


More information about the sr-users mailing list