[Freeswitch-users] Choppy voive in conference from fritzbox to freeswitch (ptime:30 msecs)

Anthony Minessale anthony.minessale at gmail.com
Thu Apr 29 08:01:06 PDT 2010


Does anyone ever report this issue to Fritzbox or is too hard
to conceive that they have the bug in this situation?


On Thu, Apr 29, 2010 at 9:53 AM, Mathieu Rene <mrene_lists at avgs.ca> wrote:

> auto-adjust will automatically switch the IP the RTP is being sent to based
> on the received packet's IP header. autofix timing mesures the received
> payload size and compares it with how much "<ptime> ms " is supposed to
> take. If there is a difference it thins the device is broken (a lot of UAs
> lie about their ptime in the SDP) and adjusts the codec's ptime in order to
> interop.
>
> To be the equivalent of your patch, it would have to be set to false.
>
> Out of curiosity, what codec is being used by fritzbox when the problem
> occurs?
>
> Mathieu Rene
> Avant-Garde Solutions Inc
> Office: + 1 (514) 664-1044 x100
> Cell: +1 (514) 664-1044 x200
> mrene at avgs.ca
>
>
>
>
> On 2010-04-29, at 10:18 AM, Peter P GMX wrote:
>
> > Thanks for the hint,
> >
> > should "rtp-autofix-timing" be set to true or false in that case?
> >
> > Also: What is the difference to "rtp auto adjust"?
> >
> > I would like to update the wiki on that, when this is clearified. The
> > Fritzbox is the most common ATA here in Europe.
> >
> > Best rgeards
> > Peter
> >
> > Mathieu Rene schrieb:
> >> If you look at the code a bit further, you'll notice an if
> (....sofia_test_pflag(tech_pvt->profile, PFLAG_AUTOFIX_TIMING))
> >>
> >> that flag is set depending on the value of the "rtp-autofix-timing"
> parameter in the sip profile, no need to patch anything :)
> >>
> >> Perhaps didn't you rescan the sofia profile after your config change?
> >>
> >>
> >> Mathieu Rene
> >> Avant-Garde Solutions Inc
> >> Office: + 1 (514) 664-1044 x100
> >> Cell: +1 (514) 664-1044 x200
> >> mrene at avgs.ca
> >>
> >>
> >>
> >>
> >> On 2010-04-29, at 9:44 AM, Peter P GMX wrote:
> >>
> >>
> >>> Hello Nicola,
> >>>
> >>> we had the same problem with the FritzBoxes. Someweher in the internet
> >>> we found an advice to patch Freeswitch. See my previous comment on this
> >>> patch here:
> >>>
> http://lists.freeswitch.org/pipermail/freeswitch-users/2009-August/045888.html
> >>>
> >>> Best regards
> >>> Peter
> >>>
> >>>
> >>> Anthony Minessale schrieb:
> >>>
> >>>> nothing it's default config on latest git HEAD
> >>>>
> >>>>
> >>>> On Wed, Apr 28, 2010 at 4:17 PM, Nicola von Thadden <nico at vthadden.de
> >>>> <mailto:nico at vthadden.de>> wrote:
> >>>>
> >>>>   Changing those values didn't help
> >>>>
> >>>>   I wonder why then it works with all other servers.
> >>>>   Also, if I call the 9888 (so 888 at conference.freeswitch.org
> >>>>   <mailto:888 at conference.freeswitch.org>) it works
> >>>>   without problems, i wonder what they have changed in the config O.o
> >>>>
> >>>>   On 28.04.2010 23:04, Anthony Minessale wrote:
> >>>>
> >>>>> Do you understand that the problem is with your device and not FS?
> >>>>> So why do you think something would have changed?
> >>>>>
> >>>>> here is what you can do to work around it:
> >>>>>
> >>>>> look for this param in you sip profile config:
> >>>>> <param name="inbound-codec-negotiation" value="generous"/>
> >>>>>
> >>>>> change it to the following:
> >>>>> <param name="inbound-codec-negotiation" value="scrooge"/>
> >>>>>
> >>>>> restart and retry
> >>>>>
> >>>>> if this is not enough also edit vars.xml
> >>>>>
> >>>>> look for
> >>>>> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/>
> >>>>>
> >>>>> replace it with:
> >>>>>
> >>>>> <X-PRE-PROCESS cmd="set"
> >>>>>
> >>>>   data="outbound_codec_prefs=PCMU at 30i,PCMA at 30i"/>
> >>>>
> >>>>> retry
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Apr 28, 2010 at 11:55 AM, Nicola von Thadden
> >>>>>
> >>>>   <nico at vthadden.de <mailto:nico at vthadden.de>
> >>>>
> >>>>> <mailto:nico at vthadden.de <mailto:nico at vthadden.de>>> wrote:
> >>>>>
> >>>>>   Hi,
> >>>>>
> >>>>>   is there anything new since august?
> >>>>>   I have the same problem with latest FritzBox firmenware and
> >>>>>
> >>>>   latest
> >>>>
> >>>>>   FreeSwitch installed (via Quick & Dirty install).
> >>>>>
> >>>>>   FritzBox always sends 30ms in one paket, FS starts with 20
> >>>>>
> >>>>   and then
> >>>>
> >>>>>   switches to 30 (maybe thats the problem?)
> >>>>>
> >>>>>   Calling the Demo IVR at 5000 is (with default options and
> >>>>>
> >>>>   latest FS) no
> >>>>
> >>>>>   problem, both uses 30ms ptime, have no idea why.
> >>>>>
> >>>>>   Calling the tetris-demo at 9998 is chopped up, FS using 20ms
> >>>>>
> >>>>   ptime,
> >>>>
> >>>>>   FBox 30.
> >>>>>
> >>>>>   Conferences are also choppy.
> >>>>>
> >>>>>   Adding <param name="rtp-autofix-timing" value="false" />
> >>>>>   to 1000.xml (account used at the FBox) does not help.
> >>>>>
> >>>>>   Anyone got an idea?
> >>>>>
> >>>>>   Nico
> >>>>>
> >>>>>   _______________________________________________
> >>>>>   FreeSWITCH-users mailing list
> >>>>>   FreeSWITCH-users at lists.freeswitch.org
> >>>>>
> >>>>   <mailto:FreeSWITCH-users at lists.freeswitch.org>
> >>>>
> >>>>>   <mailto:FreeSWITCH-users at lists.freeswitch.org
> >>>>>
> >>>>   <mailto: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
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Anthony Minessale II
> >>>>>
> >>>>> FreeSWITCH http://www.freeswitch.org/
> >>>>> ClueCon http://www.cluecon.com/
> >>>>> Twitter: http://twitter.com/FreeSWITCH_wire
> >>>>>
> >>>>> AIM: anthm
> >>>>> MSN:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com>
> >>>>>
> >>>>   <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> >>>>
> >>>>> <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >>>>>
> >>>>   <mailto:MSN%253Aanthony_minessale at hotmail.com<MSN%25253Aanthony_minessale at hotmail.com>
> >>
> >>>>
> >>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> >>>>>
> >>>>   <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> >>>>
> >>>>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >>>>>
> >>>>   <mailto:PAYPAL%253Aanthony.minessale at gmail.com<PAYPAL%25253Aanthony.minessale at gmail.com>
> >>
> >>>>
> >>>>> IRC: irc.freenode.net <http://irc.freenode.net>
> >>>>>
> >>>>   <http://irc.freenode.net> #freeswitch
> >>>>
> >>>>> FreeSWITCH Developer Conference
> >>>>> sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
> >>>>>
> >>>>   <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> >>>>
> >>>>> <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >>>>>
> >>>>   <mailto:sip%253A888 at conference.freeswitch.org<sip%25253A888 at conference.freeswitch.org>
> >>
> >>>>
> >>>>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >>>>>
> >>>>   <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> >>>>
> >>>>> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >>>>>
> >>>>   <mailto:googletalk%253Aconf%252B888 at conference.freeswitch.org<googletalk%25253Aconf%25252B888 at conference.freeswitch.org>
> >>
> >>>>
> >>>>> pstn:+19193869900
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> FreeSWITCH-users mailing list
> >>>>> FreeSWITCH-users at lists.freeswitch.org
> >>>>>
> >>>>   <mailto: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
> >>>>   <mailto: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
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Anthony Minessale II
> >>>>
> >>>> FreeSWITCH http://www.freeswitch.org/
> >>>> ClueCon http://www.cluecon.com/
> >>>> Twitter: http://twitter.com/FreeSWITCH_wire
> >>>>
> >>>> AIM: anthm
> >>>> MSN:anthony_minessale at hotmail.com<MSN%3Aanthony_minessale at hotmail.com>
> >>>> <mailto:MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> >>>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> >>>> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
> >>>>
> >>>> FreeSWITCH Developer Conference
> >>>> sip:888 at conference.freeswitch.org<sip%3A888 at conference.freeswitch.org>
> >>>> <mailto:sip%3A888 at conference.freeswitch.org<sip%253A888 at conference.freeswitch.org>
> >
> >>>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> >>>> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> >>>> pstn:+19193869900
> >>>>
> ------------------------------------------------------------------------
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>>
> >>
> >>
> >> _______________________________________________
> >> 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
>
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100429/907c8765/attachment-0001.html 


More information about the FreeSWITCH-users mailing list