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

Can I call multiple accounts at the same time? #872

Closed fanfan1009 closed 4 years ago

fanfan1009 commented 4 years ago

That is, one account calls multiple accounts at the same time. When one account answers, other calls automatically hang up.

Viish commented 4 years ago

This is what is done if all the accounts you call have the same SIP account (username/domain) If you want to call different SIP addresses you have to do the logic manually.

fanfan1009 commented 4 years ago

Thanks for your reply, Usually only one account is called like this: LinphoneManager.getCallManager().newOutgoingCall("sip:12121@192.168.1.126:5060", ""); But I want to call multiple accounts at the same time. What should I do?

Viish commented 4 years ago

You can call newOutgoingCall multiple times

fanfan1009 commented 4 years ago

But I only call the first one. LinphoneManager.getCallManager().newOutgoingCall("sip:67063145524414@sipproxy.ucpaas.com:25060", ""); LinphoneManager.getCallManager().newOutgoingCall("sip:12121@192.168.1.126:5060", "");