[Freeswitch-users] RTP ptime changed multiple times

Brian West brian at freeswitch.com
Mon Sep 19 17:02:07 UTC 2022


You're assuming that the other size is also following the rules, that is
rarely the case.  But not any harm in trying.

On Mon, Sep 19, 2022 at 12:00 PM Sam via FreeSWITCH-users <
freeswitch-users at lists.freeswitch.org> wrote:

>
>
>
> ---------- Forwarded message ----------
> From: Sam <sam4u at rediffmail.com>
> To: "freeswitch-users at lists.freeswitch.org" <
> freeswitch-users at lists.freeswitch.org>
> Cc:
> Bcc:
> Date: 19 Sep 2022 10:32:57 -0000
> Subject: Re: [Freeswitch-users] RTP ptime changed multiple times
> Hello Jose
>
> Sorry to interrupt the thread, but just wondering if you think adding a
> maxptime attribute in the SDP may be a work around for you?
> If you set this to 20, the switch between 20/40 should not happen.
>
> Kind regards
>
> Sameee
>
>
>
>
>
> From: Jose Fco. Irles Dur <josefu at gmail.com>
> Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Subject: Re: [Freeswitch-users] RTP ptime changed multiple times
>
> *i*We couldn't verify the sender of this email.
>
>>
>> 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
>>> <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 <https://signalwire.community==>
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com <https://freeswitch.com==>
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss <https://freeswitch.com/oss==>
>>> https://freeswitch.org/confluence <https://freeswitch.org/confluence==>
>>> https://cluecon.com <https://cluecon.com==>
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users==>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> <http://lists.freeswitch.org/mailman/options/freeswitch-users==>
>>> https://freeswitch.com <https://freeswitch.com/BTRSeg==>
>>
>>
>>
>> --
>>
>> 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=]
>> <https://www.facebook.com/freeswitch==> [image:
>> https://twitter.com/freeswitch]
>> <https://twitter.com/freeswitch%20BTQAKA==>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> <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 <https://signalwire.community==>
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com <https://freeswitch.com==>
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss <https://freeswitch.com/oss%20X25Wfg==>
>> https://freeswitch.org/confluence <https://freeswitch.org/confluence==>
>> https://cluecon.com <https://cluecon.com==>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users==>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> <http://lists.freeswitch.org/mailman/options/freeswitch-users==>
>> https://freeswitch.com <https://freeswitch.com/AzIAKA==>
>
>
>
> --
> Jose Fco. Irles Durá
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> <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 <https://signalwire.community==>
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com <https://freeswitch.com==>
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss==>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence==>
> https://cluecon.com <https://cluecon.com==>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users%20UGEHLw==>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> <http://lists.freeswitch.org/mailman/options/freeswitch-users+BTRddQ==>
> https://freeswitch.com <https://freeswitch.com==>
>
>
>
> ---------- Forwarded message ----------
> From: Sam via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org>
> To: "freeswitch-users at lists.freeswitch.org" <
> freeswitch-users at lists.freeswitch.org>
> Cc:
> Bcc:
> Date: Mon, 19 Sep 2022 10:00:56 -0700 (PDT)
> Subject: Re: [Freeswitch-users] RTP ptime changed multiple times
> _________________________________________________________________________
>
> 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/260ca30e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list