<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is interesting. &nbsp;On one relay the ports are two apart from each other between the INVITE and 200 like I am used to seeing, but on the other relay the ports are all over the map. &nbsp;However, I've done some test calls, and verified they used the second relay, and the audio set up fine on all of them. &nbsp;I guess sometimes the media relay doesn't use consecutive ports. &nbsp;Probably going to restart that one relay later anyway though.<div><br></div><div>Here is the tshark command I was using to look at this in my capture files. &nbsp;Took me a while to get it right so it might save someone some time later.</div><div><br></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; ">tshark -T fields -e frame.time -e ip.src -e ip.dst -e sip.Method -e sip.Status-Code -e sip.Call-ID -e sdp.connection_info.address -e sdp.media.port -R "(sip.Method == INVITE or (sip.Status-Code == 200 and sip.CSeq.method == INVITE)) and sdp.connection_info.address == &lt;MEDIA_RELAY_IP&gt;" -r &lt;CAPTUREFILENAME&gt;</span></font></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; "><br></span></font></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; ">It will probably be tomorrow before I get that full trace to you.</span></font></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; "><br></span></font></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; ">Richard</span></font></div><div><font class="Apple-style-span" face="Times"><span class="Apple-style-span" style="font-family: Helvetica; "><br></span></font></div><div><font class="Apple-style-span" face="Times"><font class="Apple-style-span" face="Helvetica"><br></font></font></div><div><font class="Apple-style-span" face="Times"><font class="Apple-style-span" face="Helvetica"><br></font></font></div><div><font class="Apple-style-span" face="Times"><font class="Apple-style-span" face="Helvetica"><br></font></font><div><div>On Dec 2, 2010, at 1:42 PM, Richard Revels wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Yeah, I used the function call on both the message and response. &nbsp;This platform is production and does a lot of traffic each day. &nbsp;&nbsp;I know this doesn't happen a lot or I would have gotten complaints by now. &nbsp;I have no obvious error messages on either the dispatcher or relay so I don't have high hopes of troubleshooting this on this particular call. &nbsp;I was really just wanting to verify that the media relay is expected to pick two ports that are one away from each other.<br><br>One other thing is that the same thing happened on a reinvite in this same call. &nbsp;The ports were far from each other.<br><br>I do have a complete trace for the call. &nbsp;Let me obfuscate all the IP addresses and I'll mail it.<br><br>Richard<br><br>On Dec 2, 2010, at 1:16 PM, Saúl Ibarra Corretgé wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 12/02/2010 07:04 PM, Richard Revels wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Here is the m line from an INVITE/200 after the messages were modified<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">by use_media_proxy in each direction. The call happened to be mine and<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">although it did not stay up long enough for me to be 100% sure, I think<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the person on the other end of the line was someone other than the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">person who called me. The call dropped due to my fumbling with buttons<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and hitting goodbye by mistake.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have never seen this so far. Can you confirm this somehow?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I have only seen the port be offset by two when using the mediaproxy. Is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that not the expected behavior always?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">m=audio 52352 RTP/AVP 0 97 18 101.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">m=audio 58676 RTP/AVP 0 101.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Did you call use_media_proxy for *both* the caller and the callee? A SIP trace would help here.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Saúl Ibarra Corretgé<br></blockquote><blockquote type="cite">AG Projects<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></blockquote><br></div></blockquote></div><br></div></body></html>