<div class="gmail_quote">Hi,<br><br>I did a wireshark export, 2461 lines, so it&#39;s in the pastebin: <br><br><a href="http://pastebin.ca/1775584">http://pastebin.ca/1775584</a><br><br>syslog below:<br><br>11.11.X.Y - Trunk subnet<br>


22.22.X.Y - Proxy subnet<br>
984000000 - UA DID<br>
<a href="http://X.voip.url.es">X.voip.url.es</a> - UA sip subscriber<br><br>Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for stream: (audio) <a href="http://11.11.6.144:40518">11.11.6.144:40518</a> (RTP: Unknown, RTCP: Unknown) &lt;-&gt; <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> &lt;-&gt; <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> &lt;-&gt; Unknown (RTP: <a href="http://22.22.198.159:5206">22.22.198.159:5206</a>, RTCP: Unknown)<br>

Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for stream: (audio) <a href="http://11.11.6.144:40518">11.11.6.144:40518</a> (RTP: Unknown, RTCP: Unknown) &lt;-&gt; <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> &lt;-&gt; <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> &lt;-&gt; Unknown (RTP: <a href="http://22.22.198.159:5206">22.22.198.159:5206</a>, RTCP: <a href="http://22.22.198.159:5207">22.22.198.159:5207</a>)<br>

Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got initial answer from callee for stream: (audio) <a href="http://11.11.6.144:40518">11.11.6.144:40518</a> (RTP: Unknown, RTCP: Unknown) &lt;-&gt; <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> &lt;-&gt; <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> &lt;-&gt; <a href="http://22.22.198.159:5206">22.22.198.159:5206</a> (RTP: <a href="http://22.22.198.159:5206">22.22.198.159:5206</a>, RTCP: <a href="http://22.22.198.159:5207">22.22.198.159:5207</a>)<br>

Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for stream: (audio) <a href="http://11.11.6.144:40518">11.11.6.144:40518</a> (RTP: <a href="http://11.11.6.144:40518">11.11.6.144:40518</a>, RTCP: Unknown) &lt;-&gt; <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> &lt;-&gt; <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> &lt;-&gt; <a href="http://22.22.198.159:5206">22.22.198.159:5206</a> (RTP: <a href="http://22.22.198.159:5206">22.22.198.159:5206</a>, RTCP: <a href="http://22.22.198.159:5207">22.22.198.159:5207</a>)<br>

Jan 11 22:29:26 sbc1 media-relay[4335]: debug: Got traffic information for stream: (audio) <a href="http://11.11.6.144:40518">11.11.6.144:40518</a> (RTP: <a href="http://11.11.6.144:40518">11.11.6.144:40518</a>, RTCP: Unknown) &lt;-&gt; <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> &lt;-&gt; <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> &lt;-&gt; <a href="http://22.22.198.159:5206">22.22.198.159:5206</a> (RTP: <a href="http://22.22.198.159:5206">22.22.198.159:5206</a>, RTCP: <a href="http://22.22.198.159:5207">22.22.198.159:5207</a>)<br>

Jan 11 22:54:20 sbc1 media-dispatcher[4324]: debug: Got statistics: {&#39;from_tag&#39;: &#39;e-13c4-10b392b-75e19db4-10b392b&#39;, &#39;dialog_id&#39;: &#39;1305:480665684&#39;, &#39;start_time&#39;: 1263245287.1800001, &#39;timed_out&#39;: False, &#39;call_id&#39;: &#39;a27f94c890000e3e13c410b392b13d753bdb84e00e2147f91b8-0266-6714&#39;, &#39;to_tag&#39;: &#39;ICF_197662497-514&#39;, &#39;streams&#39;: [{&#39;status&#39;: &#39;closed&#39;, &#39;caller_codec&#39;: &#39;G711a&#39;, &#39;post_dial_delay&#39;: 10.768354177499999, &#39;callee_codec&#39;: &#39;G711a&#39;, &#39;start_time&#39;: 0, &#39;caller_bytes&#39;: 15733000, &#39;callee_bytes&#39;: 15328600, &#39;caller_packets&#39;: 78665, &#39;end_time&#39;: 1573, &#39;callee_remote&#39;: &#39;<a href="http://22.22.198.159:5206">22.22.198.159:5206</a>&#39;, &#39;caller_remote&#39;: &#39;<a href="http://11.11.6.144:40518">11.11.6.144:40518</a>&#39;, &#39;media_type&#39;: &#39;audio&#39;, &#39;callee_local&#39;: &#39;<a href="http://22.22.224.9:58928">22.22.224.9:58928</a>&#39;, &#39;timeout_wait&#39;: 0, &#39;caller_local&#39;: &#39;<a href="http://22.22.224.9:50358">22.22.224.9:50358</a>&#39;, &#39;callee_packets&#39;: 76643}, {&#39;status&#39;: &#39;rejected&#39;, &#39;caller_codec&#39;: &#39;Unknown&#39;, &#39;post_dial_delay&#39;: None, &#39;callee_codec&#39;: &#39;Unknown&#39;, &#39;start_time&#39;: 0, &#39;caller_bytes&#39;: 0, &#39;callee_bytes&#39;: 0, &#39;caller_packets&#39;: 0, &#39;end_time&#39;: 0, &#39;callee_remote&#39;: &#39;Unknown&#39;, &#39;caller_remote&#39;: &#39;Unknown&#39;, &#39;media_type&#39;: &#39;image&#39;, &#39;callee_local&#39;: &#39;<a href="http://22.22.224.9:59676">22.22.224.9:59676</a>&#39;, &#39;timeout_wait&#39;: 0, &#39;caller_local&#39;: &#39;<a href="http://22.22.224.9:58930">22.22.224.9:58930</a>&#39;, &#39;callee_packets&#39;: 0}], &#39;duration&#39;: 1573, &#39;to_uri&#39;: &#39;<a href="http://984000000@22.22.224.9:5060">984000000@22.22.224.9:5060</a>&#39;, &#39;from_uri&#39;: &#39;<a href="http://34963555555@11.11.0.144:5060">34963555555@11.11.0.144:5060</a>&#39;, &#39;callee_ua&#39;: &#39;unknown agent&#39;, &#39;caller_ua&#39;: &#39;CS2000_NGSS/9.0&#39;}<br>

<br>Cheers,<br>Magnus<br><br>2010/2/2 Saúl Ibarra Corretgé <span dir="ltr">&lt;<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,<br>
<br>
El 02/02/10 11:54, Magnus Burman escribió:<br>
<div><div></div><div class="h5">&gt; Hi guys,<br>
&gt;<br>
&gt; I&#39;ve got a problem with &quot;sporadic&quot; one-way audio, using latest stable<br>
&gt; Opensips 1.4 and Mediaproxy 2.<br>
&gt;<br>
&gt; The problem occurs at re-invites, thou not every time. When it does<br>
&gt; happen, the media port is changed towards the callee. Example:<br>
&gt;<br>
&gt; First invite:<br>
&gt; INVITE Trunk:40518 --&gt; Proxy:50358<br>
&gt; INVITE Proxy:58928 --&gt; UA:5206<br>
&gt;<br>
&gt; Re-invite:<br>
&gt; INVITE Trunk:40518 --&gt; Proxy:50358<br>
&gt; INVITE Proxy:40518 --&gt; UA:5206<br>
&gt;<br>
&gt; Notice how the Proxy port on the UA side (callee local) changed to the<br>
&gt; same port that Trunk uses (caller remote).<br>
&gt;<br>
&gt; One way audio now occurs and naturally the call is soon hung up.<br>
&gt; Mediaproxy now dumps some useful statistics showing:<br>
&gt;<br>
&gt; &#39;callee_remote&#39;: &#39;UA:5206&#39;<br>
&gt; &#39;caller_remote&#39;: &#39;TRUNK:40518&#39;<br>
&gt; &#39;callee_local&#39;: &#39;PROXY:58928&#39;<br>
&gt; &#39;caller_local&#39;: &#39;PROXY:50358&#39;<br>
&gt;<br>
&gt; Notice here how the callee_local is the original port used.<br>
&gt;<br>
&gt; Where should I start looking to be able to solve this problem? Is it<br>
&gt; most likely my config, something weird with the re-invite or have I<br>
&gt; stumbled upon a bug?<br>
&gt;<br>
&gt; Thankful for every and all suggestions, as I lay sleepless at night<br>
&gt; thinking about this! :-P<br>
&gt;<br>
<br>
</div></div>It would be nice to have a full SIP trace and the syslog output of<br>
MediaProxy to check if it&#39;s doing something wrong. Also, which function<br>
are you using for starting it?<br>
<br>
<br>
<br>
Regards,<br>
<font color="#888888"><br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<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>
</font></blockquote></div><br>