Hi Fred
I would be remiss if I didn’t mention that FreeSWITCH is a very decent b2bua; especially light-weight if you are already proxying media on rtpengine and “bypass media” in freeswitch.
I used your example and we tried FreeSWITCH. Thank you for your suggestion.
Unfortunately we ran into massive issues we were not able to solve.
I don't exactly recall which one it was but it appeared in situations involving:
* 100rel required * parallel branches
It was either the issue that FreeSWITCH itself was dropping rseq replies with same rseq number but different totags wrongfully as duplicates.
Or it was the issue with those replies with different totags on the 2nd leg being mapped to ONE totag on the first leg causing the original sender to consider them a duplicates and dropping them.