None of my users are behind NAT, they're all on public IPs (I control their connection).<br><br>Sorry if it's a stupid question, but what do you mean with "the SDP is not modified by mediaproxy"? <br><br>
On line 276 in the re-invite (Opensips --> UA) the port used is different: m=audio <span class="nu0">40518</span> RTP/AVP <span class="nu0">18</span> <span class="nu0">8</span> <span class="nu0">0</span> <span class="nu0">101</span>'<br>
The original invite (line 73) reads: m=audio <span class="nu0">58928</span> RTP/AVP <span class="nu0">18</span> <span class="nu0">8</span> <span class="nu0">0</span> <span class="nu0">101</span>'<br><br>In the statistics dumped at the end, port says 58928.<br>
<br>This is my config in regards to mediaproxy. I included the loose_route above as well, as this is all that comes before it in the route:<br><br> ##Loose_route packets<br> if (loose_route()) {<br> # mark routing logic in request<br>
append_hf("P-hint: rr-enforced\r\n");<br> if(method=="BYE") {<br> setflag(1);<br> $avp(s:can_uri) = $ru;<br> }<br> route(1);<br> };<br><br>
if (method==INVITE && !has_totag()) {<br> if(avp_db_query("select 1 from subscriber_debug where username = '$fU'", "$avp(s:debug)")) {<br> # No media proxy if in debug<br>
} else {<br> engage_media_proxy();<br> }<br> }<br><br><br><div class="gmail_quote">2010/2/3 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Miércoles, 3 de Febrero de 2010, Magnus Burman escribió:<br>
<div class="im">> Nice little utility, saves alot of time on typing. :-)<br>
><br>
> Here's a pastbin with the correct format (ngrep-sip b) of the same call:<br>
> <a href="http://pastebin.ca/1776903" target="_blank">http://pastebin.ca/1776903</a><br>
<br>
</div>As you can see, the SDP in not modified by mediaproxy module for the re-INVITE<br>
and the 200 response for the re-INVITE. This means that you get one-way-audio<br>
as the caller is behind NAT.<br>
<br>
You should inspect why you are not calling mediaproxy functions when handling<br>
in-dialog INVITE and its responses.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>