<div dir="ltr">It does have a small sideaffect. The client can&#39;t receive RTP until FS has received some from the client to know where to send to. That means you won&#39;t hear early media (eg ringing) because generally clients don&#39;t sent RTP until the call has been answered to save on bandwidth.<div>

<br></div><div>It sounds like you&#39;re writing the client so you&#39;ll have more control over it... you could try sending comfort noise packets as soon as you receive the 183/SDP and see if that triggers the auto-adjust.</div>

<div><br></div><div>There&#39;s a config parameter that&#39;ll disables the auto-adjust behaviour... it should be on by default, just check your configs aren&#39;t disabling it.</div><div><br></div><div>-Steve</div></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On 8 July 2014 21:30, Kees Jan Koster <span dir="ltr">&lt;<a href="mailto:kjkoster@kjkoster.org" target="_blank">kjkoster@kjkoster.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

That simple, huh? Nice.<br>
<span class="HOEnZb"><font color="#888888"><br>
Kees Jan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 8 Jul 2014, at 22:14, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:<br>
<br>
&gt; just have the clients send whatever IP they want, the rtp auto adjust code should fix it.<br>
&gt;<br>
&gt; On Jul 8, 2014, at 3:48 PM, Kees Jan Koster &lt;<a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I should mention: clients are mobile phones behind NAT (more often than not).<br>
&gt;&gt;<br>
&gt;&gt; Kees Jan<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 8 Jul 2014, at 21:27, Kees Jan Koster &lt;<a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Dear All,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We are currently investigating the possibility to forego STUN checks on the client and to avoid using RTP relays. By not using these we simplify the client call code, reduce the number of components to maintain and avoid the relay latency.<br>


&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ideally, the client does not send any transport information as part of the call setup. Instead, we&#39;d like call to be established without FreeSwitch knowing the IP address or media ports for the client. Once a call is answered, FreeSwitch tells the client what IP and port it should use for the media stream.<br>


&gt;&gt;&gt;<br>
&gt;&gt;&gt; The client sends the RTP stream to the specified IP address and UDP port on FreeSwitch. FreeSwitch uses the incoming stream to determine the IP address and UDP port of the client and sends its RTP stream there.<br>


&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1) Is this possible?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2) What do I have to do to do this.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Kees Jan<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br>
&gt;&gt;&gt; <a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a><br>
&gt;&gt;&gt; <a href="tel:%2B31651838192" value="+31651838192">+31651838192</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The secret of success lies in the stability of the goal. -- Benjamin Disraeli<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _________________________________________________________________________<br>
&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt;&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Kees Jan<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br>
&gt;&gt; <a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a><br>
&gt;&gt; <a href="tel:%2B31651838192" value="+31651838192">+31651838192</a><br>
&gt;&gt;<br>
&gt;&gt; Change is good. Granted, it is good in retrospect, but change is good.<br>
&gt;&gt;<br>
&gt;&gt; _________________________________________________________________________<br>
&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt;&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;&gt;<br>
&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
--<br>
Kees Jan<br>
<br>
<a href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br>
<a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a><br>
<a href="tel:%2B31651838192" value="+31651838192">+31651838192</a><br>
<br>
Change is good. Granted, it is good in retrospect, but change is good.<br>
<br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>