Using Quectel voice over UAC #2
IchthysMaranatha
started this conversation in
Show and tell
Replies: 2 comments
-
Is it possible to migrate to entware for android? then we can turn a rooted Android phone itself into a gateway. In my case, /dev/at_mdm0 is for AT commands. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I hav one way sound only... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Quectel is slowly phasing out the audio serial port from its devices and moving on to voice through virtual USB sound card or UAC as can be seen here https://forums.quectel.com/t/eg25g-voice-over-usb/6113.
Praise be to God! Have been able to copy over code from chan_alsa.c and integrate it with chan_quectel. There is now no need for bridging an Asterisk ALSA channel for using UAC.
UAC has been tested on my EC25-E and steps to use it are as follows
Enable UAC on the module, this is a one time setup which will persist through reboot
Issue command
AT+QCFG="USBCFG"
If UAC is not enabled, for my EC25 I'll receive the response
+QCFG: "usbcfg",0x2C7C,0x0125,1,1,1,1,1,0,0
Note that there should be 7 digits, either 1 or 0 after product code. The last digit is the UAC parameter, if there are less than seven parameters, then UAC is not available for the device. Now copy back the whole string and change last digit to 1 and issue new command
AT+QCFG="USBCFG",0x2C7C,0x0125,1,1,1,1,1,0,1
Now UAC will be enabled and aplay -L (or sudo aplay -L) should show you a new device for sound like
hw:CARD=Android,DEV=0
Android, USB Audio
Use new quectel.conf file, uncomment and set quec_uac=1, also uncomment alsadevice line (or use quectel.conf from uac folder)
Beta Was this translation helpful? Give feedback.
All reactions