<div class="gmail_quote">Hi,<br><br>I did a wireshark export, 2461 lines, so it'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) <-> <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> <-> <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> <-> 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) <-> <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> <-> <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> <-> 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) <-> <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> <-> <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> <-> <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) <-> <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> <-> <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> <-> <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) <-> <a href="http://22.22.224.9:50358">22.22.224.9:50358</a> <-> <a href="http://22.22.224.9:58928">22.22.224.9:58928</a> <-> <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: {'from_tag': 'e-13c4-10b392b-75e19db4-10b392b', 'dialog_id': '1305:480665684', 'start_time': 1263245287.1800001, 'timed_out': False, 'call_id': 'a27f94c890000e3e13c410b392b13d753bdb84e00e2147f91b8-0266-6714', 'to_tag': 'ICF_197662497-514', 'streams': [{'status': 'closed', 'caller_codec': 'G711a', 'post_dial_delay': 10.768354177499999, 'callee_codec': 'G711a', 'start_time': 0, 'caller_bytes': 15733000, 'callee_bytes': 15328600, 'caller_packets': 78665, 'end_time': 1573, 'callee_remote': '<a href="http://22.22.198.159:5206">22.22.198.159:5206</a>', 'caller_remote': '<a href="http://11.11.6.144:40518">11.11.6.144:40518</a>', 'media_type': 'audio', 'callee_local': '<a href="http://22.22.224.9:58928">22.22.224.9:58928</a>', 'timeout_wait': 0, 'caller_local': '<a href="http://22.22.224.9:50358">22.22.224.9:50358</a>', 'callee_packets': 76643}, {'status': 'rejected', 'caller_codec': 'Unknown', 'post_dial_delay': None, 'callee_codec': 'Unknown', 'start_time': 0, 'caller_bytes': 0, 'callee_bytes': 0, 'caller_packets': 0, 'end_time': 0, 'callee_remote': 'Unknown', 'caller_remote': 'Unknown', 'media_type': 'image', 'callee_local': '<a href="http://22.22.224.9:59676">22.22.224.9:59676</a>', 'timeout_wait': 0, 'caller_local': '<a href="http://22.22.224.9:58930">22.22.224.9:58930</a>', 'callee_packets': 0}], 'duration': 1573, 'to_uri': '<a href="http://984000000@22.22.224.9:5060">984000000@22.22.224.9:5060</a>', 'from_uri': '<a href="http://34963555555@11.11.0.144:5060">34963555555@11.11.0.144:5060</a>', 'callee_ua': 'unknown agent', 'caller_ua': 'CS2000_NGSS/9.0'}<br>
<br>Cheers,<br>Magnus<br><br>2010/2/2 Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</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;">
Hi,<br>
<br>
El 02/02/10 11:54, Magnus Burman escribió:<br>
<div><div></div><div class="h5">> Hi guys,<br>
><br>
> I've got a problem with "sporadic" one-way audio, using latest stable<br>
> Opensips 1.4 and Mediaproxy 2.<br>
><br>
> The problem occurs at re-invites, thou not every time. When it does<br>
> happen, the media port is changed towards the callee. Example:<br>
><br>
> First invite:<br>
> INVITE Trunk:40518 --> Proxy:50358<br>
> INVITE Proxy:58928 --> UA:5206<br>
><br>
> Re-invite:<br>
> INVITE Trunk:40518 --> Proxy:50358<br>
> INVITE Proxy:40518 --> UA:5206<br>
><br>
> Notice how the Proxy port on the UA side (callee local) changed to the<br>
> same port that Trunk uses (caller remote).<br>
><br>
> One way audio now occurs and naturally the call is soon hung up.<br>
> Mediaproxy now dumps some useful statistics showing:<br>
><br>
> 'callee_remote': 'UA:5206'<br>
> 'caller_remote': 'TRUNK:40518'<br>
> 'callee_local': 'PROXY:58928'<br>
> 'caller_local': 'PROXY:50358'<br>
><br>
> Notice here how the callee_local is the original port used.<br>
><br>
> Where should I start looking to be able to solve this problem? Is it<br>
> most likely my config, something weird with the re-invite or have I<br>
> stumbled upon a bug?<br>
><br>
> Thankful for every and all suggestions, as I lay sleepless at night<br>
> thinking about this! :-P<br>
><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'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>