0
我正在创建一个使用Linphone来启用VoIP呼叫的Android应用程序。Linphone重新注册到使用Android的SIP服务器
当连接丢失,我试图重新连接到SIP服务器是这样的:
@Override
public void reregister()
{
handler.post(new Runnable()
{
@Override
public void run()
{
linphoneCore.getDefaultProxyConfig().edit();
linphoneCore.getDefaultProxyConfig().enableRegister(true);
linphoneCore.getDefaultProxyConfig().done();
}
});
}
的问题是使用很多次,当它的onRegisterFailed
,onRegisterSucceeded
甚至onRegisterProcessing
没有得到称为,即使互联网连接是好的。
我试图重新注册正确的方式吗?
你知道吗我现在这样做的方式确实是错误的? –
我认为这不是刷新你的注册表,所以我认为这是错误的。 –