How can I set the maxptime value?

Setting the codec like this PCMA@8000h@40i?

Best regards

El lun, 19 sept 2022 a las 18:59, Sam via FreeSWITCH-users (<freeswitch-users@lists.freeswitch.org>) escribió:



---------- Forwarded message ----------
From: Sam <sam4u@rediffmail.com>
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@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@gmail.com>
Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] RTP ptime changed multiple times

iWe 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@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@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@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@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src= 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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com



---------- Forwarded message ----------
From: Sam via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org>
To: "freeswitch-users@lists.freeswitch.org" <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Mon, 19 Sep 2022 09:59:29 -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@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@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á