first commit

This commit is contained in:
2026-07-18 01:25:01 +03:30
parent dee06ba093
commit c18a1c2298
22 changed files with 981 additions and 0 deletions

31
asterisk/Dockerfile Normal file
View File

@@ -0,0 +1,31 @@
FROM andrius/asterisk:latest
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
gettext-base \
curl \
file \
sox \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --break-system-packages \
requests \
pyst2
RUN mkdir -p \
/tmp/voicebot \
/var/lib/asterisk/sounds/custom \
/etc/asterisk-templates
COPY templates/ /etc/asterisk-templates/
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 5060/udp
EXPOSE 5060/tcp
EXPOSE 10000-20000/udp
ENTRYPOINT ["/entrypoint.sh"]