PJSIP continuously waiting for call

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

 



On Tue, Oct 7, 2008 at 9:48 AM, CalvIA IA <calvia08 at gmail.com> wrote:

> 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.
>
>
If you execute that in the main thread, then of course!


> I have tried using worker thread to hold the loop but it didn't work; the
> Application closes upon loaded.
>
> Anyone can help?
>
>
Perhaps now is the time to use that Debug button of Visual Studio? ;-)

Cheers
 Benny



> Regards,
> Calvin
>
> _______________________________________________
> 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/20081007/09d6e552/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