I make a call from one sip client to another via these 2 servers (let's say G711 is used everywhere).
SIP CLIENT1 -> FS1 (proxy) -> FS2 (media) -> SIP CLIENT2
Proxy server (FS1) sends a re-INVITE and excludes itself from the media path after the call was answered (I am using bypass_media_after_bridge).
So, the media goes like this: SIP CLIENT1 <-> FS2 <-> SIP CLIENT2
Now, I want to try to exclude the media server (FS2) as well (just experimenting, but if both clients use same codec, I suppose this can be legitimately done?).
I put bypass_media_after_bridge=true on the media server (I did it in few places in Lua script).
But as per sip trace, it does not sends any reinvite after the call was answered.
Only FS1 sends reINVITE.