Call Monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there Alicia,

You can issue a statement akin to this :

if (pjsua_call_get_count() > 0) {
    do something, there is a call active
}

http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__CALL.htm

With kind regards,
Cav Edwards



Alicia Romero wrote:
> Hi,
> is there a way in PJSUA to  monitor if a call is still active?
>
> In my aplication, if one of both sides of an active call has a crash 
> while the call is active, it does not finish the call, and it remains 
> active. I would like to have a monitor and when the stream of a call 
> does not receive any data, to automatically finish the call.
> Is there something in PJSUA for that?
>
> Thanks!
> ------------------------------------------------------------------------
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150518/28c085c4/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux