<br><br><div class="gmail_quote">On Tue, Aug 23, 2011 at 2:29 AM, Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On Aug 22, 2011, at 11:21 PM, Jock McKechnie wrote:<br>
<br>
> Greetings all;<br>
><br>
</div><div class="im">> I'm afraid I haven't solved this yet, but I did strip out all the dispatcher code and that hasn't helped, so it appears to be something to do with forwarding the calls out while the mediaproxy is enabled. Unfortunately as calls have to be directed through the specific IP of our own local OpenSER proxy to the carrier I can't bypass this in machine in the call flow for my testing. Tomorrow I'll try and pull mediaproxy back out of the config and see if it really is to blame, but I have to assume so since I have all of the rest of these features (dispatcher/etc) working happily in other environs.<br>
><br>
> I could sure use a suggestion on what I could try removing/adding to help pinpoint what might be going on.<br>
><br>
<br>
</div>If you want to use the use_media_proxy and end_media_session functions you'll need to call use_media_proxy in a branch route, because after your first attempt of getting the call out you need to end_media_session and use_media_proxy again the new branch (the one that is created for the next gateway).<br>
<br>
Or you can use engage_mediaproxy :-)<br><br></blockquote><div><br>Good call, <span class="gD" style="color: rgb(0, 0, 0);">Saúl</span>.<br>I had a _lot_ of problems getting MediaProxy to work initially so I ended up using someone else's config.<br>
<br>And this appears to be part of the problem - I'm using a config that works, but I don't know what it's up to. After removing all sorts of bits and pieces and adding stuff back I've found that if I remove the onreply_route that it _appears_ to work precisely as I expect it. OpenSIPS/MediaProxy is properly handling the media and no screwy ACKs.<br>
<br>The onreply_route was:<br>onreply_route[1] {<br> if (status =~ "(183)|(2[0-9][0-9])") {<br> if (client_nat_test("1")) {<br> fix_contact();<br> }<br>
}<br> }<br><br>Will the removal of this cause any major issues? (The whole config is still here: <a href="http://pastebin.com/b2FGgTRX">http://pastebin.com/b2FGgTRX</a>).<br><br>Thank you, all.<br><br>
- Jock<br></div></div><br>