Commit Graph

32214 Commits

Author SHA1 Message Date
Andrey Volk 3f3cd7343b FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript. 2016-12-27 04:18:14 +03:00
Sebastian Kemper 8c94e6f57f 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-23 21:44:30 +01:00
Sebastian Kemper 1568194ce5 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-23 21:44:27 +01:00
Sebastian Kemper 8063ad658b 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-23 21:44:25 +01:00
Sebastian Kemper 3a25d0b20c 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-23 21:44:17 +01:00
Mike Jerris ddf48b8602 Merge pull request #1105 in FS/freeswitch from bugfix/FS-9832-start-a-single-gateway to master
* commit '50e0f0195e67208889f15a439ea6ccb567b862e7':
  FS-9832 start a single gateway or _all_ gateways
2016-12-23 14:15:53 -06:00
Mike Jerris 35fd25c4f3 Merge pull request #1117 in FS/freeswitch from ~ANTONIO/freeswitch:feature/FS-6893-mod_conference-auto-record-create to master
* commit '38c3f5f66e775d814b5e3d5581aed5b2f41b6fd1':
  FS-6893 [mod_conference] recording auto creates file path if not exists
2016-12-23 14:11:17 -06:00
Anthony Minessale d7dbd7ef61 FS-4102: [mod_sofia] invite to gateway without registration goes to another wrong host #resolve 2016-12-22 16:13:44 -06:00
Anthony Minessale cf506d2f02 FS-9880: [freeswitch-core] Code to check for text-only is too soon in app processing #resolve 2016-12-22 13:03:54 -06:00
Mike Jerris afff6b0c87 Merge pull request #1121 in FS/freeswitch from ~SHAILESHPLIVO/freeswitch:bugfix/FS-9876-incoming-rtp-packet-loss-calculation to master
* commit 'a8351e001c726e0fc741a4d43adffa56f109eb65':
  FS-9876 switch_rtp this fix issue of rtcp lost packet count
2016-12-22 11:28:33 -06:00
shaileshplivo a8351e001c FS-9876 switch_rtp this fix issue of rtcp lost packet count 2016-12-22 17:07:51 +00:00
Mike Jerris d1ccc77d4f FS-9854: [mod_sofia] SDP O/A fails to put sdp in messages after certain kinds of sip traffic 2016-12-22 11:32:13 -05:00
Antonio 5dfc63c126 FS-9877 [mod_loopback] fix no audio 2016-12-22 14:55:51 +01:00
Anthony Minessale 68c0451589 FS-9871: [freeswitch-core] DTMF not delivered on B leg of a bridge when A leg has no media #resolve 2016-12-21 16:09:54 -06:00
Anthony Minessale a788715bb3 FS-9870: [freeswitch-core] playback_timeout_sec does not stop a delimited playback #resolve 2016-12-21 15:36:03 -06:00
Italo Rossi b02df24504 FS-9869 [mod_callcenter] Exporting cc_queue_joined_epoch when originating agent outbound leg 2016-12-21 12:14:04 -03:00
Antonio 38c3f5f66e FS-6893 [mod_conference] recording auto creates file path if not exists 2016-12-21 13:53:18 +01:00
Mike Jerris 1e0b827c08 Merge pull request #1067 in FS/freeswitch from ~WHENRY/freeswitch:improvement/FS-9760_remove_whitespace to master
* commit '46b63a4bb6f67d8066a354e55ea6bbd10d7d53fa':
  FS-9760 Removed the un-needed whitespace from the file
2016-12-20 18:45:35 -06:00
Anthony Minessale 914a6e764f FS-9866: [freeswitch-core] 3pcc=proxy for FS client and local SDP #resolve 2016-12-20 18:28:15 -06:00
Mike Jerris 43f3b0b789 Merge pull request #1115 in FS/freeswitch from ~SEBASTIAN/freeswitch:enhancement/FS-9858-add-switches-to-disable-freetype-and-libpng to master
* commit 'ca7e3694a56d5a817b78b8802d9c24269b1c4138':
  FS-9858: add configure switches to disable libpng and freetype support
2016-12-20 18:13:40 -06:00
Brian West eef2313a40 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-20 16:19:30 -06:00
Sebastian Kemper ca7e3694a5 FS-9858: add configure switches to disable libpng and freetype support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2016-12-20 19:21:37 +01:00
Anthony Minessale ade6e856a2 FS-9745: [mod_sofia] Call to FS WebRTC Gateway fails when no SDP on invite #resolve 2016-12-20 12:20:41 -06:00
Anthony Minessale 5fa4374451 FS-9206: [mod_sofia] FS not update proxy media RTP stream params when SDP is changed #resolve 2016-12-20 11:22:18 -06:00
Anthony Minessale 634490495f FS-9806: [mod_loopback] mod_loopback: bowout is always done even if set to false loopback_bowout_on_execute=false,loopback_bowout=false #resolve 2016-12-20 11:08:17 -06:00
Anthony Minessale fae3d9693d FS-9863: [] video_width/video_height unset with playback application #resolve 2016-12-19 17:53:50 -06:00
Mike Jerris aefba211ca Merge pull request #1106 in FS/freeswitch from ~J0SH/freeswitch:echofix to master
* commit '2a32e016ddb11d2a72eaf349e166e95a9bcac0b7':
  FS-9725: Fix echo if blank image is disabled.
2016-12-19 16:05:56 -06:00
Brian West 82e4901d7c fix typo %ignore 2016-12-15 14:03:57 -06:00
Brian West e634e538ac swigall 2016-12-14 14:09:11 -06:00
Brian West 48fab6f6db FS-9851: [freeswitch-core] Add abstimeout to CoreSession:getDigits in switch_cpp #resolve 2016-12-14 14:06:20 -06:00
Brian West 78a5660127 %ignore update fixbug.pl to include component 2016-12-13 17:01:41 -06:00
Brian West 3387b90705 FS-9829 #resolve [FreeSWITCH 200ok to second reINVITE on a dialog doesn't contain an SDP.] 2016-12-13 16:39:57 -06:00
Brian West 2ce5bcd0f6 FS-9825 fix spec file from amrwb merge 2016-12-13 16:33:46 -06:00
Brian West 452257e793 Merge pull request #1108 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9843-avmd-remove-not-used-defines to master
* commit 'df80234f0713c512374352e31044a54517b5f981':
  FS-9843 [mod_avmd] Remove unused defines
2016-12-13 10:37:08 -06:00
Brian West 4d71ed84db FS-9808 #resolve [mod_png issue when used with ivr as video input] 2016-12-13 09:32:02 -06:00
Piotr Gregor df80234f07 FS-9843 [mod_avmd] Remove unused defines 2016-12-13 10:13:37 +00:00
Josh Allmann 2a32e016dd FS-9725: Fix echo if blank image is disabled. 2016-12-12 11:16:53 -05:00
Brian West 6522572104 FS-9836 #resolve [t38_gateway doesn't function properly after FS-9638 merge] 2016-12-09 16:53:21 -06:00
Anthony Minessale 82b49c30d5 add coding guidelines 2016-12-09 13:59:17 -06:00
Italo Rossi 2ab3b14c1f FS-9835 [mod_callcenter] Fix segfault when passing freed pointer to cc_send_presence due to queue unload/reload 2016-12-09 16:34:05 -03:00
Seven Du 50e0f0195e FS-9832 start a single gateway or _all_ gateways 2016-12-08 20:47:22 +08:00
Chris Rienzo 8ab65c8c34 FS-9827 [mod_hiredis] handle NIL reply 2016-12-07 14:53:29 -05:00
Mike Jerris a38b246a6e Merge pull request #1101 in FS/freeswitch from ~MOTEUS/freeswitch:mod_lua_leak to master
* commit '672b5d8309b57f4f6996bded4fa365b90a8516ac':
  FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua
2016-12-07 13:31:57 -06:00
Brian West ce7b2301be Merge pull request #1102 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9824-fix-tone2wav-segfault to master
* commit '4ed1433cc6dd6936c1f1e474e653cbb45593c937':
  FS-9824 [tone2wav.c] Fix segfault on tone2wav
2016-12-07 13:31:32 -06:00
Brian West a8da1d7cff Merge pull request #1104 in FS/freeswitch from ~CRIENZO/freeswitch:fs-9826 to master
* commit '74ecc8882ff59f5f8aacaef28a59d1c0d33192ab':
  FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state
2016-12-07 13:05:55 -06:00
Alexey Melnichuk 672b5d8309 FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua 2016-12-07 21:56:22 +03:00
Brian West 8dbafb8c13 FS-9825 fix config file for amr and add the amrwb config 2016-12-07 12:55:50 -06:00
Chris Rienzo 74ecc8882f FS-9826 reset jitter buffer if SSRC changes regardless of jitter buffer paused state 2016-12-07 13:44:31 -05:00
Brian West c0e3224f6e Merge pull request #1103 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:amrwb_encode_decode to master
* commit '3ccf1704c16ef32ae8d2469f2da960021310dfd5':
  FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes)
2016-12-07 11:20:49 -06:00
Dragos Oancea 3ccf1704c1 FS-9825: Added AMR-WB transcoding capabilities (in both Bandwidth Efficient and Octet Aligned modes) 2016-12-07 12:06:01 -05:00