[Freeswitch-users] RTP ptime changed multiple times

Brian West brian at freeswitch.com
Mon Sep 19 16:03:42 UTC 2022


In the future try setting the variables as a global too, as a step to
ensure you have it where you think it should be.

On Mon, Sep 19, 2022 at 4:57 AM Jose Fco. Irles Durá <josefu at gmail.com>
wrote:

>
>> Tell the other side to fix their brokenness maybe?  How did you try
>> setting the flag?
>>
>>
> Yes, I know that the problem is from the provider, but its response time
> is bad.
>
> I setted "rtp_media_autofix_timing=false" for testing, but when I setted,
> the first packets (40ms) are ignored and when the ptime is 20ms I listen to
> it. I think this is the correct behavior according to my understanding, so
> I can't solve the problem with the buggy provider.
>
> Best regards
>
>
>
>> /b
>>
>>
>> On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu at gmail.com>
>> wrote:
>>
>>> Hello, I have a problem with some calls where the rtp stream from the
>>> other side changes the rtp ptime multiple times.
>>>
>>> I make a call with the sdp line "a=ptime:20" but the initial rtp comes
>>> with 40ms ptime.
>>> FreeSWITCH detects it and changes the ptime to 40ms and all works ok.
>>> Later in the conversation, without any re-invite, the rtp stream changed
>>> to 20ms. At this moment, FreeSWITCH does not detect the change and the
>>> audio sended by FreeSWITCH to the other legs is choppy.
>>>
>>> I think that the problem is on the other side, but the other side is a
>>> big operator and always this is a problem to solve issues.
>>>
>>> I tried to set "rtp_media_autofix_timing", but if I set this property,
>>> the first part of the conversation is discarded (ptime at 40ms, silence in
>>> my phone) and later I can listen the audio (when the ptime=20ms).
>>>
>>> Is there any solution for this?
>>>
>>> Best regards
>>>
>>> --
>>> Jose Fco. Irles Durá
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>>
>>
>> --
>>
>> Brian West | Co-founder and Developer
>>
>> Need Commercial support? email sales at freeswitch.com
>>
>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
>> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>>
>> Email: brian at freeswitch.com
>>
>> Mobile: 918-424-9378
>>
>> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>>
>> [image: https://www.facebook.com/signalwireinc?src=email]
>> <https://www.facebook.com/freeswitch> [image:
>> https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
>
>
> --
> Jose Fco. Irles Durá
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220919/1d2a7d61/attachment.html>


More information about the FreeSWITCH-users mailing list