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.

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.

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.

-Steve


On 8 July 2014 21:30, Kees Jan Koster <kjkoster@kjkoster.org> wrote:
That simple, huh? Nice.

Kees Jan


On 8 Jul 2014, at 22:14, Michael Jerris <mike@jerris.com> wrote:

> just have the clients send whatever IP they want, the rtp auto adjust code should fix it.
>
> On Jul 8, 2014, at 3:48 PM, Kees Jan Koster <kjkoster@kjkoster.org> wrote:
>
>> I should mention: clients are mobile phones behind NAT (more often than not).
>>
>> Kees Jan
>>
>>
>> On 8 Jul 2014, at 21:27, Kees Jan Koster <kjkoster@kjkoster.org> wrote:
>>
>>> Dear All,
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 1) Is this possible?
>>>
>>> 2) What do I have to do to do this.
>>>
>>> --
>>> Kees Jan
>>>
>>> http://java-monitor.com/
>>> kjkoster@kjkoster.org
>>> +31651838192
>>>
>>> The secret of success lies in the stability of the goal. -- Benjamin Disraeli
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting@freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>> http://www.cudatel.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users@lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>> --
>> Kees Jan
>>
>> http://java-monitor.com/
>> kjkoster@kjkoster.org
>> +31651838192
>>
>> Change is good. Granted, it is good in retrospect, but change is good.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting@freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>> http://www.cudatel.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


--
Kees Jan

http://java-monitor.com/
kjkoster@kjkoster.org
+31651838192

Change is good. Granted, it is good in retrospect, but change is good.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org