Alternative way to have FreeSWITCH php-esl working
Requires PHP devel
git checkout
phpize
./configure --enable-ESL
make
make install
put ESL.php in the path execution of your app
FROM php:alpine
RUN wget https://github.com/lazedo/freeswitch-php-esl/archive/esl7-1.6.19.tar.gz \
&& mkdir -p /tmp/esl \
&& tar -xf esl7-1.6.19.tar.gz -C /tmp/esl --strip-components=1 \
&& rm esl7-1.6.19.tar.gz \
&& docker-php-ext-configure /tmp/esl --enable-ESL \
&& docker-php-ext-install /tmp/esl \
&& apk --update add libstdc++ \
&& cp /tmp/esl/ESL.php `pear config-show | grep php_dir | tr -s ' ' | cut -d ' ' -f 4` \
&& rm -r /tmp/esl