![]() I found some resources on the Internet trying to explain, for similar devices, that audio has to be sent in mono, in digital frequency of 8000 Hz, and digitalized to 16 bit. How can I save audio to file and send back audio from file? ![]() I know there are other similar posts trying to redirect microphone input and speakers output to the dongle, but my aim is to save the conversation to file (during a call, I tried to run cat /dev/ttyUSB1 > filename.raw, but the file can't be opened with standard software, hence, how can I convert it?) and, simultaneously, to send voice from file (which format? I tried to send back the filename.raw to /dev/ttyUSB1 with cat filename.raw > /dev/ttyUSB1, but the entire system gets freezed). In order to enable phone calls, I run the following commands: AT+CLIP=1, AT+CRC=1, AT+CNMI=1,2 on /dev/ttyUSB0.Īlso, if I run AT^CVOICE? I get ^CVOICE:0,8000,16,20.įinally, when I make/receive calls, I run AT^DDSETEX=2 on /dev/ttyUSB0 to enable audio forward to the /dev/ttyUSB1 port. I'm trying to use the device to make and receive calls.įor my purpose, it is needed (i) to save audio of the call to file and (ii) to send audio to the telephony call from an input file.Īs far as I understood (I can't find any official guide), the E173 dongle sets up three new devices (please correct me if I'm wrong): I've got a Huawei E173 USB dongle connected to a Raspberry PI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |