[Freeswitch-users] RTP delay with cng

Brian West brian at freeswitch.org
Fri Feb 13 05:41:12 MSK 2015


I would rather have something like that in JIRA either way it goes.
Otherwise we lose track of it and never actually fix it if it turns out to
be a real bug.

On Thu, Feb 12, 2015 at 10:23 AM, Jose Fco. Irles Durá <josefu at gmail.com>
wrote:

> So you consider that it is a bug and it is not a bad configuration, isn't
> it?
>
> Thanks
>
> 2015-02-12 16:43 GMT+01:00 Brian West <brian at freeswitch.org>:
>
>> Bug reports belong in JIRA.
>>
>> On Thu, Feb 12, 2015 at 4:50 AM, Jose Fco. Irles Durá <josefu at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I have a FreeSWITCH 1.4.15 (from debian repositories), but I've been
>>> having a problem for a long time (with older versions too) and I don't
>>> know if it is a configuration problem or a bug.
>>> The FreeSWITCH runs on an openvz machine and this server is not
>>> overloaded.
>>> Before testing with trunk branch I want to share my problem looking
>>> for help to solve it (it's in production)
>>>
>>> I have an issue with some providers that send to my FreeSWITCH CN
>>> packets. When this happens, the other call leg has a terrible delay
>>> and bad quality sound.It starts with a little delay, but during the
>>> call the delay increases more and more.
>>>
>>> Capturing with wireshark and decoding rtp stream I can see 31% of
>>> packets dropped by Jitter Buff in the leg in wich the delay occurs
>>> (from FreeSWITCH IP to the other endpoint)
>>>
>>> I don't have any problem when the provider doesn't send CN packets.
>>>
>>> If I configure FreeSWITCH not to negotiate "comfort noise"  (profile:
>>> supress-cng=true), the provider sends cn packets too.
>>>
>>> I tried with no luck variables such as:
>>>
>>> - send_silence_when_idle (with values "400" and "true")
>>> - bridge_generate_comfort_noise=true
>>>
>>>
>>>
>>> The rtp related params of my sofia profile are:
>>>
>>> rtp-timer-name=soft
>>> inbound-zrtp-passthru=false (don't use zrtp)
>>> rtp-timeout-sec=300
>>> rtp-hold-timeout-sec=1800
>>> inbound-late-negotiation=true
>>> NDLB-allow-bad-iananame=true
>>> supress-cng=true
>>> vad=none
>>> t38-passthru=true
>>> inbound-codec-prefs=PCMA,PCMU,G722,GSM
>>> outbound-codec-prefs=PCMA,PCMU,G722,GSM
>>>
>>> In the dialplan the only variables that I set related with rtp are:
>>>
>>> set inherit_codec=true
>>> export absolute_codec_string=${ep_codec_string}
>>>
>>> Thanks in advance
>>> --
>>> Jose Fco. Irles Durá
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.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
>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
>
> --
> Jose Fco. Irles Durá
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150212/028dafe0/attachment.html 


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