[pjsip] PJSIP continuously waiting for call

CalvIA IA calvia08 at gmail.com
Tue Oct 7 04:48:36 EDT 2008


Hi all,
Has anyone implement voip client for WM 6 using PJSIP not PJSUA?

According to the simpleua.c example,

    /* Loop until one call is completed */
    for (;!g_complete;) {
pj_time_val timeout = {0, 10};
pjsip_endpt_handle_events(g_endpt, &timeout);
    }

the loop and hangs my GUI.

I have tried using worker thread to hold the loop but it didn't work; the
Application closes upon loaded.

Anyone can help?

Regards,
Calvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081007/a7b0d9b3/attachment-0001.html>


More information about the pjsip mailing list