[OpenSIPS-Devel] mediaproxy to drop inactive connections

Pavel Zalunin wr4bbit at gmail.com
Fri Jan 6 15:45:44 CET 2012


Hi again.

Did it using stt kamailio module.

Pavel.

2012/1/6 Pavel Zalunin <wr4bbit at gmail.com>

> Hi.
>
> It's a nice solution to send options request during dialog. How it can be
> achieved in OpenSer? Kamailio has many common things with it.
>
> Thanks.
>
>
> 2012/1/6 Saúl Ibarra Corretgé <saul at ag-projects.com>
>
>> Hi,
>>
>> On Jan 6, 2012, at 2:15 PM, Pavel Zalunin wrote:
>>
>> > Hi.
>> >
>> > I use kamailio with media proxy. Now I see next behaviour:
>> > Two clients (pjsua) A and B:
>> > A calls to B
>> > B answers
>> > [streaming here]
>> > A disconnects (ctrl+c)
>> > B continues to receive rtp packets from mediaproxy.
>> >
>> > Is there a way to ask kamailio (with mi_diagram module) to end dialog
>> (send bye to each participant) in this case?
>> >
>>
>> The lack of media on one leg doesn't mean the call needs to be dropped.
>> The lack of media could be due to a very aggressive VAD. You need to
>> implement a way to detect this in the signaling plane. I don't know about
>> Kamailio, but in OpenSIPS there is a way to send OPTIONS requests to both
>> call legs of a dialog, and if either doesn't reply a BYE will be sent.
>> That's the way to go.
>>
>>
>> Regards,
>>
>> --
>> Saúl Ibarra Corretgé
>> AG Projects
>>
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20120106/14c3e665/attachment.htm>


More information about the Devel mailing list