*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>