31602 Commits

Author SHA1 Message Date
Sebastian Kemper
8c12569d0e FS-9840 mod_avmd: Fix implicit declaration warning
Fix the following compile-time warning:

making all mod_avmd
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/applications/mod_avmd'
  CC       mod_avmd_la-mod_avmd.lo
mod_avmd.c: In function 'avmd_process_sample':
mod_avmd.c:49:19: error: implicit declaration of function '__isinf' [-Werror=implicit-function-declaration]
 #define ISINF(x) (__isinf(x))
                   ^
mod_avmd.c:2038:33: note: in expansion of macro 'ISINF'
         if (ISNAN(amplitude) || ISINF(amplitude)) {
                                 ^
cc1: all warnings being treated as errors
Makefile:682: recipe for target 'mod_avmd_la-mod_avmd.lo' failed

Fix this by adding the declaration for __isinf(), the same is done for
__isnan() already

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-30 15:30:57 -06:00
Sebastian Kemper
2235ebb303 FS-9840 sofia-sip: fix implicit declaration warning
This fixes the following compile-time warning:

cc1: note: someone does not honour COPTS correctly, passed 2 times
	 LTCOMPILE tport_type_connect.lo
cc1: note: someone does not honour COPTS correctly, passed 2 times
	 LTCOMPILE tport_type_ws.lo
cc1: note: someone does not honour COPTS correctly, passed 2 times
	 LTCOMPILE ws.lo
cc1: note: someone does not honour COPTS correctly, passed 2 times
ws.c: In function 'hton64':
ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration]
  else return __bswap_64(val);
              ^
cc1: all warnings being treated as errors
Makefile:1465: recipe for target 'ws.lo' failed
make[12]: *** [ws.lo] Error 1

Fix by including byteswap.h, which is available on Linux and also
everywhere glibc is used (wpa_supplicant includes this header the same
way).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-30 15:30:43 -06:00
Sebastian Kemper
af111ba0a1 FS-9840 mod-verto: fix implicit declaration warning
This fixes the following compile-time warning:

making all mod_verto
make[7]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_verto'
  CC       mod_verto_la-mod_verto.lo
  CC       mod_verto_la-ws.lo
ws.c: In function 'hton64':
ws.c:730:14: error: implicit declaration of function '__bswap_64' [-Werror=implicit-function-declaration]
  else return __bswap_64(val);
              ^
cc1: all warnings being treated as errors

Fix by including byteswap.h, which is available on Linux and also
everywhere glibc is used (wpa_supplicant includes this header the same
way).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-30 15:30:32 -06:00
Sebastian Kemper
03e1aeae65 FS-9840 mod_sofia: fix redefine warning
This fixes the following compile-time warning:

make[8]: Entering directory '/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/src/mod/endpoints/mod_sofia'
  CC       mod_sofia_la-mod_sofia.lo
  CC       mod_sofia_la-sofia.lo
  CC       mod_sofia_la-sofia_glue.lo
  CC       mod_sofia_la-sofia_presence.lo
  CC       mod_sofia_la-sofia_reg.lo
  CC       mod_sofia_la-sofia_media.lo
  CC       mod_sofia_la-sip-dig.lo
In file included from sip-dig.c:137:0:
/home/sk/tmp/lede/build_dir/target-mips_24kc_musl-1.1.15/freeswitch-1.8.0/libs/sofia-sip/libsofia-sip-ua/bnf/../../config.h:522:0: error: "__BYTE_ORDER" redefined [-Werror]
 #define __BYTE_ORDER __BIG_ENDIAN
 ^
In file included from /home/sk/tmp/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/sys/types.h:70:0,
                 from ../../../../src/include/switch.h:107,
                 from sip-dig.c:135:
/home/sk/tmp/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/include/endian.h:11:0: note: this is the location of the previous definition
 #define __BYTE_ORDER __BYTE_ORDER__
 ^
cc1: all warnings being treated as errors

SWITCH_BYTE_ORDER is already used elsewhere in FS source and takes care
of changing byte order without causing a warning

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-30 15:30:16 -06:00
Antonio
29eb20b861 FS-6893 [mod_conference] recording auto creates file path if not exists 2016-12-30 15:29:31 -06:00
Anthony Minessale
4d0cead866 FS-4102: [mod_sofia] invite to gateway without registration goes to another wrong host #resolve
Conflicts:
	libs/sofia-sip/.update
2016-12-30 15:29:12 -06:00
shaileshplivo
1f56b77bda FS-9876 switch_rtp this fix issue of rtcp lost packet count 2016-12-30 15:28:21 -06:00
Mike Jerris
912291e80b FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after certain kinds of sip traffic 2016-12-30 15:27:51 -06:00
Anthony Minessale
70121a3edb FS-9871: [freeswitch-core] DTMF not delivered on B leg of a bridge when A leg has no media #resolve 2016-12-30 15:27:36 -06:00
Anthony Minessale
bf469f07a7 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-30 15:27:23 -06:00
Italo Rossi
445f9a7b0f FS-9869 [mod_callcenter] Exporting cc_queue_joined_epoch when originating agent outbound leg 2016-12-30 15:27:08 -06:00
William Henry
ff07c91c4e FS-9760 Removed the un-needed whitespace from the file 2016-12-30 15:26:33 -06:00
Anthony Minessale
76f14e5a3b FS-9866: [freeswitch-core] 3pcc=proxy for FS client and local SDP #resolve 2016-12-30 15:26:11 -06:00
Sebastian Kemper
b32dc985c1 FS-9858: add configure switches to disable libpng and freetype support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>

Conflicts:
	configure.ac
2016-12-30 15:25:50 -06:00
Brian West
cadf011277 FS-9846: [mod_sofia] Bugs related with Hold and Proxy Hold option added in FS-9192 after merges in 1.6.11 #resolve 2016-12-30 15:23:54 -06:00
Anthony Minessale
4a3a021c8c FS-9745: [mod_sofia] Call to FS WebRTC Gateway fails when no SDP on invite #resolve 2016-12-30 15:23:28 -06:00
Anthony Minessale
241f3e0a5f FS-9863: [] video_width/video_height unset with playback application #resolve 2016-12-30 15:20:56 -06:00
Josh Allmann
ef62523f2a FS-9725: Fix echo if blank image is disabled. 2016-12-30 15:19:45 -06:00
Brian West
23d6663c7a fix typo %ignore 2016-12-30 15:19:28 -06:00
Brian West
e94de3eb03 %ignore update fixbug.pl to include component 2016-12-30 15:18:38 -06:00
Brian West
660f79e350 FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog doesn't contain an SDP.] 2016-12-30 15:18:23 -06:00
Piotr Gregor
028f0f4df9 FS-9843 [mod_avmd] Remove unused defines 2016-12-30 15:17:36 -06:00
Brian West
6245a4d193 FS-9808 #resolve [mod_png issue when used with ivr as video input] 2016-12-30 15:17:11 -06:00
Chris Rienzo
7077819039 FS-9827 [mod_hiredis] handle NIL reply 2016-12-30 15:15:05 -06:00
Alexey Melnichuk
12483d5ee3 FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua 2016-12-30 15:12:36 -06:00
Sebastian Kemper
01c1060688 FS-9824 [tone2wav.c] Fix segfault on tone2wav
I checked fs_encode and saw that it terminates itself a bit differently, so I applied the same to tone2wav and the segfaults went away

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-30 15:12:14 -06:00
Chris Rienzo
f45b19d53e FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state 2016-12-30 15:11:52 -06:00
Brian West
b32109b884 FS-9816 yasm is not a runtime dependency, its only needed to build libvpx when compiling 2016-12-30 15:11:07 -06:00
Seven Du
efaab35430 FS-9817 #resolve fix regression from 828d6eaf0177caff9b60052be3c83b2008f85416 2016-12-30 15:10:55 -06:00
Luis Azedo
5bb50046b3 FS-9813 [mod_kazoo] add kz_http_put 2016-12-30 15:08:21 -06:00
Sergey Safarov
6d4e83ed2c FS-9805: Organized prompts in phrase_en.xml 2016-12-30 15:07:51 -06:00
Sergey Safarov
c63229e5ef FS-9805: Created script to compare XML traslation files with phrase_en.xml 2016-12-30 15:07:39 -06:00
Brian West
174a1e2458 FS-9812 fix label that is only used when zrtp or srtp are enabled 2016-12-30 15:07:24 -06:00
Marc Olivier Chouinard
0cf6445cc2 FS-9788: Add close() option to FileIO implementation 2016-12-30 15:07:09 -06:00
Marc Olivier Chouinard
251d59f167 FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause 2016-12-30 15:05:00 -06:00
nneul at mst.edu
44ab5cb413 FS-8733 FS-9804 various phrase updates 2016-12-30 15:04:34 -06:00
nneul at mst.edu
02e5191698 FS-9804 broken closing tag 2016-12-30 15:04:24 -06:00
Brian West
88274afc60 FS-9799 rotate and increase log file size 2016-12-30 15:03:46 -06:00
Muhammad Zaka
5e69c625ee FS-9277: sip info with record: on and off doesn't start and stop call recording sessions 2016-12-30 15:03:22 -06:00
nneul at mst.edu
9dbbc97cd0 FS-9801 fix incorrect xml sections for phrase files 2016-12-30 15:03:00 -06:00
Mike Jerris
20966a1d03 FS-9800: [core] add new accessor functions to core statistics for use in modules 2016-12-30 15:02:33 -06:00
Brian West
6e6d85903e tweak our bashrc %ignore 2016-12-30 15:01:15 -06:00
Seven Du
238729da62 FS-9787 #resolve remove duplicated headers in conference del-member events 2016-12-30 15:00:49 -06:00
Roman Sukhov
cb03c607cb FS-9780 [spandsp] Change MAX_COMMAND_TRIES to 6 2016-12-30 14:58:31 -06:00
Luis Azedo
14d18a0977 FS-9735 - send unknown headers to switch_ivr_set_user
creeates switch_ivr_set_user_extended to receive params to pass to xml_locate_user
2016-12-30 14:56:36 -06:00
Tamas Cseke
e6f928ca79 Remove arg limit
Allocate dynamically
FS-9762 --resolve
2016-12-30 14:56:01 -06:00
Aron Podrigal
65e0908128 FS-9758: switch_sql_queue_manager_destroy() avoid null pointer deref
If passed in *qmp is a null pointer return `SWITCH_STATUS_NOOP`
2016-12-30 14:55:35 -06:00
Mike Jerris
cc75fd8307 FS-9581: [windows] fix function signatures in switch_estimators.c 2016-12-30 14:44:30 -06:00
Mike Jerris
801d594637 FS-9581: add new required source files to core build 2016-12-30 14:44:24 -06:00
Mike Jerris
54856f08ee FS-9581: [windows] don't define symbols before pch include 2016-12-30 14:44:17 -06:00