[Freeswitch-users] INVITE without client IP or port for RTP

Michael Jerris mike at jerris.com
Wed Jul 9 23:36:18 MSD 2014


Basically, we will start sending the media to the ip/port specified, if we get media from a different port (this is locked down to the first handful of packets received) we will switch to sending to the alternate port.  This does mean that the client will have to start sending rtp earlier than normal for you to get ringback if you are knowingly sending the wrong info.

On Jul 9, 2014, at 3:17 PM, Kees Jan Koster <kjkoster at kjkoster.org> wrote:

> Dear Michael,
> 
> Does that also count for the source port of the client? Or does the client port have to be correct?
> 
> Kees Jan
> 
> On 8 Jul 2014, at 22:14, Michael Jerris <mike at 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 at 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 at 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 at kjkoster.org
>>>> +31651838192
>>>> 
>>>> The secret of success lies in the stability of the goal. -- Benjamin Disraeli
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at 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 at kjkoster.org
>>> +31651838192
>>> 
>>> Change is good. Granted, it is good in retrospect, but change is good.
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at kjkoster.org
> +31651838192
> 
> Human beings make life so interesting. Do you know that in a universe so full of wonders,
> they have managed to invent boredom. Quite astonishing... -- Terry Pratchett
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list