Assertion : Can't call PJSIP function with an external thread.

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

 



Hi,

Just register the thread (from its context) to pjlib, please see
pj_thread_register() doc. If you searched the mailist archive, you
should find bunch of similar topic :)

Regards,
nanang


2009/3/20 cedric leveque <levequecedric at hotmail.com>:
> Hi,
>
> I'm trying to integrate an C application in a PJSIP application.
>
> This external application use some thread, and I'm trying to call a function
> Makecall to send an invite from this external thread.
> But my function Makecall calls some PJSIP function like
> pjsip_endpt_create_request.
>
> But I have an assertion that say pjlib detected that an external thread
> trying to call a PJSIP function.
>
>
> How can I do to not have this assertion ?
>
>
> I can't modify the external thread to a PJ_Thread because these thread use a
> functionnality that PJSIP haven't implement :
> Block thread to wait free of ressource.
>
> Thanks,
>
> Regards,
> C?dric.
>
> ________________________________
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live??
> Lancez-vous !
> _______________________________________________
> 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
>
>



[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