How to change the voice setting of a bluetooth adapter?

Thread Starter

Shafty

Joined Apr 25, 2023
327
to 0x0060

Why I need this?
I am building an asterisk server using chan_mobile module. It only allows Bluetooth adapter with the voice setting 0x0060. How to do that?

Not looking for any other alternative ways right now. May be after finding a conclusive answer to the above question. Thanks.
 

Thread Starter

Shafty

Joined Apr 25, 2023
327
/* check voice setting */
hci_read_voice_setting(adapter->hci_socket, &vs, 1000);
vs = htobs(vs);
if (vs != 0x0060) {
ast_log(LOG_ERROR, "Skipping adapter %s. Voice setting must be 0x0060 - see 'man hciconfig' for details.\n", adapter->id);
goto e_hci_close_dev;
}

inside chan_mobile...
 

morsine

Joined Sep 2, 2024
2
I had to create an account just to reply to you.
This happens because either you're doing this under a VM or your bluetooth adapter is not supported.
 

morsine

Joined Sep 2, 2024
2
so far I was unable to make chan_mobile work even with compatible bluetooth dongles under VMs, for me it has only worked in bare metal
 
Top