[Freeswitch-users] Choppy voive in conference from fritzbox to freeswitch (ptime:30 msecs)
David Ponzone
david.ponzone at gmail.com
Thu Apr 29 07:31:44 PDT 2010
Peter,
I think Math's advice was to set rtp-autofix-timing to false, because
in some situations, the smartness in FS can cause issues.
rtp-auto-adjust has perhaps a misleading name.
It's sometimes called auto-NAT or NAT autolearn.
it's the ability for FreeSWITCH to adjust dynamically itself to the
received RTP stream on a port, instead of what it was expecting from
the SDP sent by the remote party.
it does that by learning the source IP/port of the 20 first packets.
David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis
à l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autorisée est interdite. Tout message électronique est
susceptible d'altération. IPeva décline toute responsabilité au
titre de ce message s'il a été altéré, déformé ou falsifié. Si
vous n'êtes pas destinataire de ce message, merci de le détruire
immédiatement et d'avertir l'expéditeur.
Le 29/04/2010 à 16:18, Peter P GMX a écrit :
> 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
>>>>>
>>>> <mailto:MSN%3Aanthony_minessale at hotmail.com>
>>>>
>>>>> <mailto:MSN%3Aanthony_minessale at hotmail.com
>>>>>
>>>> <mailto:MSN%253Aanthony_minessale at hotmail.com>>
>>>>
>>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>>>
>>>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
>>>>
>>>>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com
>>>>>
>>>> <mailto:PAYPAL%253Aanthony.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
>>>>>
>>>> <mailto:sip%3A888 at conference.freeswitch.org>
>>>>
>>>>> <mailto:sip%3A888 at conference.freeswitch.org
>>>>>
>>>> <mailto:sip%253A888 at conference.freeswitch.org>>
>>>>
>>>>> googletalk:conf+888 at conference.freeswitch.org
>>>>>
>>>> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
>>>>
>>>>> <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org
>>>>>
>>>> <mailto:googletalk%253Aconf%252B888 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
>>>> <mailto:MSN%3Aanthony_minessale at hotmail.com>
>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>> <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
>>>> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:888 at conference.freeswitch.org
>>>> <mailto:sip%3A888 at conference.freeswitch.org>
>>>> googletalk:conf+888 at conference.freeswitch.org
>>>> <mailto:googletalk%3Aconf%2B888 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100429/0c924eee/attachment-0001.html
More information about the FreeSWITCH-users
mailing list