-
- Downloads
res_aeap & res_speech_aeap: Add Asterisk External Application Protocol
Add framework to connect to, and read and write protocol based messages from and to an external application using an Asterisk External Application Protocol (AEAP). This has been divided into several abstractions: 1. transport - base communication layer (currently websocket only) 2. message - AEAP description and data (currently JSON only) 3. transaction - links/binds requests and responses 4. aeap - transport, message, and transaction handler/manager This patch also adds an AEAP implementation for speech to text. Existing speech API callbacks for speech to text have been completed making it possible for Asterisk to connect to a configured external translator service and provide audio for STT. Results can also be received from the external translator, and made available as speech results in Asterisk. Unit tests have also been created that test the AEAP framework, and also the speech to text implementation. ASTERISK-29726 #close Change-Id: Iaa4b259f84aa63501e5fd2a6fb107f900b4d4ed2
parent
53a3af63
No related branches found
No related tags found
Showing
- configs/samples/aeap.conf.sample 14 additions, 8 deletionsconfigs/samples/aeap.conf.sample
- include/asterisk/res_aeap.h 370 additions, 0 deletionsinclude/asterisk/res_aeap.h
- include/asterisk/res_aeap_message.h 374 additions, 0 deletionsinclude/asterisk/res_aeap_message.h
- include/asterisk/speech.h 6 additions, 0 deletionsinclude/asterisk/speech.h
- res/Makefile 1 addition, 0 deletionsres/Makefile
- res/res_aeap.c 152 additions, 46 deletionsres/res_aeap.c
- res/res_aeap.exports.in 7 additions, 0 deletionsres/res_aeap.exports.in
- res/res_aeap/aeap.c 501 additions, 0 deletionsres/res_aeap/aeap.c
- res/res_aeap/general.c 58 additions, 0 deletionsres/res_aeap/general.c
- res/res_aeap/general.h 41 additions, 0 deletionsres/res_aeap/general.h
- res/res_aeap/logger.h 60 additions, 0 deletionsres/res_aeap/logger.h
- res/res_aeap/message.c 270 additions, 0 deletionsres/res_aeap/message.c
- res/res_aeap/message_json.c 191 additions, 0 deletionsres/res_aeap/message_json.c
- res/res_aeap/transaction.c 284 additions, 0 deletionsres/res_aeap/transaction.c
- res/res_aeap/transaction.h 123 additions, 0 deletionsres/res_aeap/transaction.h
- res/res_aeap/transport.c 156 additions, 0 deletionsres/res_aeap/transport.c
- res/res_aeap/transport.h 209 additions, 0 deletionsres/res_aeap/transport.h
- res/res_aeap/transport_websocket.c 249 additions, 0 deletionsres/res_aeap/transport_websocket.c
- res/res_aeap/transport_websocket.h 34 additions, 0 deletionsres/res_aeap/transport_websocket.h
- res/res_speech.c 33 additions, 3 deletionsres/res_speech.c
Loading
Please register or sign in to comment