Skip to content

Commit 1ff9d0a

Browse files
committed
Merge branch 'master' into v1.10
2 parents 25569c1 + e2cba43 commit 1ff9d0a

File tree

430 files changed

+4938
-31660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+4938
-31660
lines changed

.drone.yml

+9-13
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,15 @@ steps:
5252
- cd logs && ls -la
5353

5454
- name: notify
55-
image: signalwire/public-unit-tests-notify
55+
image: signalwire/drone-notify
5656
pull: true
5757
environment:
58-
GITHUB_CI_APP_PEM:
59-
from_secret: github_ci_app_pem
60-
SSH_KEY:
61-
from_secret: public_artifacts_ssh_key
6258
SLACK_WEBHOOK_URL:
6359
from_secret: slack_webhook_url
60+
ENV_FILE:
61+
from_secret: notify_env
6462
commands:
65-
- /root/notify.sh
63+
- /root/unit-tests-notify.sh
6664

6765
trigger:
6866
branch:
@@ -127,17 +125,15 @@ steps:
127125
- echo "*** Exit status is $exitstatus"
128126

129127
- name: notify
130-
image: signalwire/public-scan-build-notify
128+
image: signalwire/drone-notify
131129
pull: true
132130
environment:
133-
GITHUB_CI_APP_PEM:
134-
from_secret: github_ci_app_pem
135-
SSH_KEY:
136-
from_secret: public_artifacts_ssh_key
137131
SLACK_WEBHOOK_URL:
138132
from_secret: slack_webhook_url
133+
ENV_FILE:
134+
from_secret: notify_env
139135
commands:
140-
- /root/notify.sh
136+
- /root/scan-build-notify.sh
141137

142138

143139
trigger:
@@ -149,6 +145,6 @@ trigger:
149145

150146
---
151147
kind: signature
152-
hmac: 847aeb3791f682fe44b2e401a7a2b6ebbf06830e67046745459a31b32a7da2f3
148+
hmac: af77439b382612b49140cb95f04d6d695e0a188c411ae227abcba205bf96bab9
153149

154150
...

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ libs/libsndfile/src/version-metadata.rc
230230
libs/libsndfile/tests/pedantic-header-test.sh
231231
yum/RPMS
232232
yum/temp
233-
html5/verto/verto_communicator/bower_components/
234-
html5/verto/verto_communicator/node_modules/
235233
.vs/
236234

237235
Freeswitch.2015.VC.db
@@ -263,6 +261,7 @@ libs/sofia-sip*/
263261
libs/sofia-sip*
264262

265263
src/mod/applications/mod_test/test/test_asr
264+
src/mod/applications/mod_test/test/test_tts
266265
src/mod/event_handlers/mod_rayo/test/test_iks
267266
src/mod/event_handlers/mod_rayo/test/test_nlsml
268267
src/mod/event_handlers/mod_rayo/test/test_srgs

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ update-clean: clean python-reconf
745745
cd libs/esl && $(MAKE) clean
746746
cd libs/srtp && $(MAKE) clean
747747

748-
swigall:
748+
swigall: src/include/switch_swigable_cpp.h
749749
@echo reswigging all
750750
sh $(switch_srcdir)/build/swigall.sh
751751

README.md

+63-63
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
# FreeSWITCH
2-
3-
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device. Combined with our hosted cloud platform, SignalWire, FreeSWITCH can interconnect with the outside world and scale to any size.
4-
5-
Visit [https://signalwire.com](https://signalwire.com/) or https://github.com/signalwire for more info.
6-
7-
## Getting Started
8-
9-
FreeSWITCH is available on [Github](https://github.com/signalwire/freeswitch) in source code format. You can checkout the development branch and build for many poplular platforms including Linux, Windows, MacOSX and BSD. There is an issue tracker and pull request system available as part of the repo online.
10-
11-
See [https://freeswitch.com/#getting-started](https://freeswitch.com/#getting-started) for more detailed instructions.
12-
13-
## Additional Help
14-
15-
If you need assistance or have an interest in using a commercially supported build, you can contact [email protected] to learn about professional services to support your project.
16-
17-
## Voice-over-IP services - SIP / SMS - App Integrations
18-
19-
[SignalWire](https://signalwire.com) is the primary sponsor of the FreeSWITCH project and was founded by the original developers of FreeSWITCH. SignalWire provides scalable services to enhance and scale your project such as SMS, SIP, Serverless Application hosting as well as programmable telecom. mod_signalwire which is distributed in this code base allows you to instantly pair with SignalWire and extend your FreeSWITCH.
20-
21-
## Documentation
22-
23-
The main index for documentation is available at:
24-
25-
* https://freeswitch.org/confluence/
26-
27-
### Release notes:
28-
29-
* https://freeswitch.org/confluence/display/FREESWITCH/Release+Notes
30-
31-
### Installation
32-
33-
Step by step tutorials to install FreeSWITCH from packages or source code are available at:
34-
35-
* [Debian 10 Buster](https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster) [<b>Recommended</b>]
36-
* [Raspberry Pi](https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi)
37-
* [CentOS 7](https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7)
38-
39-
## Downloads
40-
41-
* [Tarballs](https://files.freeswitch.org/releases/freeswitch/)
42-
* [Windows Installer](http://files.freeswitch.org/windows/installer/x64/)
43-
* [Windows Sound Packages](http://files.freeswitch.org/windows/installer/x64/sounds/)
44-
45-
## Contributions
46-
47-
GitHub pull requests are the recommended way to contribute to the FreeSWITCH source code:
48-
49-
* https://github.com/signalwire/freeswitch/pulls
50-
51-
## Community
52-
53-
Slack is our chat system where the developers, the FreeSWITCH team, and the most active users are present.
54-
This is the place to get answers faster and chat with other users in real time. All you need to do is enter your email and verify it on the Slack signup page and you are ready to join in the discussion!
55-
56-
Slack Community:
57-
* https://signalwire.community/
58-
59-
Mailing list:
60-
61-
* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
62-
63-
**Thank you for using FreeSWITCH!**
1+
# FreeSWITCH
2+
3+
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device. Combined with our hosted cloud platform, SignalWire, FreeSWITCH can interconnect with the outside world and scale to any size.
4+
5+
Visit [https://signalwire.com](https://signalwire.com/) or https://github.com/signalwire for more info.
6+
7+
## Getting Started
8+
9+
FreeSWITCH is available on [Github](https://github.com/signalwire/freeswitch) in source code format. You can checkout the development branch and build for many popular platforms including Linux, Windows, MacOSX and BSD. There is an issue tracker and pull request system available as part of the repo online.
10+
11+
See [https://freeswitch.com/#getting-started](https://freeswitch.com/#getting-started) for more detailed instructions.
12+
13+
## Additional Help
14+
15+
If you need assistance or have an interest in using a commercially supported build, you can contact [email protected] to learn about professional services to support your project.
16+
17+
## Voice-over-IP services - SIP / SMS - App Integrations
18+
19+
[SignalWire](https://signalwire.com) is the primary sponsor of the FreeSWITCH project and was founded by the original developers of FreeSWITCH. SignalWire provides scalable services to enhance and scale your project such as SMS, SIP, Serverless Application hosting as well as programmable telecom. mod_signalwire which is distributed in this code base allows you to instantly pair with SignalWire and extend your FreeSWITCH.
20+
21+
## Documentation
22+
23+
The main index for documentation is available at:
24+
25+
* https://freeswitch.org/confluence/
26+
27+
### Release notes:
28+
29+
* https://freeswitch.org/confluence/display/FREESWITCH/Release+Notes
30+
31+
### Installation
32+
33+
Step by step tutorials to install FreeSWITCH from packages or source code are available at:
34+
35+
* [Debian 10 Buster](https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster) [<b>Recommended</b>]
36+
* [Raspberry Pi](https://freeswitch.org/confluence/display/FREESWITCH/Raspberry+Pi)
37+
* [CentOS 7](https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7)
38+
39+
## Downloads
40+
41+
* [Tarballs](https://files.freeswitch.org/releases/freeswitch/)
42+
* [Windows Installer](http://files.freeswitch.org/windows/installer/x64/)
43+
* [Windows Sound Packages](http://files.freeswitch.org/windows/installer/x64/sounds/)
44+
45+
## Contributions
46+
47+
GitHub pull requests are the recommended way to contribute to the FreeSWITCH source code:
48+
49+
* https://github.com/signalwire/freeswitch/pulls
50+
51+
## Community
52+
53+
Slack is our chat system where the developers, the FreeSWITCH team, and the most active users are present.
54+
This is the place to get answers faster and chat with other users in real time. All you need to do is enter your email and verify it on the Slack signup page and you are ready to join in the discussion!
55+
56+
Slack Community:
57+
* https://signalwire.community/
58+
59+
Mailing list:
60+
61+
* http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
62+
63+
**Thank you for using FreeSWITCH!**

bootstrap.sh

+2-170
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
33
##### bootstrap FreeSWITCH and FreeSWITCH libraries
44

5+
. $(dirname $0)/scripts/ci/build-requirements.sh
6+
57
echo "bootstrap: checking installation..."
68

79
BGJOB=false
@@ -45,176 +47,6 @@ setup_gnu() {
4547
touch README
4648
}
4749

48-
check_ac_ver() {
49-
# autoconf 2.59 or newer
50-
ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
51-
if test -z "$ac_version"; then
52-
echo "bootstrap: autoconf not found."
53-
echo " You need autoconf version 2.59 or newer installed"
54-
echo " to build FreeSWITCH from source."
55-
exit 1
56-
fi
57-
if test `uname -s` = "OpenBSD" && test "$ac_version" = "2.62"; then
58-
echo "Autoconf 2.62 is broken on OpenBSD, please try another version"
59-
exit 1
60-
fi
61-
IFS=_; set $ac_version; IFS=' '
62-
ac_version=$1
63-
IFS=.; set $ac_version; IFS=' '
64-
if test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then
65-
echo "bootstrap: autoconf version $ac_version found."
66-
echo " You need autoconf version 2.59 or newer installed"
67-
echo " to build FreeSWITCH from source."
68-
exit 1
69-
else
70-
echo "bootstrap: autoconf version $ac_version (ok)"
71-
fi
72-
}
73-
74-
check_am_ver() {
75-
# automake 1.7 or newer
76-
am_version=`${AUTOMAKE:-automake} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
77-
if test -z "$am_version"; then
78-
echo "bootstrap: automake not found."
79-
echo " You need automake version 1.7 or newer installed"
80-
echo " to build FreeSWITCH from source."
81-
exit 1
82-
fi
83-
IFS=_; set $am_version; IFS=' '
84-
am_version=$1
85-
IFS=.; set $am_version; IFS=' '
86-
if test "$1" = "1" -a "$2" -lt "7"; then
87-
echo "bootstrap: automake version $am_version found."
88-
echo " You need automake version 1.7 or newer installed"
89-
echo " to build FreeSWITCH from source."
90-
exit 1
91-
else
92-
echo "bootstrap: automake version $am_version (ok)"
93-
fi
94-
}
95-
96-
check_acl_ver() {
97-
# aclocal 1.7 or newer
98-
acl_version=`${ACLOCAL:-aclocal} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;s/[- ].*//g;q'`
99-
if test -z "$acl_version"; then
100-
echo "bootstrap: aclocal not found."
101-
echo " You need aclocal version 1.7 or newer installed"
102-
echo " to build FreeSWITCH from source."
103-
exit 1
104-
fi
105-
IFS=_; set $acl_version; IFS=' '
106-
acl_version=$1
107-
IFS=.; set $acl_version; IFS=' '
108-
if test "$1" = "1" -a "$2" -lt "7"; then
109-
echo "bootstrap: aclocal version $acl_version found."
110-
echo " You need aclocal version 1.7 or newer installed"
111-
echo " to build FreeSWITCH from source."
112-
exit 1
113-
else
114-
echo "bootstrap: aclocal version $acl_version (ok)"
115-
fi
116-
}
117-
118-
check_lt_ver() {
119-
# Sample libtool --version outputs:
120-
# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
121-
# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
122-
# output is multiline from 1.5 onwards
123-
124-
# Require libtool 1.4 or newer
125-
libtool=${LIBTOOL:-`${LIBDIR}/apr/build/PrintPath glibtool libtool libtool22 libtool15 libtool14`}
126-
lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
127-
if test -z "$lt_pversion"; then
128-
echo "bootstrap: libtool not found."
129-
echo " You need libtool version 1.5.14 or newer to build FreeSWITCH from source."
130-
exit 1
131-
fi
132-
lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
133-
IFS=.; set $lt_version; IFS=' '
134-
lt_status="good"
135-
136-
if test -z "$1"; then a=0 ; else a=$1;fi
137-
if test -z "$2"; then b=0 ; else b=$2;fi
138-
if test -z "$3"; then c=0 ; else c=$3;fi
139-
lt_major=$a
140-
141-
if test "$a" -eq "2"; then
142-
lt_status="good"
143-
elif test "$a" -lt "2"; then
144-
if test "$b" -lt "5" -o "$b" = "5" -a "$c" -lt "14" ; then
145-
lt_status="bad"
146-
fi
147-
else
148-
lt_status="bad"
149-
fi
150-
if test $lt_status = "good"; then
151-
echo "bootstrap: libtool version $lt_pversion (ok)"
152-
else
153-
echo "bootstrap: libtool version $lt_pversion found."
154-
echo " You need libtool version 1.5.14 or newer to build FreeSWITCH from source."
155-
exit 1
156-
fi
157-
}
158-
159-
check_libtoolize() {
160-
# check libtoolize availability
161-
if [ -n "${LIBTOOL}" ]; then
162-
libtoolize=${LIBTOOLIZE:-`dirname "${LIBTOOL}"`/libtoolize}
163-
else
164-
libtoolize=${LIBTOOLIZE:-`${LIBDIR}/apr/build/PrintPath glibtoolize libtoolize libtoolize22 libtoolize15 libtoolize14`}
165-
fi
166-
if [ "x$libtoolize" = "x" ]; then
167-
echo "libtoolize not found in path"
168-
exit 1
169-
fi
170-
if [ ! -x "$libtoolize" ]; then
171-
echo "$libtoolize does not exist or is not executable"
172-
exit 1
173-
fi
174-
175-
# compare libtool and libtoolize version
176-
ltl_pversion=`$libtoolize --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
177-
ltl_version=`echo $ltl_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
178-
IFS=.; set $ltl_version; IFS=' '
179-
180-
if [ "x${lt_version}" != "x${ltl_version}" ]; then
181-
echo "$libtool and $libtoolize have different versions"
182-
exit 1
183-
fi
184-
}
185-
186-
check_make() {
187-
#
188-
# Check to make sure we have GNU Make installed
189-
#
190-
191-
make=`which make`
192-
if [ -x "$make" ]; then
193-
make_version=`$make --version || true | grep GNU`
194-
if [ $? -ne 0 ]; then
195-
make=`which gmake`
196-
if [ -x "$make" ]; then
197-
make_version=`$make --version | grep GNU`
198-
if [ $? -ne 0 ]; then
199-
echo "GNU Make does not exist or is not executable"
200-
exit 1;
201-
fi
202-
fi
203-
fi
204-
fi
205-
}
206-
207-
208-
check_awk() {
209-
# TODO: Building with mawk on at least Debian squeeze is know to
210-
# work, but mawk is believed to fail on some systems. If we can
211-
# replicate this, we need a particular behavior that we can test
212-
# here to verify whether we have an acceptable awk.
213-
:
214-
}
215-
216-
217-
21850
print_autotools_vers() {
21951
#
22052
# Info output

build/next-release.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.5-release
1+
1.10.6-release

0 commit comments

Comments
 (0)