Bluethooth call not working in ios

SV
Shraddha Vaishnani
Thu, Apr 4, 2019 4:30 AM

Hello,
I am Implementing PJSip (2.7) on Xcode.i am getting an error when making a
call using Bluetooth.
give 42008 error.

For enabling Bluetooth we have used flowing code:-

pjmedia_aud_dev_route route =
PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH;pj_status_t status =
pjsua_snd_set_setting(PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route,
PJ_TRUE);NSLog(@"status is--->%d",status);

in status always get 42008.

so anyone have a solution for that then please help me.

Hello, I am Implementing PJSip (2.7) on Xcode.i am getting an error when making a call using Bluetooth. give 42008 error. For enabling Bluetooth we have used flowing code:- pjmedia_aud_dev_route route = PJMEDIA_AUD_DEV_ROUTE_BLUETOOTH;pj_status_t status = pjsua_snd_set_setting(PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route, PJ_TRUE);NSLog(@"status is--->%d",status); in status always get 42008. so anyone have a solution for that then please help me.