[Freeswitch-users] Proxy Media and Codec Prefer

Sergey Okhapkin sos at sokhapkin.dyndns.org
Mon Aug 16 08:23:56 PDT 2010


I wonder why the last line in the log says 

skipping state [early][183]

for leg A? Code in sofia.c do not copy SDP in this case.

On Monday 16 August 2010, Sergey Okhapkin wrote:
> Yes, it's supposed to be passed directly (and it is passed directly on 200
> OK), but only 1st codec is passed to leg A on SIP 183!
> 
> On Monday 16 August 2010, Michael Jerris wrote:
> > In bypass media we pass the sdp through directly.  I am unsure what you
> > are trying to show me here and what it has to do with the problem you
> > describe.
> >
> > Mike
> >
> > On Aug 16, 2010, at 10:02 AM, Sergey Okhapkin wrote:
> > > http://pastebin.freeswitch.org/13643 , note lines 185 (SDP from B leg,
> > > 3 codecs) and 260 (SDP sent to A leg, only 1 codec). The call is
> > > running with bypass_media=true.
> > >
> > > On Monday 16 August 2010, Michael Jerris wrote:
> > >> This is a case of your nat settings simply not being right on the
> > >> FreeSWITCH side I suspect, study the acl settings and come up with an
> > >> example of a failure here with full sip trace and debug.
> > >>
> > >> Mike
> > >>
> > >> On Aug 16, 2010, at 4:39 AM, Fabio Pietrosanti (naif) wrote:
> > >>> I use proxy_media as a default because i use only mobile clients.
> > >>>
> > >>> In mobile networks there are good chance that FS NAT detection does
> > >>> not work.
> > >>>
> > >>> That's because several mobile carriers use as "internal ip address"
> > >>> IP that are not inside the standard 192.168/16 10/8 and 172.16/16
> > >>> networks.
> > >>>
> > >>> For example H3G in italy use 1/8 networks and in other countries
> > >>> there are other fancy approach that are unpredictable.
> > >>> In such condition proxy_media is the only solution to have a 100%
> > >>> working solution, otherwise in a X% of the case on some mobile
> > >>> operator it will just don't work.
> > >>>
> > >>> And following all the "particular" internal networks that mobile
> > >>> operators follow is not a good way to manage the issue as there are
> > >>> too many mobile operators in the world and too many different
> > >>> internal network conditions.
> > >>>
> > >>> It would be really nice to have some kind of "dynamic" approach, like
> > >>> the ones provided by ICE, that are client-independent and server-side
> > >>> based to handle such particular issues (IE: without the ability to
> > >>> rely on client IP address being inside a particular network).
> > >>>
> > >>> Fabio
> > >>>
> > >>> On 16/08/10 01.56, Michael Jerris wrote:
> > >>>> I don't think there is ever a reason to use proxy_media anymore.  If
> > >>>> anyone can provide an example of a good reason to use it I would be
> > >>>> interested to hear.
> > >>
> > >> _______________________________________________
> > >> 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-use
> > >>rs http://www.freeswitch.org
> > >
> > > _______________________________________________
> > > 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-user
> > >s http://www.freeswitch.org
> >
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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
> 




More information about the FreeSWITCH-users mailing list