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

Kevin Harwell asteriskteam at digium.com
Thu Jan 13 16:38:39 CST 2022


Attention is currently required from: Joshua Colp.
Hello Joshua Colp, 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 (#4).

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_speech.c
A tests/test_aeap_transaction.c
A tests/test_aeap_transport.c
22 files changed, 4,612 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/17330/4
-- 
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: 4
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220113/3fefd00c/attachment-0001.html>


More information about the asterisk-code-review mailing list