A2DP uses ACL packets, voice calls (speakerphone) uses SCO packets over the air. The sound "Call" goes through the SCO channel, so it is impossible to "technically" route calls to the A2DP receiver (unless you make some big hacks that do not meet the BT specification). Ideally, you should use HFP for audio calls.
HCI can transmit both ACL and SCO. BT chips often have a PCM interface to which you can route SCO data, but it is usually not available if you cannot access the chip PINs.
Also, try asking some exact questions (with log / code) so that we can really help you. If you ask a few general questions, it is difficult to answer them.
source share