How to merge Call programmatically while other call is running (Conference call) How to merge Call programmatically while other call is running (Conference call) android android

How to merge Call programmatically while other call is running (Conference call)


Your question seemed interesting so I started digging in Android Source. Here is what I found:

The activity in the picture you posted is called InCallUI

When you start looking around you will find InCallPresenter which at line 463 has:

final boolean canMerge = activeCall.can(Capabilities.MERGE_CALLS);

and then at 472:

CallCommandClient.getInstance().merge();

when you check that merge() method in CallCommandClient you will find it uses ICallCommandService interface which I think is what you where looking for :)

Initialization of that CallCommandClient is in CallHandlerService around line 193.

Hope this helps & good luck.

PS. The APIs I listed are mostly internal Android stuff. You may have to use reflection to call it or it might not be possible at all - it may be inaccesible for your app because it's not marked as system app.


Android API doesn't support call merging facility you can see this thread for this.https://groups.google.com/forum/?fromgroups#!searchin/android-developers/conference$20call/android-developers/6OXDEe0tCks/8cuKdW1J9b8Jbut what you can do is open phone's call pad screen using aidl from there user can add another call or merge the call.


You cannot manage a conference with a smart phone. You need an intermediate service that can do this for you. You can program a conference manager using CCXML.

Voxeo has a good hosted platform for CCXML implementations and you can look at their documentation on how to setup conferencing. There are examples in "Learning CCXML 1.0\Multi-Party Conferencing in CCXML 1.0".

You can develop and test for free on Voxeo and they only start charging you if you put it into production. Another option is Twillio.

Here is a link to how you program a conference call on their platform.

Check the links you will get useful information. #courtesy- SO