How to automatically make pjsua quite after call disconnected?

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

 



*in symbian_ua look at
static void on_call_state(pjsua_call_id call_id, pjsip_event *e)
and add this line
if (ci.state == PJSIP_INV_STATE_DISCONNECTED) {
     pjsua_destroy();
    // Close connection and socket server
    aConn.Close();
    aSocketServer.Close();

    CloseSTDLIB();
}


*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100530/86b01340/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