Skip to content

Commit

Permalink
Merge pull request unispeech#1 from CPqD/feature/BMT-167
Browse files Browse the repository at this point in the history
Support to speak verif
  • Loading branch information
fzaruch authored Mar 7, 2022
2 parents 7d4a381 + bfcedcd commit b51f752
Show file tree
Hide file tree
Showing 46 changed files with 10,547 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docker/asterisk-deb"]
path = docker/asterisk-deb
url = [email protected]:fzaruch/asterisk.git
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Changes for Asterisk UniMRCP Modules Unreleased

2. Dialplan Applications (app_unimrcp.so)

Added MRCPVerif and MRCPRecogVerif (with Verify from buffer)

Changes for Asterisk UniMRCP Modules 1.8.0

1. Generic Speech Recognition API (res_speech_unimrcp.so)
Expand Down
4 changes: 4 additions & 0 deletions app-unimrcp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ app_unimrcp_la_SOURCES = audio_queue.c \
app_datastore.c \
app_mrcpsynth.c \
app_mrcprecog.c \
app_mrcpverif.c \
app_synthandrecog.c \
app_recogverif.c \
app_unimrcp.c
app_unimrcp_la_LDFLAGS = -avoid-version -no-undefined -module
app_unimrcp_la_LIBADD = $(UNIMRCP_LIBS)

XMLDOC_FILES = app_mrcpsynth.c \
app_mrcprecog.c \
app_mrcpverif.c \
app_recogverif.c \
app_synthandrecog.c \
app_datastore.c

Expand Down
1 change: 1 addition & 0 deletions app-unimrcp/app_datastore.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ app_session_t* app_datastore_session_add(app_datastore_t* app_datastore, const c
session->schannel_number = get_next_speech_channel_number();
session->lifetime = APP_SESSION_LIFETIME_DYNAMIC;
session->recog_channel = NULL;
session->verif_channel = NULL;
session->synth_channel = NULL;
session->readformat = NULL;
session->rawreadformat = NULL;
Expand Down
1 change: 1 addition & 0 deletions app-unimrcp/app_datastore.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ struct app_session_t {
apr_uint32_t schannel_number; /* speech channel number */
speech_channel_t *recog_channel; /* recognition channel */
speech_channel_t *synth_channel; /* synthesis channel, if any */
speech_channel_t *verif_channel; /* synthesis channel, if any */
ast_format_compat *readformat; /* old read format, to be restored */
ast_format_compat *rawreadformat; /* old raw read format, to be restored (>= Asterisk 13) */
ast_format_compat *writeformat; /* old write format, to be restored */
Expand Down
Loading

0 comments on commit b51f752

Please sign in to comment.