mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 02:04:54 +00:00
Merge branch 'master' into v1.10
This commit is contained in:
commit
25569c1631
17
.drone.yml
17
.drone.yml
@ -14,7 +14,8 @@ steps:
|
||||
image: signalwire/freeswitch-public-base
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||
- echo "applications/mod_test" >> modules.conf
|
||||
- echo 'codecs/mod_openh264' >> modules.conf
|
||||
- sed -i '/applications\\/mod_http_cache/s/^#//g' modules.conf
|
||||
@ -28,7 +29,8 @@ steps:
|
||||
image: signalwire/freeswitch-public-base
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||
- echo '#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./build-status.txt\n' > build.sh
|
||||
- chmod +x build.sh
|
||||
- ./build.sh
|
||||
@ -37,7 +39,8 @@ steps:
|
||||
image: signalwire/freeswitch-public-base
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||
- make install || true
|
||||
- cd tests/unit
|
||||
- ./run-tests.sh
|
||||
@ -83,7 +86,8 @@ steps:
|
||||
image: signalwire/freeswitch-public-base:stretch
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||
- cp build/modules.conf.most modules.conf
|
||||
#Enable/Uncomment mods
|
||||
- echo 'codecs/mod_openh264' >> modules.conf
|
||||
@ -113,7 +117,8 @@ steps:
|
||||
image: signalwire/freeswitch-public-base:stretch
|
||||
pull: true
|
||||
commands:
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev
|
||||
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev
|
||||
- mkdir -p scan-build
|
||||
- echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh
|
||||
- chmod +x scan.sh
|
||||
@ -144,6 +149,6 @@ trigger:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: c48137f0dee8c2825711979e2c490367a2467a92866d3dfa11cf340a113dbf53
|
||||
hmac: 847aeb3791f682fe44b2e401a7a2b6ebbf06830e67046745459a31b32a7da2f3
|
||||
|
||||
...
|
||||
|
44
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
44
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Using this example configuration...
|
||||
2. Dial into conference using verto
|
||||
3. Play my_problem_file.mp4 into conference
|
||||
4. FreeSWITCH crashes
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Package version or git hash**
|
||||
- Version [e.g. 1.10.4]
|
||||
|
||||
**Trace logs**
|
||||
Provide freeswitch logs w/ DEBUG and UUID logging enabled
|
||||
|
||||
**backtrace from core file**
|
||||
If applicable, provide the full backtrace from the core file.
|
||||
```
|
||||
(gdb) set pagination off
|
||||
(gdb) set logging file /tmp/backtrace.log
|
||||
(gdb) set logging on
|
||||
Copying output to /tmp/backtrace.log.
|
||||
(gdb) bt
|
||||
(gdb) bt full
|
||||
(gdb) info threads
|
||||
(gdb) thread apply all bt
|
||||
(gdb) thread apply all bt full
|
||||
(gdb) set logging off
|
||||
Done logging to /tmp/backtrace.log.
|
||||
(gdb) quit
|
||||
```
|
25
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
25
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--FreeSWITCH features are generally contributed by the community. If you are a developer and want to add a feature to FreeSWITCH, this can also be a good starting point for discussing it with the FreeSWITCH team prior to submitting your pull request.-->
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
||||
**Package version or git hash**
|
||||
- Version of FreeSWITCH [e.g. 1.10.4]
|
@ -30,8 +30,8 @@ endif
|
||||
AM_CFLAGS = $(SWITCH_AM_CFLAGS) $(SWITCH_ANSI_CFLAGS)
|
||||
AM_CPPFLAGS =
|
||||
AM_CPPFLAGS += -I$(switch_srcdir)/libs/libvpx
|
||||
AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS) $(SOFIA_SIP_CFLAGS)
|
||||
AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS) $(SOFIA_SIP_LIBS)
|
||||
AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS)
|
||||
AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS)
|
||||
|
||||
DEFAULT_SOUNDS=en-us-callie-8000
|
||||
MY_DEFAULT_ARGS= --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)"
|
||||
@ -246,9 +246,9 @@ CORE_LIBS+=libfreeswitch_libyuv.la
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libfreeswitch.la
|
||||
libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(GUMBO_CFLAGS) $(FVAD_CFLAGS) $(FREETYPE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(AM_CFLAGS) $(TPL_CFLAGS)
|
||||
libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(GUMBO_CFLAGS) $(FVAD_CFLAGS) $(FREETYPE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(SOFIA_SIP_CFLAGS) $(AM_CFLAGS) $(TPL_CFLAGS)
|
||||
libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDFLAGS) -no-undefined
|
||||
libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS) $(SPANDSP_LIBS)
|
||||
libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS) $(SPANDSP_LIBS) $(SOFIA_SIP_LIBS)
|
||||
libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES)
|
||||
|
||||
if HAVE_PNG
|
||||
|
@ -1 +1 @@
|
||||
1.10.4-release
|
||||
1.10.5-release
|
||||
|
@ -3,10 +3,10 @@
|
||||
|
||||
# Must change all of the below together
|
||||
# For a release, set revision for that tagged release as well and uncomment
|
||||
AC_INIT([freeswitch], [1.10.4-release], bugs@freeswitch.org)
|
||||
AC_INIT([freeswitch], [1.10.5-release], bugs@freeswitch.org)
|
||||
AC_SUBST(SWITCH_VERSION_MAJOR, [1])
|
||||
AC_SUBST(SWITCH_VERSION_MINOR, [10])
|
||||
AC_SUBST(SWITCH_VERSION_MICRO, [4-release])
|
||||
AC_SUBST(SWITCH_VERSION_MICRO, [5-release])
|
||||
AC_SUBST(SWITCH_VERSION_REVISION, [])
|
||||
AC_SUBST(SWITCH_VERSION_REVISION_HUMAN, [])
|
||||
|
||||
@ -714,9 +714,9 @@ PKG_CHECK_MODULES([MARIADB], [libmariadb >= 3.0.9],[
|
||||
])
|
||||
])
|
||||
|
||||
PKG_CHECK_MODULES([SPANDSP], [spandsp >= 1.99],[
|
||||
PKG_CHECK_MODULES([SPANDSP], [spandsp >= 3.0],[
|
||||
AM_CONDITIONAL([HAVE_SPANDSP],[true])],[
|
||||
AC_MSG_ERROR([no usable spandsp; please install spandsp devel package or equivalent])
|
||||
AC_MSG_ERROR([no usable spandsp; please install spandsp3 devel package or equivalent])
|
||||
])
|
||||
|
||||
PKG_CHECK_MODULES([SOFIA_SIP], [sofia-sip-ua >= 1.12.12],[
|
||||
|
4
debian/bootstrap.sh
vendored
4
debian/bootstrap.sh
vendored
@ -305,7 +305,7 @@ print_source_control () {
|
||||
Source: freeswitch
|
||||
Section: comm
|
||||
Priority: optional
|
||||
Maintainer: FreeSWITCH Solutions, LLC <support@freeswitch.com>
|
||||
Maintainer: SignalWire, Inc <support@signalwire.com>
|
||||
Build-Depends:
|
||||
# for debian
|
||||
${debhelper_dep},
|
||||
@ -333,7 +333,7 @@ Build-Depends:
|
||||
# used by many modules
|
||||
libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl-dev,
|
||||
bison, zlib1g-dev, libsofia-sip-ua-dev (>= 1.12.12),
|
||||
libspandsp-dev (>= 0.0.6),
|
||||
libspandsp3-dev,
|
||||
# module build-depends
|
||||
$(debian_wrap "${mod_build_depends}")
|
||||
Standards-Version: 3.9.3
|
||||
|
134
freeswitch.spec
134
freeswitch.spec
@ -4,7 +4,7 @@
|
||||
#
|
||||
# includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
|
||||
# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-mariadb freeswitch-pgsql freeswitch-perl freeswitch-python freeswitch-v8 freeswitch-signalwire
|
||||
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru freeswitch-freetdm
|
||||
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru
|
||||
# and others
|
||||
#
|
||||
# Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
|
||||
@ -25,7 +25,7 @@
|
||||
# Ken Rice <krice@freeswitch.org>
|
||||
# Chris Rienzo <crienzo@grasshopper.com>
|
||||
#
|
||||
# Maintainer(s): Ken Rice <krice@freeswitch.org>
|
||||
# Maintainer(s): SignalWire, Inc <support@signalwire.com>
|
||||
#
|
||||
######################################################################################################################
|
||||
# Module build settings
|
||||
@ -153,18 +153,13 @@ BuildRequires: libtool >= 1.5.17
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openssl-devel >= 1.0.1e
|
||||
BuildRequires: sofia-sip-devel >= 1.12.12
|
||||
BuildRequires: spandsp-devel >= 1.99
|
||||
BuildRequires: spandsp3-devel >= 3.0
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: speex-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: ldns-devel
|
||||
BuildRequires: libedit-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: yasm
|
||||
%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
%endif
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?rhel} < 6 && 0%{?fedora} <= 6
|
||||
BuildRequires: termcap
|
||||
@ -176,38 +171,17 @@ BuildRequires: db-devel
|
||||
%else
|
||||
BuildRequires: db4-devel
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
#BuildRequires: mono-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: which
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: libtheora-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: net-snmp-devel
|
||||
BuildRequires: libmemcached-devel
|
||||
BuildRequires: portaudio-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: broadvoice-devel
|
||||
BuildRequires: flite-devel
|
||||
BuildRequires: ilbc2-devel
|
||||
BuildRequires: g722_1-devel
|
||||
BuildRequires: codec2-devel
|
||||
BuildRequires: libsilk-devel
|
||||
BuildRequires: libyuv-devel >= 0.0.1280
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: mongo-c-driver-devel
|
||||
BuildRequires: opus-devel
|
||||
BuildRequires: soundtouch-devel >= 1.7.1
|
||||
%if %{build_py26_esl}
|
||||
BuildRequires: python26-devel
|
||||
Requires: python26
|
||||
%endif
|
||||
Requires: alsa-lib
|
||||
Requires: libogg
|
||||
Requires: libvorbis
|
||||
Requires: curl
|
||||
@ -225,7 +199,6 @@ Requires: db4
|
||||
Requires: gdbm
|
||||
Requires: zlib
|
||||
Requires: libtiff
|
||||
Requires: python
|
||||
Requires: libtheora
|
||||
Requires: libxml2
|
||||
Requires: libsndfile
|
||||
@ -385,6 +358,7 @@ Engine. Uses ODBC to connect to the DB of your choice.
|
||||
Summary: FreeSWITCH mod_enum
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: ldns-devel
|
||||
|
||||
%description application-enum
|
||||
Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions
|
||||
@ -492,6 +466,7 @@ Provides FreeSWITCH mod_limit, provide application to limit both concurrent and
|
||||
Summary: FreeSWITCH mod_memcache
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: libmemcached-devel
|
||||
|
||||
%description application-memcache
|
||||
Provides FreeSWITCH mod_memcache, implements an API interface to memcached which
|
||||
@ -503,6 +478,7 @@ alleviating database load."
|
||||
Summary: FreeSWITCH mod_mongo
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: mongo-c-driver-devel
|
||||
|
||||
%description application-mongo
|
||||
Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb.
|
||||
@ -584,6 +560,7 @@ and appearance of the programmable softkeys on Snom phones
|
||||
Summary: FreeSWITCH mod_soundtouch
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: soundtouch-devel >= 1.7.1
|
||||
|
||||
%description application-soundtouch
|
||||
Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do
|
||||
@ -660,6 +637,8 @@ system for backend voicemail systems
|
||||
Summary: FreeSWITCH mod_flite
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: flite >= 2.0.0
|
||||
BuildRequires: flite-devel >= 2.0.0
|
||||
|
||||
%description asrtts-flite
|
||||
Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
|
||||
@ -668,6 +647,7 @@ Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
|
||||
Summary: FreeSWITCH mod_pocketsphinx
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: bison
|
||||
|
||||
%description asrtts-pocketsphinx
|
||||
Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource
|
||||
@ -717,6 +697,7 @@ Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony pla
|
||||
Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: broadvoice-devel
|
||||
|
||||
%description codec-bv
|
||||
BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
|
||||
@ -725,6 +706,7 @@ BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source
|
||||
Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: codec2-devel
|
||||
|
||||
%description codec-codec2
|
||||
CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
|
||||
@ -761,6 +743,7 @@ Summary: iLCB Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ilbc2
|
||||
BuildRequires: ilbc2-devel
|
||||
|
||||
|
||||
%description codec-ilbc
|
||||
@ -794,6 +777,8 @@ MP4V Video Codec support for FreeSWITCH open source telephony platform
|
||||
Summary: Opus Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: opus >= 1.1
|
||||
BuildRequires: opus-devel >= 1.1
|
||||
|
||||
%description codec-opus
|
||||
OPUS Codec support for FreeSWITCH open source telephony platform
|
||||
@ -815,6 +800,7 @@ Sangoma D100 and D500 Codec Card Support
|
||||
Summary: Silk Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: libsilk-devel
|
||||
|
||||
%description codec-silk
|
||||
Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
|
||||
@ -823,6 +809,7 @@ Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
|
||||
Summary: Siren Codec support for FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: g722_1-devel
|
||||
|
||||
%description codec-siren
|
||||
Siren Codec support for FreeSWITCH open source telephony platform. Using
|
||||
@ -921,6 +908,7 @@ Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: alsa-lib
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: portaudio-devel
|
||||
|
||||
%description endpoint-portaudio
|
||||
PortAudio endpoint support for FreeSWITCH open source telephony platform.
|
||||
@ -959,52 +947,6 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description endpoint-rtc
|
||||
Verto protocol support for FreeSWITCH open source telephony platform.
|
||||
|
||||
%package freetdm
|
||||
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description freetdm
|
||||
FreeTDM
|
||||
|
||||
%if %{build_sng_isdn}
|
||||
|
||||
%package freetdm-sng-isdn
|
||||
Summary: Sangoma ISDN Module for FreeTDM
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-freetdm = %{version}-%{release}
|
||||
Requires: wanpipe
|
||||
Requires: libsng_isdn
|
||||
BuildRequires: wanpipe
|
||||
BuildRequires: libsng_isdn
|
||||
|
||||
%description freetdm-sng-isdn
|
||||
Sangoma ISDN Module for freetdm
|
||||
|
||||
%endif
|
||||
|
||||
%if %{build_sng_ss7}
|
||||
|
||||
%package freetdm-sng-ss7
|
||||
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH, Sangoma SS7 Module
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-freetdm = %{version}-%{release}
|
||||
Requires: wanpipe
|
||||
Requires: libsng_ss7
|
||||
BuildRequires: wanpipe
|
||||
BuildRequires: libsng_ss7
|
||||
%if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6
|
||||
Requires: openssl098e
|
||||
BuildRequires: openssl098e
|
||||
%endif
|
||||
|
||||
%description freetdm-sng-ss7
|
||||
Sangoma SMG-SS7 drivers for FreeTDM
|
||||
|
||||
%endif
|
||||
|
||||
######################################################################################################################
|
||||
# FreeSWITCH Event Handler Modules
|
||||
######################################################################################################################
|
||||
@ -1012,7 +954,8 @@ Sangoma SMG-SS7 drivers for FreeTDM
|
||||
%package event-cdr-mongodb
|
||||
Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: mongo-c-driver-devel
|
||||
|
||||
%description event-cdr-mongodb
|
||||
MongoDB CDR Logger for FreeSWITCH
|
||||
@ -1158,6 +1101,7 @@ a native format sound file is available then FreeSWITCH can use it.
|
||||
Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: portaudio-devel
|
||||
|
||||
%description format-portaudio-stream
|
||||
Portaudio Streaming interface Audio for FreeSWITCH
|
||||
@ -1227,6 +1171,7 @@ Implements TGML Tone Generation for the FreeSWITCH open source telephony platfor
|
||||
Summary: Lua support for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: lua-devel
|
||||
|
||||
%description lua
|
||||
|
||||
@ -1235,6 +1180,8 @@ Summary: Perl support for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: perl
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
|
||||
%description perl
|
||||
|
||||
@ -1242,7 +1189,8 @@ Requires: perl
|
||||
Summary: Python support for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: python
|
||||
Requires: python
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description python
|
||||
|
||||
@ -1389,6 +1337,8 @@ The Perl ESL module allows for native interaction with FreeSWITCH over the event
|
||||
%package -n python-ESL
|
||||
Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
|
||||
Group: System Environment/Libraries
|
||||
Requires: python
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description -n python-ESL
|
||||
The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
|
||||
@ -1567,7 +1517,7 @@ DIRECTORIES_MODULES=""
|
||||
# Endpoints
|
||||
#
|
||||
######################################################################################################################
|
||||
ENDPOINTS_MODULES="endpoints/mod_dingaling ../../libs/freetdm/mod_freetdm \
|
||||
ENDPOINTS_MODULES="endpoints/mod_dingaling \
|
||||
endpoints/mod_loopback endpoints/mod_portaudio endpoints/mod_rtmp \
|
||||
endpoints/mod_skinny endpoints/mod_verto endpoints/mod_rtc endpoints/mod_sofia"
|
||||
|
||||
@ -2351,32 +2301,6 @@ fi
|
||||
%files endpoint-rtc
|
||||
%{MODINSTDIR}/mod_rtc.so*
|
||||
|
||||
######################################################################################################################
|
||||
#
|
||||
# FreeTDM Module for TDM Interaction
|
||||
#
|
||||
######################################################################################################################
|
||||
%files freetdm
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/tones.conf
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/freetdm.conf.xml
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/pika.conf
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/freetdm.conf
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/wanpipe.conf
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/zt.conf
|
||||
%{LIBDIR}/libfreetdm.so*
|
||||
%{MODINSTDIR}/mod_freetdm.so*
|
||||
%{MODINSTDIR}/ftmod_skel*.so*
|
||||
%{MODINSTDIR}/ftmod_[a-r,t-z]*.so*
|
||||
|
||||
%if %{build_sng_ss7}
|
||||
%files freetdm-sng-ss7
|
||||
%{MODINSTDIR}/ftmod_sangoma_ss7.so*
|
||||
%endif
|
||||
|
||||
%if %{build_sng_isdn}
|
||||
%files freetdm-sng-isdn
|
||||
%{MODINSTDIR}/ftmod_sangoma_isdn.so*
|
||||
%endif
|
||||
|
||||
######################################################################################################################
|
||||
#
|
||||
|
@ -285,6 +285,8 @@ SWITCH_DECLARE(switch_vid_spy_fmt_t) switch_media_bug_parse_spy_fmt(const char *
|
||||
/*!
|
||||
\brief Add a media bug to the session
|
||||
\param session the session to add the bug to
|
||||
\param function user defined module/function/reason identifying this bug
|
||||
\param target user defined identification of the target of the bug
|
||||
\param callback a callback for events
|
||||
\param user_data arbitrary user data
|
||||
\param stop_time absolute time at which the bug is automatically removed (or 0)
|
||||
|
@ -1340,6 +1340,7 @@ static switch_status_t avmd_parse_cmd_data(avmd_session_t *s, const char *cmd_da
|
||||
/* iterate over params, check if they mean something to us, set */
|
||||
idx = 0;
|
||||
while (idx < argc) {
|
||||
switch_assert(argv[idx]);
|
||||
status = avmd_parse_cmd_data_one_entry(argv[idx], &settings);
|
||||
if (status != SWITCH_STATUS_SUCCESS) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(s->session), SWITCH_LOG_ERROR,
|
||||
|
@ -6536,6 +6536,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
|
||||
switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38_REQ);
|
||||
switch_channel_set_app_flag_key("T38", tech_pvt->channel, CF_APP_T38_FAIL);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s T38 invite failed\n", switch_channel_get_name(tech_pvt->channel));
|
||||
sofia_set_flag(tech_pvt, TFLAG_SDP);
|
||||
}
|
||||
|
||||
|
||||
|
@ -3223,7 +3223,7 @@ static switch_bool_t verto__modify_func(const char *method, cJSON *params, jsock
|
||||
}
|
||||
|
||||
if ((b_session = switch_core_session_locate(replace_call_id))) {
|
||||
err = (int) attended_transfer(session, b_session);
|
||||
err = (int) !attended_transfer(session, b_session);
|
||||
if (err) {
|
||||
cJSON_AddItemToObject(obj, "message", cJSON_CreateString("transfer failed"));
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ MONGO_EXPORT int mongo_connect( mongo *conn , const char *host, int port ) {
|
||||
mongo_init( conn );
|
||||
|
||||
conn->primary = bson_malloc( sizeof( mongo_host_port ) );
|
||||
strncpy( conn->primary->host, host, strlen( host ) + 1 );
|
||||
strncpy( conn->primary->host, host, sizeof(conn->primary->host) - 1 );
|
||||
conn->primary->port = port;
|
||||
conn->primary->next = NULL;
|
||||
|
||||
@ -438,7 +438,7 @@ static void mongo_replset_add_node( mongo_host_port **list, const char *host, in
|
||||
mongo_host_port *host_port = bson_malloc( sizeof( mongo_host_port ) );
|
||||
host_port->port = port;
|
||||
host_port->next = NULL;
|
||||
strncpy( host_port->host, host, strlen( host ) + 1 );
|
||||
strncpy( host_port->host, host, sizeof(host_port->host) - 1 );
|
||||
|
||||
if( *list == NULL )
|
||||
*list = host_port;
|
||||
@ -618,7 +618,7 @@ MONGO_EXPORT int mongo_replset_connect( mongo *conn ) {
|
||||
|
||||
/* Primary found, so return. */
|
||||
else if( conn->replset->primary_connected ) {
|
||||
strncpy( conn->primary->host, node->host, strlen( node->host ) + 1 );
|
||||
snprintf( conn->primary->host, sizeof(conn->primary->host), "%s", node->host );
|
||||
conn->primary->port = node->port;
|
||||
return MONGO_OK;
|
||||
}
|
||||
@ -1246,10 +1246,13 @@ MONGO_EXPORT int mongo_find_one( mongo *conn, const char *ns, const bson *query,
|
||||
}
|
||||
|
||||
MONGO_EXPORT void mongo_cursor_init( mongo_cursor *cursor, mongo *conn, const char *ns ) {
|
||||
size_t len = strlen(ns) + 1;
|
||||
memset( cursor, 0, sizeof( mongo_cursor ) );
|
||||
cursor->conn = conn;
|
||||
cursor->ns = ( const char * )bson_malloc( strlen( ns ) + 1 );
|
||||
strncpy( ( char * )cursor->ns, ns, strlen( ns ) + 1 );
|
||||
cursor->ns = ( const char * )bson_malloc( len );
|
||||
if (cursor->ns) {
|
||||
strncpy((char *)cursor->ns, ns, len);
|
||||
}
|
||||
cursor->current.data = NULL;
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ int ei_spawn(struct ei_cnode_s *ec, int sockfd, erlang_ref * ref, char *module,
|
||||
void ei_init_ref(ei_cnode * ec, erlang_ref * ref)
|
||||
{
|
||||
memset(ref, 0, sizeof(*ref)); /* zero out the struct */
|
||||
snprintf(ref->node, MAXATOMLEN, "%s", ec->thisnodename);
|
||||
snprintf(ref->node, MAXATOMLEN + 1, "%s", ec->thisnodename);
|
||||
|
||||
switch_mutex_lock(mod_erlang_event_globals.ref_mutex);
|
||||
mod_erlang_event_globals.reference0++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user