invalid acc_id after shutdown

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

 




Benny Prijono schrieb:
> On 1/9/08, *Klaus Darilion* <klaus.mailinglists at pernau.at 
> <mailto:klaus.mailinglists at pernau.at>> wrote:
> 
>     Hi!
> 
>     If I shutdown pjsua the on_reg_state callback is triggered with an
>     acc_id which is invalid (tested with pjsua_acc_is_valid()).
> 
>     Isn't it a bit weird to trigger the callback with an invalid acc_id?
>     Or is this the defined way to signal to the application that an account
>     was removed?
> 
> 
> No, this shouldn't happen, and I can't reproduce it here.  The only way 
> an account becomes invalid is when pjsua_acc_del() is called, or after 
> pjsua_destroy() returns. Do you have your own worker thread?


Oh -yes. I handle the event asynchronous in Qt. You already have 
mentioned it in another email and looks like I have forgotten about it.

thanks
Klaus

PS: Won't you write a Qt wrapper like you did for python? ;-)



[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