[OpenSIPS-Devel] mediaproxy to drop inactive connections
Saúl Ibarra Corretgé
saul at ag-projects.com
Fri Jan 6 14:52:13 CET 2012
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
More information about the Devel
mailing list