How to be sure account registered after pjsua_acc_modify() called.

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

 



Hi,
I am writing application which user can change between TLS and UDP. After I change transport settings I call pjsua_acc_modify() to re-register account. But modify function return PJ_SUCCESS if event account is not registered. So I tried to call pjsua_acc_set_registration(accId, PJ_TRUE)  to renew and be sure about registration, but this time I got error PJSIP_EBUSY which most probably occur since registration triggered in modify function. What is the proper way to guarantee that account will be registered after modify fucntion call? Thanks.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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