[Freeswitch-users] INVITE without client IP or port for RTP
Steven Ayre
steveayre at gmail.com
Wed Jul 9 00:59:15 MSD 2014
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 at kjkoster.org> wrote:
> That simple, huh? Nice.
>
> 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
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140708/30142fe6/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list