[OpenSIPS-Users] Mediaproxy: closing expired call when one party stops sending RTP

Dan Pascu dan at ag-projects.com
Tue Sep 21 21:51:59 CEST 2010


On 20 Sep 2010, at 17:30, John Khvatov wrote:

> Hello!
>
> Thank you all for your replies! I'll try SST module to solve the
> problem.
>
> On Mon, 20 Sep 2010, Dan Pascu wrote:
>
>>
>> On 16 Sep 2010, at 14:52, John Khvatov wrote:
>>
>>> Hello all.
>>>
>>> I have a problem with RTP timeouts on media relay.
>>>
>>> Media relay sends "expired" command only when _both_ parties stop
>>> sending RTP. When we have one-directional RTP flow, media relay does
>>> not
>>> throws timeout.
>>>
>>> Is it a known behaviour? Any suggestions on how to fix it?
>>
>> This is not a bug, it's a feature. Consider the case where one party
>> uses voice activation and doesn't say anything for a few minutes,  
>> just
>> listens to the other party.
>
> Indeed, but FreeSWITCH will disconnect the call in this case.

That may be Freeswitch's decision to do so, but it doesn't mean that  
every other device or software may do the same. Others will keep the  
call active and I see no reason to not support users that use voice  
activation.

>
> Hmm, actually that "doesn't say anything" is "doesn't send RTP"?

Exactly. That's what voice activation does.

--
Dan









More information about the Users mailing list