BelledonneCommunications / linphone-android

Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
https://linphone.org
GNU General Public License v3.0
1.1k stars 671 forks source link

Fix Android can't not send REGISTER #1627

Closed hieujames closed 2 years ago

hieujames commented 2 years ago

Hello, I upgrade my app from previous library 4.4 to 5.2+ but I am having trouble getting connection signal Specifically, I created String server = Common.current server = "sipproxy-01.pbx.vn:5566" User.getProxy() + ":" + Common.currentUser.getPort(); ProxyConfig proxyConfig = getAccountCreator().createProxyConfig(); if (proxyConfig != null) { proxyConfig.setServerAddr(server); }

but after the unreachable signal waits for the result for a while I don't see the connected... Please help me, I use Transport tls and JAVA programming language

Viish commented 2 years ago

Please follow https://gitlab.linphone.org/BC/public/tutorials/-/tree/master/android/kotlin/1-AccountLogin tutorial to learn how to properly create & configure your SIP account.