Hi all
For rtpengine to correctly distinguish branched calls, the top-most via branch= parameter should be passed to it.
I have attempted to use $via0 but that does not yet exist in Kamailio 5.4
So I did try to read $hdr(Via) which I guess returns an array and then access:
but this returns the inbound via, not the one generated on the branched call.
How can this be accomplished with kamailio 5.4?
I guess I figured it out...
don't use via-branch=auto, but via-branch=auto-next then it works by magic :-)