On 05/28/2015 06:20 AM, Juha Heinanen wrote:
Alex Balashov writes:
There is already something related to the branch in the rtpproxy function flags, see:
-http://kamailio.org/docs/modules/stable/modules/rtpproxy.html#idp125632
Indeed. As I understand the documentation, this uses the incoming branch ID/Via added by the previous hop, correct?
Yes, and my test verifies it. Even when I call rtpengine_offer after t_relay in branch route with via-branch value 1 (= first via header), I still get the incoming via header branch id as the value of via-branch option.
Indeed, and my glance at the source code confirms that all these functions operate on the incoming message body.
Well, that is puzzling...