[asterisk-dev] rtptimeout
Kelvin Chua
kelchy at gmail.com
Wed Jan 28 04:46:31 CST 2015
It is also noteworthy that rtptimeout looks at both call legs instead
of just one.
for example:
I established a call between a desktop softphone and droid softphone,
while on call, i turn-on airplane mode for droid.
asterisk will stop receiving rtp from droid but will still receive rtp
from desktop.
i observed that dialog->lastrtprx still increments. I assumed this is
because it is still receiving packets from the desktop leg right?
it will never timeout because of this:
if (dialog->lastrtprx && (timeout || hold_timeout) && (t >
dialog->lastrtprx + timeout))
i believe rtptimeout was not designed to work this way correct?
Kelvin Chua
On Wed, Jan 28, 2015 at 4:41 PM, Kelvin Chua <kelchy at gmail.com> wrote:
> Hi Matthew,
>
> you are right, digging around testing and found out this broke rtptimeout
>
> Set(JITTERBUFFER(adaptive)=150,,30)
>
> for reasons I haven't found out yet
> Kelvin Chua
>
>
> On Tue, Jan 27, 2015 at 11:34 PM, Matthew Jordan <mjordan at digium.com> wrote:
>>
>>
>> On Mon, Jan 26, 2015 at 8:22 PM, Kelvin Chua <kelchy at gmail.com> wrote:
>>>
>>> Hi guys,
>>>
>>> I noticed rtptimeout on asterisk 12 is not working, so i looked at the
>>> source.
>>> looks like, it has no effect on res_rtp_asterisk?
>>>
>>
>> It never has.
>>
>> rtptimeout is a little odd in that the value is stored in the RTP instance,
>> but must be interpreted by the channel drivers. As an example, see
>> check_rtp_timeout in chan_sip.
>>
>> --
>> Matthew Jordan
>> Digium, Inc. | Engineering Manager
>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
>> Check us out at: http://digium.com & http://asterisk.org
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list