arm64 packer builds, support for nuance stt

This commit is contained in:
Dave Horton
2022-10-31 22:17:57 -04:00
parent b0192e9e4d
commit 900652401d
22 changed files with 1923 additions and 45 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ Conditions:
Mappings:
AWSRegion2AMI:
us-east-1:
Ami: ami-06939a9a3c2ebe275
Ami: ami-0cb7fff2c5966e90a
Resources:
VPC:
Type: 'AWS::EC2::VPC'
File diff suppressed because it is too large Load Diff
@@ -4,9 +4,9 @@ AWSTemplateFormatVersion: "2010-09-09"
Mappings:
AWSRegion2AMI:
us-east-1:
SbcSipAmi: ami-0696b32875406c841
SbcSipAmi: ami-0d5d64b630b94e10b
SbcRtpAmi: ami-00d07f1a65fac121e
FsAmi: ami-0e0a42fca8bf27fb5
FsAmi: ami-0dd1b09d6d1d87715
WebserverAmi: ami-00b79f2518729a7d2
MonitoringServerAmi: ami-093dc7cfc55972dcc
@@ -919,8 +919,15 @@ Resources:
DRACHTIO_HOST: '127.0.0.1',
DRACHTIO_PORT: 9022,
DRACHTIO_SECRET: 'cymru',
JAMBONES_MYSQL_HOST: '${JAMBONES_MYSQL_HOST}',
JAMBONES_MYSQL_USER: '${JAMBONES_MYSQL_USER}',
JAMBONES_MYSQL_PASSWORD: '${JAMBONES_MYSQL_PASSWORD}',
JAMBONES_MYSQL_DATABASE: 'jambones',
JAMBONES_MYSQL_CONNECTION_LIMIT: 10,
JAMBONES_REDIS_HOST: '${JAMBONES_REDIS_HOST}',
JAMBONES_REDIS_HOST: '${JAMBONES_REDIS_HOST}',
JAMBONES_REDIS_PORT: 6379,
JAMBONES_TIME_SERIES_HOST: '${JAMBONES_TIME_SERIES_HOST}',
ENABLE_METRICS: 1,
STATS_HOST: '127.0.0.1',
STATS_PORT: 8125,
@@ -259,12 +259,6 @@ endif
if HAVE_GRPC
GOOGLEAPIS_GENS_PATH = libs/googleapis/gens
GOOGLEAPIS_LOGGING_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/logging -name '*.pb.cc')
GOOGLEAPIS_API_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/api -name '*.pb.cc')
GOOGLEAPIS_RPC_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/rpc -name '*.pb.cc')
GOOGLEAPIS_SPEECH_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/cloud/speech -name '*.pb.cc')
GOOGLEAPIS_LONGRUNNING_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/longrunning -name '*.pb.cc')
GOOGLEAPIS_CCS = $(GOOGLEAPIS_API_CCS) $(GOOGLEAPIS_RPC_CCS) $(GOOGLEAPIS_LONGRUNNING_CCS) $(GOOGLEAPIS_SPEECH_CCS)
nodist_libfreeswitch_libgoogleapis_la_SOURCES = \
libs/googleapis/gens/google/api/monitoring.grpc.pb.cc \
@@ -305,7 +299,7 @@ libs/googleapis/gens/google/api/auth.pb.cc \
libs/googleapis/gens/google/api/resource.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/service_controller.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/distribution.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/quota_controller.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/metric_value.pb.cc \
@@ -404,12 +398,31 @@ libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session_entity_type.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session.grpc.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.grpc.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.pb.cc
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.pb.cc
libfreeswitch_libgoogleapis_la_CPPFLAGS = -I/usr/local/include -I$(GOOGLEAPIS_GENS_PATH) -std=c++17 -pthread
CORE_LIBS+=libfreeswitch_libgoogleapis.la
noinst_LTLIBRARIES += libfreeswitch_libgoogleapis.la
NUANCE_GENS_PATH = libs/nuance-asr-grpc-api/stubs/
nodist_libfreeswitch_libnuanceapis_la_SOURCES = \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/error_details.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status_code.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/error_details.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status_code.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/result.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/resource.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/recognizer.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/result.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/resource.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/recognizer.grpc.pb.cc
libfreeswitch_libnuanceapis_la_CPPFLAGS = -I/usr/local/include -I$(NUANCE_GENS_PATH) -std=c++17 -pthread
CORE_LIBS+=libfreeswitch_libgoogleapis.la libfreeswitch_libnuanceapis.la
noinst_LTLIBRARIES += libfreeswitch_libgoogleapis.la libfreeswitch_libnuanceapis.la
endif
lib_LTLIBRARIES = libfreeswitch.la
@@ -0,0 +1,41 @@
# Choose the output directory
OUTPUT ?= ./stubs
# Choose the target language.
LANGUAGE ?= cpp
# Choose grpc plugin
GRPCPLUGIN ?= /usr/local/bin/grpc_$(LANGUAGE)_plugin
# Choose the proto include directory.
PROTOINCLUDE ?= ./protos
# Choose protoc binary
PROTOC ?= protoc
# Compile the entire repository
#
# NOTE: if "protoc" command is not in the PATH, you need to modify this file.
#
ifeq ($(LANGUAGE),go)
$(error Go source files are not generated from this repository. See: https://github.com/google/go-genproto)
endif
FLAGS+= --proto_path=/usr/local/include:$(PROTOINCLUDE)
FLAGS+= --$(LANGUAGE)_out=$(OUTPUT) --grpc_out=$(OUTPUT)
FLAGS+= --plugin=protoc-gen-grpc=$(GRPCPLUGIN)
SUFFIX:= pb.cc
DEPS:= $(shell find $(PROTOINCLUDE) -type f -name '*.proto' | sed "s/proto$$/$(SUFFIX)/")
all: $(DEPS)
%.$(SUFFIX): %.proto
mkdir -p $(OUTPUT)
$(PROTOC) $(FLAGS) $*.proto
clean:
rm $(patsubst %,$(OUTPUT)/%,$(DEPS)) 2> /dev/null
rm -rd $(OUTPUT)
@@ -1894,6 +1894,7 @@ AC_CONFIG_FILES([Makefile
src/mod/applications/mod_azure_transcribe/Makefile
src/mod/applications/mod_google_tts/Makefile
src/mod/applications/mod_google_transcribe/Makefile
src/mod/applications/mod_nuance_transcribe/Makefile
src/mod/applications/mod_dialogflow/Makefile
src/mod/applications/mod_abstraction/Makefile
src/mod/applications/mod_avmd/Makefile
@@ -4,6 +4,7 @@ applications/mod_aws_transcribe
applications/mod_azure_transcribe
applications/mod_google_tts
applications/mod_google_transcribe
applications/mod_nuance_transcribe
applications/mod_dialogflow
#applications/mod_abstraction
#applications/mod_av
@@ -6,6 +6,7 @@
<load module="mod_azure_transcribe"/>
<load module="mod_google_transcribe"/>
<load module="mod_google_tts"/>
<load module="mod_nuance_transcribe"/>
<load module="mod_dialogflow"/>
<!-- Loggers (I'd load these first) -->
@@ -6,7 +6,7 @@ GRPC_VERSION=c66d2cc
GOOGLE_API_VERSION=e9da6f8b469c52b83f900e820be30762e9e05c57
AWS_SDK_VERSION=1.8.129
LWS_VERSION=v3.2.3
MODULES_VERSION=v0.5.18
MODULES_VERSION=v0.6.0
echo "freeswitch version to install is ${FREESWITCH_VERSION}"
echo "drachtio modules version to install is ${MODULES_VERSION}"
@@ -22,10 +22,15 @@ tar xvfz SpeechSDK-Linux-1.24.0.tar.gz
cd SpeechSDK-Linux-1.24.0
sudo cp -r include /usr/local/include/MicrosoftSpeechSDK
sudo cp -r lib/ /usr/local/lib/MicrosoftSpeechSDK
sudo ln -s /usr/local/lib/MicrosoftSpeechSDK/x64/libMicrosoft.CognitiveServices.Speech.core.so /usr/local/lib/libMicrosoft.CognitiveServices.Speech.core.so
cd
if [ "$ARCH" == "arm64" ]; then
echo installing Microsoft arm64 libs...
sudo cp /usr/local/lib/MicrosoftSpeechSDK/arm64/libMicrosoft.*.so /usr/local/lib/
fi
if [ "$ARCH" == "amd64" ]; then
echo installing Microsoft x64 libs...
sudo cp /usr/local/lib/MicrosoftSpeechSDK/x64/libMicrosoft.*.so /usr/local/lib/
fi
rm -Rf /tmp/SpeechSDK-Linux-1.24.0
rm -Rf /tmp/SpeechSDK-Linux-1.24.0.tar.gz
git config --global pull.rebase true
cd /usr/local/src
@@ -36,7 +41,7 @@ git clone https://github.com/grpc/grpc -b master
cd grpc && git checkout ${GRPC_VERSION} && cd ..
cd freeswitch/libs
git clone https://github.com/drachtio/nuance-asr-grpc-api.git -b main
git clone https://github.com/freeswitch/spandsp.git -b master
git clone https://github.com/freeswitch/sofia-sip.git -b master
git clone https://github.com/dpirch/libfvad.git
@@ -50,6 +55,7 @@ sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_aws_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_azure_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_azure_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_aws_lex /usr/local/src/freeswitch/src/mod/applications/mod_aws_lex
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_google_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_google_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_nuance_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_nuance_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_google_tts /usr/local/src/freeswitch/src/mod/applications/mod_google_tts
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_dialogflow /usr/local/src/freeswitch/src/mod/applications/mod_dialogflow
@@ -117,6 +123,11 @@ sed -i 's/\$fields/fields/' google/maps/routes/v1/route_service.proto
sed -i 's/\$fields/fields/' google/maps/routes/v1alpha/route_service.proto
LANGUAGE=cpp make -j 4
# build nuance protobufs
echo "building protobuf stubs for Nuance asr"
cd /usr/local/src/freeswitch/libs/nuance-asr-grpc-api
LANGUAGE=cpp make
# build freeswitch
echo "building freeswitch"
cd /usr/local/src/freeswitch
+2 -1
View File
@@ -5,7 +5,7 @@
"ami_description": "jambonz feature server",
"instance_type": "t3.xlarge",
"drachtio_version": "v0.8.18",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_telegraf": "yes",
@@ -101,6 +101,7 @@
{
"type": "shell",
"environment_vars": [
"ARCH={{user `ami_base_image_arch`}}",
"MEDIA_SERVER_NAME={{user `mediaserver_name`}}",
"PREFERRED_CODEC_LIST={{user `preferred_codec_list`}}"
],
+23 -10
View File
@@ -259,12 +259,6 @@ endif
if HAVE_GRPC
GOOGLEAPIS_GENS_PATH = libs/googleapis/gens
GOOGLEAPIS_LOGGING_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/logging -name '*.pb.cc')
GOOGLEAPIS_API_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/api -name '*.pb.cc')
GOOGLEAPIS_RPC_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/rpc -name '*.pb.cc')
GOOGLEAPIS_SPEECH_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/cloud/speech -name '*.pb.cc')
GOOGLEAPIS_LONGRUNNING_CCS = $(shell find $(GOOGLEAPIS_GENS_PATH)/google/longrunning -name '*.pb.cc')
GOOGLEAPIS_CCS = $(GOOGLEAPIS_API_CCS) $(GOOGLEAPIS_RPC_CCS) $(GOOGLEAPIS_LONGRUNNING_CCS) $(GOOGLEAPIS_SPEECH_CCS)
nodist_libfreeswitch_libgoogleapis_la_SOURCES = \
libs/googleapis/gens/google/api/monitoring.grpc.pb.cc \
@@ -305,7 +299,7 @@ libs/googleapis/gens/google/api/auth.pb.cc \
libs/googleapis/gens/google/api/resource.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/service_controller.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/check_error.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/distribution.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/quota_controller.grpc.pb.cc \
libs/googleapis/gens/google/api/servicecontrol/v1/metric_value.pb.cc \
@@ -404,12 +398,31 @@ libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session_entity_type.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session.grpc.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/session.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.grpc.pb.cc \
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.pb.cc
libs/googleapis/gens/google/cloud/dialogflow/v2beta1/webhook.pb.cc
libfreeswitch_libgoogleapis_la_CPPFLAGS = -I/usr/local/include -I$(GOOGLEAPIS_GENS_PATH) -std=c++17 -pthread
CORE_LIBS+=libfreeswitch_libgoogleapis.la
noinst_LTLIBRARIES += libfreeswitch_libgoogleapis.la
NUANCE_GENS_PATH = libs/nuance-asr-grpc-api/stubs/
nodist_libfreeswitch_libnuanceapis_la_SOURCES = \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/error_details.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status_code.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/error_details.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status_code.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/rpc/status.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/result.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/resource.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/recognizer.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/result.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/resource.grpc.pb.cc \
libs/nuance-asr-grpc-api/stubs/nuance/asr/v1/recognizer.grpc.pb.cc
libfreeswitch_libnuanceapis_la_CPPFLAGS = -I/usr/local/include -I$(NUANCE_GENS_PATH) -std=c++17 -pthread
CORE_LIBS+=libfreeswitch_libgoogleapis.la libfreeswitch_libnuanceapis.la
noinst_LTLIBRARIES += libfreeswitch_libgoogleapis.la libfreeswitch_libnuanceapis.la
endif
lib_LTLIBRARIES = libfreeswitch.la
+41
View File
@@ -0,0 +1,41 @@
# Choose the output directory
OUTPUT ?= ./stubs
# Choose the target language.
LANGUAGE ?= cpp
# Choose grpc plugin
GRPCPLUGIN ?= /usr/local/bin/grpc_$(LANGUAGE)_plugin
# Choose the proto include directory.
PROTOINCLUDE ?= ./protos
# Choose protoc binary
PROTOC ?= protoc
# Compile the entire repository
#
# NOTE: if "protoc" command is not in the PATH, you need to modify this file.
#
ifeq ($(LANGUAGE),go)
$(error Go source files are not generated from this repository. See: https://github.com/google/go-genproto)
endif
FLAGS+= --proto_path=/usr/local/include:$(PROTOINCLUDE)
FLAGS+= --$(LANGUAGE)_out=$(OUTPUT) --grpc_out=$(OUTPUT)
FLAGS+= --plugin=protoc-gen-grpc=$(GRPCPLUGIN)
SUFFIX:= pb.cc
DEPS:= $(shell find $(PROTOINCLUDE) -type f -name '*.proto' | sed "s/proto$$/$(SUFFIX)/")
all: $(DEPS)
%.$(SUFFIX): %.proto
mkdir -p $(OUTPUT)
$(PROTOC) $(FLAGS) $*.proto
clean:
rm $(patsubst %,$(OUTPUT)/%,$(DEPS)) 2> /dev/null
rm -rd $(OUTPUT)
+4 -3
View File
@@ -1894,6 +1894,7 @@ AC_CONFIG_FILES([Makefile
src/mod/applications/mod_azure_transcribe/Makefile
src/mod/applications/mod_google_tts/Makefile
src/mod/applications/mod_google_transcribe/Makefile
src/mod/applications/mod_nuance_transcribe/Makefile
src/mod/applications/mod_dialogflow/Makefile
src/mod/applications/mod_abstraction/Makefile
src/mod/applications/mod_avmd/Makefile
@@ -2080,9 +2081,9 @@ AC_CONFIG_FILES([Makefile
build/freeswitch.pc
build/standalone_module/freeswitch.pc
build/modmake.rules
libs/esl/Makefile
libs/esl/perl/Makefile
libs/esl/php/Makefile
libs/esl/Makefile
libs/esl/perl/Makefile
libs/esl/php/Makefile
libs/xmlrpc-c/include/xmlrpc-c/config.h
libs/xmlrpc-c/xmlrpc_config.h
libs/xmlrpc-c/config.mk
@@ -4,6 +4,7 @@ applications/mod_aws_transcribe
applications/mod_azure_transcribe
applications/mod_google_tts
applications/mod_google_transcribe
applications/mod_nuance_transcribe
applications/mod_dialogflow
#applications/mod_abstraction
#applications/mod_av
@@ -1,12 +1,12 @@
<configuration name="modules.conf" description="Modules">
<modules>
<load module="mod_avmd"/>
<load module="mod_audio_fork"/>
<load module="mod_aws_lex"/>
<load module="mod_aws_transcribe"/>
<load module="mod_azure_transcribe"/>
<load module="mod_google_transcribe"/>
<load module="mod_google_tts"/>
<load module="mod_nuance_transcribe"/>
<load module="mod_dialogflow"/>
<!-- Loggers (I'd load these first) -->
@@ -6,7 +6,7 @@ GRPC_VERSION=c66d2cc
GOOGLE_API_VERSION=e9da6f8b469c52b83f900e820be30762e9e05c57
AWS_SDK_VERSION=1.8.129
LWS_VERSION=v3.2.3
MODULES_VERSION=v0.5.18
MODULES_VERSION=v0.6.0
echo "freeswitch version to install is ${FREESWITCH_VERSION}"
echo "drachtio modules version to install is ${MODULES_VERSION}"
@@ -23,7 +23,6 @@ cd SpeechSDK-Linux-1.24.0
sudo cp -r include /usr/local/include/MicrosoftSpeechSDK
sudo cp -r lib/ /usr/local/lib/MicrosoftSpeechSDK
sudo ln -s /usr/local/lib/MicrosoftSpeechSDK/x64/libMicrosoft.CognitiveServices.Speech.core.so /usr/local/lib/libMicrosoft.CognitiveServices.Speech.core.so
cd
rm -Rf /tmp/SpeechSDK-Linux-1.24.0
rm -Rf /tmp/SpeechSDK-Linux-1.24.0.tar.gz
@@ -36,7 +35,7 @@ git clone https://github.com/grpc/grpc -b master
cd grpc && git checkout ${GRPC_VERSION} && cd ..
cd freeswitch/libs
git clone https://github.com/drachtio/nuance-asr-grpc-api.git -b main
git clone https://github.com/freeswitch/spandsp.git -b master
git clone https://github.com/freeswitch/sofia-sip.git -b master
git clone https://github.com/dpirch/libfvad.git
@@ -50,6 +49,7 @@ sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_aws_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_azure_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_azure_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_aws_lex /usr/local/src/freeswitch/src/mod/applications/mod_aws_lex
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_google_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_google_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_nuance_transcribe /usr/local/src/freeswitch/src/mod/applications/mod_nuance_transcribe
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_google_tts /usr/local/src/freeswitch/src/mod/applications/mod_google_tts
sudo cp -r /usr/local/src/drachtio-freeswitch-modules/modules/mod_dialogflow /usr/local/src/freeswitch/src/mod/applications/mod_dialogflow
@@ -117,6 +117,11 @@ sed -i 's/\$fields/fields/' google/maps/routes/v1/route_service.proto
sed -i 's/\$fields/fields/' google/maps/routes/v1alpha/route_service.proto
LANGUAGE=cpp make -j 4
# build nuance protobufs
echo "building protobuf stubs for Nuance asr"
cd /usr/local/src/freeswitch/libs/nuance-asr-grpc-api
LANGUAGE=cpp make
# build freeswitch
echo "building freeswitch"
cd /usr/local/src/freeswitch
+1 -1
View File
@@ -5,7 +5,7 @@
"ami_description": "jambonz all-in-one AMI",
"instance_type": "t2.xlarge",
"drachtio_version": "v0.8.18",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"jambonz_user": "admin",
"jambonz_password": "JambonzR0ck$",
"install_telegraf": "yes",
+2 -2
View File
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz monitoring server",
"instance_type": "t2.xlarge",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"homer_user": "homer_user",
"homer_password": "XcapJTqy11LnsYRtxXGPTYQkAnI",
"install_influxdb": "yes",
@@ -28,7 +28,7 @@
},
"instance_type": "{{user `instance_type`}}",
"ssh_username": "{{user `ssh_username`}}",
"ami_name": "jambonz-monitoring-server-{{user `jambonz_version`}}-{{isotime |clean_resource_name }}",
"ami_name": "jambonz-monitoring-server-{{user `jambonz_version`}}-amd64-{{isotime |clean_resource_name }}",
"ami_description": "{{user `ami_description`}}",
"launch_block_device_mappings": [
{
+1 -1
View File
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz SBC RTP server",
"drachtio_version": "v0.8.18",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"instance_type": "t3.xlarge",
+1 -1
View File
@@ -5,7 +5,7 @@
"ami_description": "jambonz SBC SIP",
"instance_type": "t3.xlarge",
"drachtio_version": "v0.8.18",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_datadog": "no",
@@ -5,12 +5,12 @@ cd /home/admin/apps
cp /tmp/ecosystem.config.js .
echo "building jambonz-api-server.."
cd /home/admin/apps/jambonz-api-server && npm ci --unsafe-perm
cd /home/admin/apps/jambonz-api-server && npm install
echo "building jambonz-webapp.."
cd /home/admin/apps/jambonz-webapp && npm ci --unsafe-perm && npm run build
cd /home/admin/apps/jambonz-webapp && npm install && npm run build
echo "building public-apps.."
mkdir -p /home/admin/apps/public-apps
cd /home/admin/apps/public-apps && npm ci --unsafe-perm
cd /home/admin/apps/public-apps && npm install
sudo npm install -g pino-pretty pm2 pm2-logrotate gulp grunt
+1 -1
View File
@@ -4,7 +4,7 @@
"ssh_username": "admin",
"ami_description": "jambonz webserver",
"instance_type": "t3.xlarge",
"jambonz_version": "v0.7.7-7",
"jambonz_version": "v0.7.7-9",
"ami_base_image_arch": "amd64",
"ami_base_image_owner": "136693071363",
"install_datadog": "no",