|
From: | Jehan Monnier |
Subject: | Re: [Linphone-developers] LinphoneRegistrationCleared no longer callback |
Date: | Fri, 18 Apr 2014 15:56:56 +0200 |
Hi, You are right, this behavior slightly changed. The point is that multiple parallel transactions are not supposed to be issued by a UA. So when the done is executed, what should we do with the previous registration transaction (I.E the unregister) ? The new behavior is if any, to "cancel" the previous transaction in the "done". To receive the LinphoneRegistrationCleared, you should wait for it before calling done. linphone_proxy_config_edit(proxyCfg); int i=0; while (!linphone_proxy_config_is_registered(proxyCfg) && i++<40 ) { linphone_core_iterate(theLinphoneCore); usleep(100000); } linphone_proxy_config_enable_register(proxyCfg, false); linphone_proxy_config_done(proxyCfg); Cheers Jehan Le 18 avr. 2014 à 15:19, mcyep <address@hidden> a écrit : Hi Linphone team,
|
[Prev in Thread] | Current Thread | [Next in Thread] |