In the registration callback, how to tell if registering or unregistering?

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

 



@Dominique,

What is your pjsip softphone ? It depends on that sofphone 's behavior
AFAIK, on_reg_state is only for register, not for unregister


On Fri, May 10, 2013 at 4:43 AM, <saltyfoam at gmail.com> wrote:

> Hi,
>
> If the registration callback (pjsua_config.cb.on_reg_state2) is called
> with a failure, how to tell if the failure was for an unregister attempt or
> a register attempt? When I make a change to an account it?s going to
> trigger an unregister followed by a reregister but I don?t see how I can
> tell what stage the failure is for.
>
> Dominique
>
> _______________________________________________
> 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
>
>


-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130510/c60abc8c/attachment-0001.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