<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I don't think there is anything wrong with what you are trying to do. You<br>
should only call engage_media_proxy once though.<br>
<br>
Look at what Dan Pascu says in his reply.<br>
<a href="http://opensips-open-sip-server.1449251.n2.nabble.com/multiple-use-media-proxy-calls-td5945057.html#a5947893" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/multiple-use-media-proxy-calls-td5945057.html#a5947893</a><br>
"*2. by calling use_media_proxy twice, the 2nd call won't overwrite the<br>
previous value. Unfortunately, this is not a mediaproxy issue, is a generic<br>
opensips issue that results from the way changes are applied to the existing<br>
message using lumps. Any other opensips function that modifies the message,<br>
if called twice will corrupt the message by appending each change after each<br>
other, instead of overwriting the previous one. So in case of mediaproxy you<br>
will see 2 IP addresses concatenated like: xx.xx.xx.xxyy.yy.yy.yy where the<br>
IP address was replaced.* "<br>
<br>
So you need to figure out how to only engage_media_proxy once if you are<br>
going to use two OpenSIPS servers.<br>
<br>
Hope that helps.<br>
On Tue, Feb 15, 2011 at 5:26 AM, Jayesh Nambiar <<a href="mailto:jayesh.voip@gmail.com">jayesh.voip@gmail.com</a>>wrote:<br>
<br>
> Hi All,<br>
> I have a scenario:<br>
> I use two instances of opensips for routing a specific kind of call. The<br>
> call comes on opensips1 and then is routed to opensips2 and then to the<br>
> destination IP. Both opensips are on different servers connecting to their<br>
> own media-dispatcher.sock. The dispatchers on both the servers connect to<br>
> same media-relay on a third server.<br>
> Now, if at any given point of time, for a same call if both the opensips<br>
> does an engage_media_proxy which actually invokes the same media-relay twice<br>
> for the same call, there is no voice. While, if I do engage_media_proxy on<br>
> any one opensips the audio is proper.<br>
> Any known specific reason for this? I know I did not dig more into the<br>
> problem as I first needed to know if there is a logical problem in this kind<br>
> of routing !!<br>
><br>
> Thanks,<br>
><br>
> --- Jayesh<br></blockquote><div><br></div><div>Thank you very much Duane, really appreciated !!</div><div><br></div><div>--- Jayesh </div></div>