I have Asterisk configured with Twilio SIP trunk. It receives calls from twilio network. I have configured ARI application for the extension. Hence my ARI Application receives the STASIS_START event. Then I create second channel with calling the B-party number. On response from B-party, ARI Application creates a mixing bridge and adds both the channels to it. The call works fine.
The problem is, I don’t want Asterisk to handle the media. Basically, I want to RE-INVITE both the parties after creating bridge so that media is totally bypassed from my asterisk box.
I tried directmedia=yes
But I couldn’t see RE-INVITE from asterisk hence media couldn’t be bypassed.