[Asterisk-code-review] res_aeap & res_speech_aeap: Add Asterisk External Application Protocol (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Mon Nov 8 13:58:30 CST 2021


Attention is currently required from: Kevin Harwell.
Hello George Joseph, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/17330

to look at the new patch set (#2).

Change subject: res_aeap & res_speech_aeap: Add Asterisk External Application Protocol
......................................................................

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
---
A include/asterisk/res_aeap.h
A include/asterisk/res_aeap_message.h
M res/Makefile
M res/res_aeap.c
A res/res_aeap.exports.in
A res/res_aeap/aeap.c
A res/res_aeap/general.c
A res/res_aeap/general.h
A res/res_aeap/logger.h
A res/res_aeap/message.c
A res/res_aeap/message_json.c
A res/res_aeap/transaction.c
A res/res_aeap/transaction.h
A res/res_aeap/transport.c
A res/res_aeap/transport.h
A res/res_aeap/transport_websocket.c
A res/res_aeap/transport_websocket.h
A res/res_speech_aeap.c
A tests/test_aeap.c
A tests/test_aeap_transaction.c
A tests/test_aeap_transport.c
21 files changed, 4,397 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/17330/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17330
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Iaa4b259f84aa63501e5fd2a6fb107f900b4d4ed2
Gerrit-Change-Number: 17330
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Attention: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211108/3b9b0227/attachment.html>


More information about the asterisk-code-review mailing list