<div dir="ltr">It does have a small sideaffect. The client can't receive RTP until FS has received some from the client to know where to send to. That means you won't hear early media (eg ringing) because generally clients don't sent RTP until the call has been answered to save on bandwidth.<div>
<br></div><div>It sounds like you're writing the client so you'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's a config parameter that'll disables the auto-adjust behaviour... it should be on by default, just check your configs aren'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"><<a href="mailto:kjkoster@kjkoster.org" target="_blank">kjkoster@kjkoster.org</a>></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 <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br>
<br>
> just have the clients send whatever IP they want, the rtp auto adjust code should fix it.<br>
><br>
> On Jul 8, 2014, at 3:48 PM, Kees Jan Koster <<a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a>> wrote:<br>
><br>
>> I should mention: clients are mobile phones behind NAT (more often than not).<br>
>><br>
>> Kees Jan<br>
>><br>
>><br>
>> On 8 Jul 2014, at 21:27, Kees Jan Koster <<a href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a>> wrote:<br>
>><br>
>>> Dear All,<br>
>>><br>
>>> 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>
>>><br>
>>> Ideally, the client does not send any transport information as part of the call setup. Instead, we'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>
>>><br>
>>> 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>
>>><br>
>>> 1) Is this possible?<br>
>>><br>
>>> 2) What do I have to do to do this.<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>
>>> The secret of success lies in the stability of the goal. -- Benjamin Disraeli<br>
>>><br>
>>><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>
>><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>
>> _________________________________________________________________________<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>
><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>
<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>