On 2018-08-14 04:45, Nicolas Breuer wrote:
I don't like the msg_apply_changes but can you
explain the different behavior between rtpproxy & rtpengine?
The difference is due to the fact that rtpengine rewrites and replaces
the entire SDP body, while rtpproxy only manipulates bits and pieces of
it (like ports and IP addresses). Since Kamailio doesn't perform SDP
changes immediately but rather collects them in a lump list and applies
them only when requested (or when the message is sent out), trying to
apply two rewrite operations on the same SDP portion doesn't work.
Cheers