Re: RTP address learning and timing problem

"Joshua C. Colp" <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CAM0A2Z0dW6=jtX0nYiuDJ6p0oAN6By-36imm27KZrRaReGrXVg@mail.gmail.com>
It's probably best if you read the logic[1]. There's an entire comment that
talks about how it works.

[1]
https://github.com/asterisk/asterisk/blob/20/res/res_rtp_asterisk.c#L8158

On Mon, Apr 17, 2023 at 7:10 PM David Cunningham <[email protected]>
wrote:

> Hi Joshua,
>
> Could you confirm if the 5 second period for learning a new audio stream
> is a minimum or a maximum? The unusual call flow in question results in
> Asterisk learning a new audio stream when we don't want it to, and having a
> minimum of say 2 seconds of audio would help avoid this.
>
> Thank you!
>
>
> On Thu, 2 Mar 2023 at 12:32, Joshua C. Colp <[email protected]> wrote:
>
>> On Tue, Feb 28, 2023 at 9:51 AM Joshua C. Colp <[email protected]> wrote:
>>
>>> On Tue, Feb 28, 2023 at 9:50 AM David Cunningham <
>>> [email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> Does anyone know if one of the "strictrtp" options disables RTP
>>>> learning? As far as I can tell from the documentation the values "no" and
>>>> "seqno" are more permissive in allowing other sources rather than less, but
>>>> I thought I'd check.
>>>>
>>>
>>> Setting it to "no" disables the learning.
>>>
>>
>> Since I haven't gotten the email yet I'll just reply to my own.
>>
>> The "no" option disables strict RTP protection. Learning is part of
>> strict RTP protection, it is what determines what the source of media is
>> and then blocks other packets. There is no ability to set it
>> per-peer/per-endpoint.
>>
>> --
>> Joshua C. Colp
>> Asterisk Project Lead
>> Sangoma Technologies
>> Check us out at www.sangoma.com and www.asterisk.org
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> David Cunningham, Voisonics Limited
> http://voisonics.com/
> USA: +1 213 221 1092
> New Zealand: +64 (0)28 2558 3782
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.