This topic has come up a few times before in various forms --<br><br>We have a Java based b2bua/proxy that we use in conjunction with OpenSER and Asterisk (for voicemail, etc), and need to find a way to interface it to a media gateway to do transcoding (and rtp relay to get around firewalls).
<br><br>Maybe media gateway isn&#39;t the right term.&nbsp; What I&#39;m looking for is something like the media proxy module for SER with the capability to transcode.&nbsp; To wrangle Asterisk into doing this, I have 3 ideas:<br><br>
1. Use chan_mgcp.&nbsp; I think this is not possible because chan_mgcp implements a call agent, not a media gateway.&nbsp; Am I wrong?<br><br>2. Write a new channel driver that does some form of rpc with the softswitch; implement commands to setup/teardown rtp sessions.
<br><br>3. Simulate #2 using chan_sip: the rpc in this case is SIP, and the softswitch gets more complicated.<br><br clear="all">If there&#39;s an easier way to accomplish what I&#39;m trying to do, I&#39;d be greatful if somebody pointed it out to me.&nbsp; 
<br><br>thanks,<br><br>Ryan Mitchell<br>Telecom Logic, LLC<br><br>