Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] RTP ptime changed multiple times


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
josefu at gmail.com
Guest





PostPosted: Fri Sep 16, 2022 4:31 pm    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

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á
Back to top
brian at freeswitch.com
Guest





PostPosted: Fri Sep 16, 2022 5:01 pm    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

Tell the other side to fix their brokenness maybe?  How did you try setting the flag?

/b




On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu@gmail.com (josefu@gmail.com)> wrote:

Quote:
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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
josefu at gmail.com
Guest





PostPosted: Mon Sep 19, 2022 5:00 am    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

Quote:

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


 
Quote:

/b




On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu@gmail.com (josefu@gmail.com)> wrote:

Quote:
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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=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 (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 (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á
Back to top
brian at freeswitch.com
Guest





PostPosted: Mon Sep 19, 2022 11:31 am    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

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@gmail.com (josefu@gmail.com)> wrote:

Quote:
Quote:

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


 
Quote:

/b




On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu@gmail.com (josefu@gmail.com)> wrote:

Quote:
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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=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 (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 (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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
freeswitch-users at li...
Guest





PostPosted: Mon Sep 19, 2022 12:02 pm    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

------ Start of attached email. 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&#x2F;40 should not happen.

Kind regards

Sameee





From: Jose Fco. Irles Dur &lt;josefu@gmail.com&gt;
Sent: Mon, 19 Sep 2022 11:59:42 GMT+0200
To: FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt;
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?&nbsp; 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
&nbsp;/b

On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá &lt;josefu@gmail.com&gt; 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 DeveloperNeed Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045Email: brian@freeswitch.comMobile: 918-424-9378Website: https://www.FreeSWITCH.com

_________________________________________________________________________



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


------ End of attached email ------
_________________________________________________________________________

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
Back to top
brian at freeswitch.com
Guest





PostPosted: Mon Sep 19, 2022 12:34 pm    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

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@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)> wrote:

Quote:



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


iWe couldn't verify the sender of this email.
Quote:

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


 
Quote:

/b




On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu@gmail.com (josefu@gmail.com)> wrote:

Quote:
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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch%20BTQAKA==]













_________________________________________________________________________

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 (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 (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 (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 (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 (freeswitch-users@lists.freeswitch.org)>
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)" <freeswitch-users@lists.freeswitch.org (freeswitch-users@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@freeswitch.com (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch]
Back to top
josefu at gmail.com
Guest





PostPosted: Tue Sep 20, 2022 2:36 am    Post subject: [Freeswitch-users] RTP ptime changed multiple times Reply with quote

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 (freeswitch-users@lists.freeswitch.org)>) escribió:

Quote:



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


iWe couldn't verify the sender of this email.
Quote:

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


 
Quote:

/b




On Fri, Sep 16, 2022 at 4:28 PM Jose Fco. Irles Durá <josefu@gmail.com (josefu@gmail.com)> wrote:

Quote:
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 (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 (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 (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url] [url=https://twitter.com/freeswitch%20BTQAKA==]













_________________________________________________________________________

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 (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 (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 (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 (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 (freeswitch-users@lists.freeswitch.org)>
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)" <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 (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 (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á
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services