Have not seen any commands regarding turning the Android device speakers on using "adb shell", curious if there is a way?
#call phone
adb shell am start -a android.intent.action.CALL -d tel:X-XXX-XXXX
# ******* put speaker on here *******
sleep X
#end call
adb shell input keyevent KEYCODE_ENDCALL