diff --git a/build/modules.conf.most b/build/modules.conf.most
index 128c07f18c..5c72ffa27c 100644
--- a/build/modules.conf.most
+++ b/build/modules.conf.most
@@ -92,6 +92,7 @@ endpoints/mod_skinny
endpoints/mod_skypopen
endpoints/mod_sofia
endpoints/mod_verto
+event_handlers/mod_amqp
event_handlers/mod_cdr_csv
event_handlers/mod_cdr_mongodb
#event_handlers/mod_cdr_pg_csv
@@ -100,6 +101,7 @@ event_handlers/mod_erlang_event
event_handlers/mod_event_multicast
event_handlers/mod_event_socket
event_handlers/mod_format_cdr
+event_handlers/mod_hiredis
event_handlers/mod_json_cdr
#event_handlers/mod_radius_cdr
event_handlers/mod_odbc_cdr
diff --git a/conf/testing/autoload_configs/modules.conf.xml b/conf/testing/autoload_configs/modules.conf.xml
index cfd02d3b64..f0e099661f 100644
--- a/conf/testing/autoload_configs/modules.conf.xml
+++ b/conf/testing/autoload_configs/modules.conf.xml
@@ -6,6 +6,7 @@
+
diff --git a/conf/testing/autoload_configs/opus.conf.xml b/conf/testing/autoload_configs/opus.conf.xml
index 022cc15912..72ea62029e 100644
--- a/conf/testing/autoload_configs/opus.conf.xml
+++ b/conf/testing/autoload_configs/opus.conf.xml
@@ -1,28 +1,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/conf/testing/dialplan/default/0000_local_extensions.xml b/conf/testing/dialplan/default/0000_local_extensions.xml
index c47ccb9fb8..54de0b245d 100644
--- a/conf/testing/dialplan/default/0000_local_extensions.xml
+++ b/conf/testing/dialplan/default/0000_local_extensions.xml
@@ -11,4 +11,10 @@
+
+
+
+
+
+
diff --git a/conf/testing/dialplan/default/0024_play_video.xml b/conf/testing/dialplan/default/0024_play_video.xml
index 0fc06995e8..efaadbe5a3 100644
--- a/conf/testing/dialplan/default/0024_play_video.xml
+++ b/conf/testing/dialplan/default/0024_play_video.xml
@@ -4,3 +4,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/conf/vanilla/autoload_configs/amqp.conf.xml b/conf/vanilla/autoload_configs/amqp.conf.xml
index 0d139169a9..43bff5d23e 100644
--- a/conf/vanilla/autoload_configs/amqp.conf.xml
+++ b/conf/vanilla/autoload_configs/amqp.conf.xml
@@ -20,8 +20,8 @@
-
-
+
+
@@ -54,7 +54,7 @@
-
+
diff --git a/conf/vanilla/sip_profiles/external-ipv6.xml b/conf/vanilla/sip_profiles/external-ipv6.xml
index ea66679c37..99e8feb246 100644
--- a/conf/vanilla/sip_profiles/external-ipv6.xml
+++ b/conf/vanilla/sip_profiles/external-ipv6.xml
@@ -13,7 +13,7 @@
-
+
diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh
index e514ab1a94..43468800ae 100755
--- a/debian/bootstrap.sh
+++ b/debian/bootstrap.sh
@@ -2,12 +2,33 @@
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
##### Author: Travis Cross
+codename="sid"
+modulelist_opt=""
+modules_add=""
+use_sysvinit=""
+while getopts "c:m:p:v" o; do
+ case "$o" in
+ c) codename="$OPTARG" ;;
+ m) modulelist_opt="$OPTARG" ;;
+ p) modules_add="$modules_add $OPTARG";;
+ v) use_sysvinit="true";;
+ esac
+done
+shift $(($OPTIND-1))
+
+if [ x${use_sysvinit} = x ]; then
+ case "$codename" in
+ wheezy|trusty|utopic) use_sysvinit="true";;
+ *) use_sysvinit="false";;
+ esac
+fi
+
mod_dir="../src/mod"
conf_dir="../conf"
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="squeeze wheezy jessie sid"
+supported_debian_distros="wheezy jessie stretch sid"
supported_ubuntu_distros="trusty utopic"
supported_distros="$supported_debian_distros $supported_ubuntu_distros"
avoid_mods=(
@@ -46,11 +67,14 @@ avoid_mods_jessie=(
avoid_mods_wheezy=(
event_handlers/mod_amqp
languages/mod_java
-)
-avoid_mods_squeeze=(
- event_handlers/mod_amqp
- formats/mod_vlc
languages/mod_managed
+ applications/mod_av
+ applications/mod_cv
+ applications/mod_hiredis
+ formats/mod_shout
+ applications/mod_sonar
+ applications/mod_soundtouch
+ formats/mod_vlc
)
avoid_mods_trusty=(
)
@@ -75,13 +99,16 @@ freeswitch-dbg
libfreeswitch1-dbg
libfreeswitch-dev
freeswitch-doc
-freeswitch-init
-freeswitch-sysvinit
-freeswitch-systemd
freeswitch-lang
freeswitch-timezones
)
+if [ ${use_sysvinit} = "true" ]; then
+ manual_pkgs=( "${manual_pkgs[@]}" "freeswitch-sysvinit" )
+else
+ manual_pkgs=( "${manual_pkgs[@]}" "freeswitch-systemd" )
+fi
+
err () {
echo "$0 error: $1" >&2
exit 1
@@ -285,16 +312,20 @@ list_freeswitch_all_dbg_replaces () {
print_source_control () {
local libtool_dep="libtool, libtool-bin"
case "$codename" in
- squeeze|wheezy|trusty) libtool_dep="libtool" ;;
+ wheezy|trusty) libtool_dep="libtool" ;;
esac
-cat <
Build-Depends:
# for debian
- debhelper (>= 8.0.0),
+ ${debhelper_dep},
# bootstrapping
automake (>= 1.9), autoconf, ${libtool_dep},
# core build
@@ -822,33 +853,6 @@ Description: documentation for FreeSWITCH
This package contains Doxygen-produce documentation for FreeSWITCH.
It may be an empty package at the moment.
-Package: freeswitch-init
-Architecture: all
-Depends: \${misc:Depends},
- freeswitch-sysvinit (= \${binary:Version}),
- freeswitch-systemd (= \${binary:Version})
-Description: FreeSWITCH startup configuration
- $(debian_wrap "${fs_description}")
- .
- This is a metapackage which depends on the default system startup
- packages for FreeSWITCH.
-
-Package: freeswitch-sysvinit
-Architecture: all
-Depends: \${misc:Depends}, lsb-base (>= 3.0-6)
-Description: FreeSWITCH SysV init script
- $(debian_wrap "${fs_description}")
- .
- This package contains the SysV init script for FreeSWITCH.
-
-Package: freeswitch-systemd
-Architecture: all
-Depends: \${misc:Depends}
-Description: FreeSWITCH systemd configuration
- $(debian_wrap "${fs_description}")
- .
- This package contains the systemd configuration for FreeSWITCH.
-
## misc
## languages
@@ -873,7 +877,37 @@ Description: Timezone files for FreeSWITCH
.
$(debian_wrap "This package includes the timezone files for FreeSWITCH.")
+## startup
+
EOF
+
+if [ ${use_sysvinit} = "true" ]; then
+ cat <= 3.0-6), sysvinit
+Conflicts: freeswitch-init
+Provides: freeswitch-init
+Description: FreeSWITCH SysV init script
+ $(debian_wrap "${fs_description}")
+ .
+ This package contains the SysV init script for FreeSWITCH.
+
+EOF
+else
+ cat <&2
echo >&2
@@ -1324,9 +1348,17 @@ for x in postinst postrm preinst prerm; do
cp -a freeswitch.$x freeswitch-all.$x
done
cp -a freeswitch-doc.docs freeswitch-all.docs
-#cp -a freeswitch-systemd.freeswitch.service freeswitch-all.freeswitch.service
-cp -a freeswitch-sysvinit.freeswitch.default freeswitch-all.freeswitch.default
-cp -a freeswitch-sysvinit.freeswitch.init freeswitch-all.freeswitch.init
+
+if [ ${use_sysvinit} = "true" ]; then
+ cp -a freeswitch-sysvinit.freeswitch.init freeswitch-all.freeswitch.init
+ cp -a freeswitch-sysvinit.freeswitch.default freeswitch-all.freeswitch.default
+ echo -n freeswitch-sysvinit >freeswitch-init.provided_by
+else
+ cp -a freeswitch-systemd.freeswitch.service freeswitch-all.freeswitch.service
+ cp -a freeswitch-systemd.freeswitch.tmpfile freeswitch-all.freeswitch.tmpfile
+ echo -n freeswitch-systemd >freeswitch-init.provided_by
+fi
+
echo "Generating additional lintian overrides..." >&2
grep -e '^Package:' control | while xread l; do
diff --git a/debian/control-modules b/debian/control-modules
index c009c96ee0..66c040f5d2 100644
--- a/debian/control-modules
+++ b/debian/control-modules
@@ -611,7 +611,6 @@ Description: VLC streaming
Build-Depends: libvlc-dev (>= 2.0.0)
Depends: vlc-nox
Suggests: vlc-dbg
-Distro-Conflicts: squeeze
Module: formats/mod_webm
Description: Adds mod_webm
diff --git a/debian/freeswitch-systemd.freeswitch.service b/debian/freeswitch-systemd.freeswitch.service
index 5a46d8731c..2a3a97089b 100644
--- a/debian/freeswitch-systemd.freeswitch.service
+++ b/debian/freeswitch-systemd.freeswitch.service
@@ -8,14 +8,14 @@ After=syslog.target network.target local-fs.target
; service
Type=forking
PIDFile=/run/freeswitch/freeswitch.pid
-ExecStart=/usr/bin/freeswitch -ncwait -nonat
+Environment="DAEMON_OPTS=-nonat"
+EnvironmentFile=-/etc/default/freeswitch
+ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait $DAEMON_OPTS
TimeoutSec=45s
Restart=always
; exec
-RuntimeDirectory=freeswitch
-RuntimeDirectoryMode=0755
-User=freeswitch
-Group=freeswitch
+User=root
+Group=daemon
LimitCORE=infinity
LimitNOFILE=100000
LimitNPROC=60000
@@ -28,5 +28,27 @@ CPUSchedulingPolicy=rr
CPUSchedulingPriority=89
UMask=0007
+; alternatives which you can enforce by placing a unit drop-in into
+; /etc/systemd/system/freeswitch.service.d/*.conf:
+;
+; User=freeswitch
+; Group=freeswitch
+; ExecStart=
+; ExecStart=/usr/bin/freeswitch -ncwait -nonat -rp
+;
+; empty ExecStart is required to flush the list.
+;
+; if your filesystem supports extended attributes, execute
+; setcap 'cap_net_bind_service,cap_sys_nice=+ep' /usr/bin/freeswitch
+; this will also allow socket binding on low ports
+;
+; otherwise, remove the -rp option from ExecStart and
+; add these lines to give real-time priority to the process:
+;
+; PermissionsStartOnly=true
+; ExecStartPost=/bin/chrt -f -p 1 $MAINPID
+;
+; execute "systemctl daemon-reload" after editing the unit files.
+
[Install]
WantedBy=multi-user.target
diff --git a/debian/freeswitch-systemd.freeswitch.tmpfile b/debian/freeswitch-systemd.freeswitch.tmpfile
new file mode 100644
index 0000000000..baea7b8113
--- /dev/null
+++ b/debian/freeswitch-systemd.freeswitch.tmpfile
@@ -0,0 +1 @@
+d /var/run/freeswitch 0755 freeswitch freeswitch - -
diff --git a/debian/freeswitch-systemd.install b/debian/freeswitch-systemd.install
deleted file mode 100644
index d647282ecd..0000000000
--- a/debian/freeswitch-systemd.install
+++ /dev/null
@@ -1 +0,0 @@
-/lib/systemd/system/freeswitch.service
diff --git a/debian/rules b/debian/rules
index b2e43d68d0..7cfe4c1c2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,13 +98,18 @@ override_dh_strip:
override_dh_auto_install:
dh_auto_install
dh_auto_install -- -C libs/esl pymod-install
- mkdir -p debian/tmp/lib/systemd/system
- install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
override_dh_installinit:
- dh_installinit -pfreeswitch-sysvinit --name=freeswitch
- dh_installinit -pfreeswitch-all --name=freeswitch
+ if [ `cat debian/freeswitch-init.provided_by` = freeswitch-systemd ]; then \
+ dh_systemd_enable -pfreeswitch-systemd --name=freeswitch; \
+ dh_systemd_start -pfreeswitch-systemd --name=freeswitch; \
+ dh_systemd_enable -pfreeswitch-all --name=freeswitch; \
+ dh_systemd_start -pfreeswitch-all --name=freeswitch; \
+ else \
+ dh_installinit -pfreeswitch-sysvinit --name=freeswitch; \
+ dh_installinit -pfreeswitch-all --name=freeswitch; \
+ fi
override_dh_makeshlibs:
dh_makeshlibs
diff --git a/html5/verto/verto_communicator/bower.json b/html5/verto/verto_communicator/bower.json
index c69b4785d5..6a05c29a06 100644
--- a/html5/verto/verto_communicator/bower.json
+++ b/html5/verto/verto_communicator/bower.json
@@ -28,6 +28,7 @@
"bootstrap": "~3.3.4",
"angular-toastr": "~1.4.1",
"angular": "~1.3.15",
+ "angular-sanitize": "~1.3.15",
"angular-route": "~1.3.15",
"angular-prompt": "~1.1.1",
"angular-animate": "~1.3.15",
diff --git a/html5/verto/verto_communicator/src/css/verto.css b/html5/verto/verto_communicator/src/css/verto.css
index 9bc3a8b70c..d307eecdaf 100644
--- a/html5/verto/verto_communicator/src/css/verto.css
+++ b/html5/verto/verto_communicator/src/css/verto.css
@@ -925,6 +925,10 @@ body .modal-body .btn-group .btn.active {
color: #FFF;
}
+.chat-img {
+ display: block;
+}
+
.chat-members .chat-member-item {
padding: 8px 16px;
height: 56px;
diff --git a/html5/verto/verto_communicator/src/index.html b/html5/verto/verto_communicator/src/index.html
index a1594f8a7f..c450607c9f 100644
--- a/html5/verto/verto_communicator/src/index.html
+++ b/html5/verto/verto_communicator/src/index.html
@@ -56,7 +56,7 @@
-
+
@@ -66,6 +66,7 @@
+
@@ -87,14 +88,14 @@
-
+
-
+
-
+
@@ -119,6 +120,9 @@
+
+
+
@@ -133,4 +137,3 @@