diff --git a/Makefile.am b/Makefile.am
index ef5747e124..7a6f3b7bd6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -286,6 +286,7 @@ library_include_HEADERS = \
src/include/switch_utils.h \
src/include/switch_rtp.h \
src/include/switch_jitterbuffer.h \
+ src/include/switch_estimators.h \
src/include/switch_rtcp_frame.h \
src/include/switch_stun.h \
src/include/switch_nat.h \
@@ -351,6 +352,7 @@ libfreeswitch_la_SOURCES = \
src/switch_regex.c \
src/switch_rtp.c \
src/switch_jitterbuffer.c \
+ src/switch_estimators.c \
src/switch_ivr_bridge.c \
src/switch_ivr_originate.c \
src/switch_ivr_async.c \
diff --git a/conf/vanilla/autoload_configs/avmd.conf.xml b/conf/vanilla/autoload_configs/avmd.conf.xml
new file mode 100644
index 0000000000..2366195621
--- /dev/null
+++ b/conf/vanilla/autoload_configs/avmd.conf.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/configure.ac b/configure.ac
index 6573ed49b0..47d72d96a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -814,6 +814,12 @@ esac
APR_REMOVEFROM(SWITCH_AM_CXXFLAGS, -std=c99)
+# check for usable system MD5 library
+AS_CASE([$host],
+ [*-solaris2*], [AC_CHECK_LIB(md5, MD5Init)],
+ [*-freebsd*], [AC_CHECK_LIB(md, MD5Init)],
+ [*-openbsd*|*-netbsd*], [AC_CHECK_FUNCS([MD5Init])])
+
AC_CHECK_LIB(z, inflateReset, have_libz=yes, AC_MSG_ERROR([no usable zlib; please install zlib devel package or equivalent]))
if test "x$have_libz" = "xyes" ; then
APR_ADDTO([PLATFORM_CORE_LIBS], [-lz])
diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index f9835c4546..dadbaf82ae 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -18,7 +18,7 @@ shift $(($OPTIND-1))
if [ x${use_sysvinit} = x ]; then
case "$codename" in
- wheezy|trusty|utopic) use_sysvinit="true";;
+ wheezy|trusty|utopic|xenial) use_sysvinit="true";;
*) use_sysvinit="false";;
esac
fi
@@ -29,7 +29,7 @@ lang_dir="../conf/vanilla/lang"
fs_description="FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media."
mod_build_depends="." mod_depends="." mod_recommends="." mod_suggests="."
supported_debian_distros="wheezy jessie stretch sid"
-supported_ubuntu_distros="trusty utopic"
+supported_ubuntu_distros="trusty utopic xenial"
supported_distros="$supported_debian_distros $supported_ubuntu_distros"
avoid_mods=(
applications/mod_sms_flowroute
@@ -79,9 +79,17 @@ avoid_mods_wheezy=(
)
avoid_mods_trusty=(
event_handlers/mod_amqp
+ codecs/mod_sangoma_codec
)
avoid_mods_utopic=(
directories/mod_ldap
+ codecs/mod_sangoma_codec
+)
+avoid_mods_xenial=(
+ event_handlers/mod_ldap
+ event_handlers/mod_amqp
+ codecs/mod_sangoma_codec
+ asr_tts/mod_flite
)
manual_pkgs=(
freeswitch-all
@@ -309,7 +317,7 @@ Build-Depends:
# configure options
libssl-dev, unixodbc-dev, libpq-dev,
libncurses5-dev, libjpeg62-turbo-dev | libjpeg-turbo8-dev | libjpeg62-dev | libjpeg8-dev,
- python-dev, python-all-dev, python-support (>= 0.90), erlang-dev,
+ python-dev, python-all-dev, python-support (>= 0.90) | dh-python, erlang-dev,
# documentation
doxygen,
# for APR (not essential for build)
diff --git a/debian/control-modules b/debian/control-modules
index c6dae250b7..5759803197 100644
--- a/debian/control-modules
+++ b/debian/control-modules
@@ -11,7 +11,7 @@ Description: Abstraction layer for APIs
Module: applications/mod_av
Description: mod_av
Adds mod_av.
-Build-Depends: libavformat-dev, libswscale-dev
+Build-Depends: libavformat-dev, libswscale-dev, libavresample-dev
Module: applications/mod_avmd
Description: Advanced voicemail detection
@@ -645,7 +645,7 @@ Build-Depends: libperl-dev
Module: languages/mod_python
Description: mod_python
Adds mod_python.
-Build-Depends: python-dev
+Build-Depends: python-dev
Module: languages/mod_v8
Description: mod_v8
@@ -790,4 +790,3 @@ Description: mod_xml_rpc
Module: xml_int/mod_xml_scgi
Description: mod_xml_scgi
Adds mod_xml_scgi.
-
diff --git a/freeswitch.spec b/freeswitch.spec
index f23e23de52..9831d00201 100644
--- a/freeswitch.spec
+++ b/freeswitch.spec
@@ -1172,7 +1172,7 @@ Requires: %{name} = %{version}-%{release}
Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
######################################################################################################################
-# FreeSWITCH Programing Language Modules
+# FreeSWITCH Programming Language Modules
######################################################################################################################
%package lua
@@ -1882,6 +1882,7 @@ fi
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/acl.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/alsa.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amqp.conf.xml
+%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/avmd.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/blacklist.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/callcenter.conf.xml
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_csv.conf.xml
diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js
index 68cc6d6d80..d0c3563c12 100644
--- a/html5/verto/js/src/jquery.verto.js
+++ b/html5/verto/js/src/jquery.verto.js
@@ -2010,10 +2010,18 @@
};
RTCcallbacks.onStream = function(rtc, stream) {
+ if (dialog.verto.options.permissionCallback &&
+ typeof dialog.verto.options.permissionCallback.onGranted === 'function'){
+ dialog.verto.options.permissionCallback.onGranted();
+ }
console.log("stream started");
};
RTCcallbacks.onError = function(e) {
+ if (dialog.verto.options.permissionCallback &&
+ typeof dialog.verto.options.permissionCallback.onDenied === 'function'){
+ dialog.verto.options.permissionCallback.onDenied();
+ }
console.error("ERROR:", e);
dialog.hangup({cause: "Device or Permission Error"});
};
diff --git a/html5/verto/verto_communicator/src/partials/dialpad_widget.html b/html5/verto/verto_communicator/src/partials/dialpad_widget.html
index 583b023c74..09c0351b11 100644
--- a/html5/verto/verto_communicator/src/partials/dialpad_widget.html
+++ b/html5/verto/verto_communicator/src/partials/dialpad_widget.html
@@ -1,17 +1,7 @@
-
diff --git a/html5/verto/verto_communicator/src/partials/menu.html b/html5/verto/verto_communicator/src/partials/menu.html
index 725fb6e628..53500a8920 100644
--- a/html5/verto/verto_communicator/src/partials/menu.html
+++ b/html5/verto/verto_communicator/src/partials/menu.html
@@ -38,7 +38,7 @@
- {{ storage.data.called_number && storage.data.userStatus != 'connected' ? 'LAST_CALL' : 'IN_CALL' | translate }} {{ storage.data.called_number }}
+ {{ storage.data.called_number && storage.data.userStatus != 'connected' ? 'LAST_CALL' : '' | translate }} {{ verto.data.call ? verto.data.call.params.remote_caller_id_name + " - " + verto.data.call.params.remote_caller_id_number : storage.data.called_number }}
diff --git a/html5/verto/verto_communicator/src/partials/video_call.html b/html5/verto/verto_communicator/src/partials/video_call.html
index bd76ea47ae..e22448a6ba 100644
--- a/html5/verto/verto_communicator/src/partials/video_call.html
+++ b/html5/verto/verto_communicator/src/partials/video_call.html
@@ -68,6 +68,9 @@
+