Skip to content

Commit f7bdd38

Browse files
committed
Merge branch 'master' into v1.10
2 parents f999022 + cdaebdc commit f7bdd38

File tree

150 files changed

+4666
-2269
lines changed

Some content is hidden

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

150 files changed

+4666
-2269
lines changed

.drone.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
kind: pipeline
3+
name: unit-tests
4+
5+
steps:
6+
- name: run-tests
7+
image: signalwire/freeswitch-public-base
8+
pull: true
9+
commands:
10+
- ./bootstrap.sh -j
11+
- echo "applications/mod_test" >> modules.conf
12+
- ./configure
13+
- echo "#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=\${PIPESTATUS[0]}\necho \$exitstatus > ./build-status.txt\nmake install\n" > build.sh
14+
- chmod +x build.sh
15+
- ./build.sh
16+
- cd tests/unit
17+
- ./run-tests.sh
18+
- mkdir logs && (mv log_run-tests_*.html logs || true)
19+
- echo 0 > run-tests-status.txt
20+
- ./collect-test-logs.sh && exit 0 || echo 'Some tests failed'
21+
- echo 1 > run-tests-status.txt
22+
- cd logs && ls -la
23+
24+
- name: notify
25+
image: signalwire/unit-tests-notify
26+
pull: true
27+
environment:
28+
GITHUB_CI_APP_PEM:
29+
from_secret: github_ci_app_pem
30+
SSH_KEY:
31+
from_secret: ssh_key
32+
SLACK_WEBHOOK_URL:
33+
from_secret: slack_webhook_url
34+
commands:
35+
- /root/notify.sh
36+
37+
trigger:
38+
branch:
39+
- master
40+
event:
41+
- pull_request
42+
- push
43+
---
44+
kind: signature
45+
hmac: a34718dd1e2b9468a845962219ff05cac0c922ddf90d885af557a937a9e412e0
46+
47+
...

Freeswitch.2017.sln

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_pgsql", "src\mod\databa
586586
EndProject
587587
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_mariadb", "src\mod\databases\mod_mariadb\mod_mariadb.2017.vcxproj", "{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC}"
588588
EndProject
589+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_switch_core_db", "tests\unit\test_switch_core_db.2017.vcxproj", "{580675D7-C1C9-4197-AAC5-00F64FAFDE78}"
590+
EndProject
591+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_switch_ivr_originate", "tests\unit\test_switch_ivr_originate.2017.vcxproj", "{69A7464A-9B0D-4804-A108-835229DACF58}"
592+
EndProject
589593
Global
590594
GlobalSection(SolutionConfigurationPlatforms) = preSolution
591595
All|Win32 = All|Win32
@@ -2689,6 +2693,30 @@ Global
26892693
{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC}.Release|Win32.Build.0 = Release|Win32
26902694
{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC}.Release|x64.ActiveCfg = Release|x64
26912695
{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC}.Release|x64.Build.0 = Release|x64
2696+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.All|Win32.ActiveCfg = Release|Win32
2697+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.All|Win32.Build.0 = Release|Win32
2698+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.All|x64.ActiveCfg = Release|x64
2699+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.All|x64.Build.0 = Release|x64
2700+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Debug|Win32.ActiveCfg = Debug|Win32
2701+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Debug|Win32.Build.0 = Debug|Win32
2702+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Debug|x64.ActiveCfg = Debug|x64
2703+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Debug|x64.Build.0 = Debug|x64
2704+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Release|Win32.ActiveCfg = Release|Win32
2705+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Release|Win32.Build.0 = Release|Win32
2706+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Release|x64.ActiveCfg = Release|x64
2707+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78}.Release|x64.Build.0 = Release|x64
2708+
{69A7464A-9B0D-4804-A108-835229DACF58}.All|Win32.ActiveCfg = Release|Win32
2709+
{69A7464A-9B0D-4804-A108-835229DACF58}.All|Win32.Build.0 = Release|Win32
2710+
{69A7464A-9B0D-4804-A108-835229DACF58}.All|x64.ActiveCfg = Release|x64
2711+
{69A7464A-9B0D-4804-A108-835229DACF58}.All|x64.Build.0 = Release|x64
2712+
{69A7464A-9B0D-4804-A108-835229DACF58}.Debug|Win32.ActiveCfg = Debug|Win32
2713+
{69A7464A-9B0D-4804-A108-835229DACF58}.Debug|Win32.Build.0 = Debug|Win32
2714+
{69A7464A-9B0D-4804-A108-835229DACF58}.Debug|x64.ActiveCfg = Debug|x64
2715+
{69A7464A-9B0D-4804-A108-835229DACF58}.Debug|x64.Build.0 = Debug|x64
2716+
{69A7464A-9B0D-4804-A108-835229DACF58}.Release|Win32.ActiveCfg = Release|Win32
2717+
{69A7464A-9B0D-4804-A108-835229DACF58}.Release|Win32.Build.0 = Release|Win32
2718+
{69A7464A-9B0D-4804-A108-835229DACF58}.Release|x64.ActiveCfg = Release|x64
2719+
{69A7464A-9B0D-4804-A108-835229DACF58}.Release|x64.Build.0 = Release|x64
26922720
EndGlobalSection
26932721
GlobalSection(SolutionProperties) = preSolution
26942722
HideSolutionNode = FALSE
@@ -2901,6 +2929,8 @@ Global
29012929
{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B}
29022930
{1BA65811-5453-46F6-8190-9ECEEFEB7DF2} = {31C2761D-20E0-4BF8-98B9-E32F0D8DD6E1}
29032931
{0B612F84-7533-4DEC-AEDD-5C9CBCF15EAC} = {31C2761D-20E0-4BF8-98B9-E32F0D8DD6E1}
2932+
{580675D7-C1C9-4197-AAC5-00F64FAFDE78} = {9388C266-C3FC-468A-92EF-0CBC35941412}
2933+
{69A7464A-9B0D-4804-A108-835229DACF58} = {9388C266-C3FC-468A-92EF-0CBC35941412}
29042934
EndGlobalSection
29052935
GlobalSection(ExtensibilityGlobals) = postSolution
29062936
SolutionGuid = {09840DE7-9208-45AA-9667-1A71EE93BD1E}

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ libs/libzrtp/libzrtp.a:
586586
cd libs/libzrtp && $(MAKE)
587587

588588
libs/libvpx/Makefile: libs/libvpx/.update
589-
cd libs/libvpx && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --size-limit=16384x16384 --extra-cflags="$(VISIBILITY_FLAG)"
589+
cd libs/libvpx && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS) $(VISIBILITY_FLAG)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --size-limit=16384x16384
590590

591591
libs/libvpx/libvpx.a: libs/libvpx/Makefile libs/libvpx/.update
592592
@cd libs/libvpx && $(MAKE)
@@ -684,7 +684,7 @@ is-scm:
684684
echo ; echo ; \
685685
echo "*****************************************************************************************************" ; \
686686
echo "You cannot update a release tarball without a git tree. Please clone FreeSWITCH as so: " ; \
687-
echo " git clone https://freeswitch.org/stash/scm/fs/freeswitch.git " ; \
687+
echo " git clone https://github.com/signalwire/freeswitch.git " ; \
688688
echo "*****************************************************************************************************" ; \
689689
echo ; echo ; \
690690
exit 1; \

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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!**

build/Makefile.centos5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ freeswitch.git/configure: freeswitch.git/bootstrap.sh
2929
cd freeswitch.git && sh bootstrap.sh
3030

3131
freeswitch.git/bootstrap.sh: has-git
32-
test -d freeswitch.git || git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
32+
test -d freeswitch.git || git clone https://github.com/signalwire/freeswitch.git freeswitch.git
3333

3434
install: freeswitch
3535
cd freeswitch.git && make install cd-sounds-install cd-moh-install

build/Makefile.centos6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ freeswitch.git/configure: freeswitch.git/bootstrap.sh
1919
cd freeswitch.git && sh bootstrap.sh
2020

2121
freeswitch.git/bootstrap.sh: has-git
22-
test -d freeswitch.git || git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
22+
test -d freeswitch.git || git clone https://github.com/signalwire/freeswitch.git freeswitch.git
2323

2424
rpmforge:
2525
(which rpm && rpm -i http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm) || true

build/Makefile.openbsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ freeswitch.git/configure: freeswitch.git/bootstrap.sh
2424
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize sh bootstrap.sh
2525

2626
freeswitch.git/bootstrap.sh: has-git
27-
test -d freeswitch.git || git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
27+
test -d freeswitch.git || git clone https://github.com/signalwire/freeswitch.git freeswitch.git
2828

2929
install:
3030
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize gmake install cd-sounds-install cd-moh-install

build/Makefile.solaris11

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ freeswitch.git/configure: freeswitch.git/bootstrap.sh
3131
cd freeswitch.git && sh bootstrap.sh
3232

3333
freeswitch.git/bootstrap.sh: has-git
34-
test -d freeswitch.git || git clone https://freeswitch.org/stash/scm/fs/freeswitch.git freeswitch.git
34+
test -d freeswitch.git || git clone https://github.com/signalwire/freeswitch.git freeswitch.git
3535

3636
install: freeswitch
3737
cd freeswitch.git && gmake install cd-sounds-install cd-moh-install

build/next-release.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.1-release
1+
1.10.2-release

conf/vanilla/autoload_configs/amqp.conf.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
<param name="exchange-name" value="TAP.Commands"/>
5858
<param name="binding_key" value="commandBindingKey"/>
5959
<param name="reconnect_interval_ms" value="1000"/>
60+
<param name="queue-passive" value="false"/>
61+
<param name="queue-durable" value="false"/>
62+
<param name="queue-exclusive" value="false"/>
63+
<param name="queue-auto-delete" value="true"/>
6064
</params>
6165
</profile>
6266
</commands>

0 commit comments

Comments
 (0)