[pjsip] Register events

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

 



logan wrote:
> Hello Benny,
> 
> Thanks for the response.
> 
> If I'm not mistaken then the registration is done by pjsua_acc_add ().

Yes, and also pjsua_acc_set_registration().

> And this returns a PJ_SUCCESS so how do I check for the error?

[un]Registration will complete asynchronously, and the result will 
be reported through on_reg_state() callback. In this callback, you 
can get the status of the [un]registration in the pjsua_acc_info.

cheers,
  -benny


> Thanks.
> 
> Best Regards,
> Hitesh





[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