31899 Commits

Author SHA1 Message Date
Brian West
e6a12500f1 Additional test cases for FS-9855 2017-01-04 10:32:47 -06:00
Tihomir Culjaga
1f7a7e336f FS-9873 mod_verto a1-hash - squashed 2017-01-04 06:48:35 -06:00
Anthony Minessale
e313b6ea3f FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2017-01-03 18:32:32 -06:00
Mike Jerris
565e7cde45 Merge pull request #1128 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9896-mod_v8-implement-serving-configuration to master
* commit 'a3a8d7e6b3a2d48c49196be0d578c023588a006c':
  FS-9896 [mod_v8] Implement Serving Configuration with JavaScript
2017-01-03 17:08:29 -06:00
Mike Jerris
d97f6028d7 Merge pull request #1134 in FS/freeswitch from ~J0SH/freeswitch:byereason to master
* commit '7248a4f3eb0c956e17dc59ab2544e2ed4f0fa689':
  FS-9910 [mod_sofia]: Set SIP reason header for BYE events.
2017-01-03 16:58:11 -06:00
Anthony Minessale
3bb9cefcf1 FS-9912: [mod_conference] floor-only and file-only not working properly in canvas-layouts #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale
15278f6ea0 FS-9911: [mod_conference] Canvas not clearing when video playback of file is done #resolve 2017-01-03 15:30:04 -06:00
Anthony Minessale
6dc2d9feca FS-9881: [core] FS crashing when playing png file #resolve 2017-01-03 15:30:04 -06:00
Josh Allmann
7248a4f3eb FS-9910 [mod_sofia]: Set SIP reason header for BYE events. 2017-01-03 16:21:43 -05:00
Mike Jerris
20697cf0bd Merge pull request #1118 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-9877-mod_loopback-no-audio to master
* commit '5dfc63c126f664cff09ddc6d2a67e05c2426f940':
  FS-9877 [mod_loopback] fix no audio
2017-01-03 14:39:40 -06:00
Mike Jerris
f273ecda3f FS-9903: [msrp] fix namespacing and visibility of some structs 2017-01-03 13:51:30 -06:00
Anthony Minessale
bb199aabde FS-9860 2017-01-03 13:15:03 -06:00
Anthony Minessale
697be5d515 FS-9860 2017-01-03 13:06:20 -06:00
Mike Jerris
ce9c7aa5ca Merge pull request #1129 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-9897-mod_v8-fix-visual-studio-2015-build to master
* commit '31fd8f3654913a5174b7a64bb5ee04df53b98fad':
  FS-9897 [mod_v8] Fix Visual Studio 2015 build
2017-01-03 12:51:15 -06:00
Mike Jerris
19c29ee362 FS-9903: [msrp] fix namespacing and visibility of some structs and defines for ssl private header 2017-01-03 12:46:07 -06:00
Anthony Minessale
ded506f611 FS-9898: [mod_sofia] Call hanging in FS if HOLD not successful #resolve 2017-01-03 12:01:48 -06:00
Anthony Minessale II
848730a320 Merge pull request #1131 in FS/freeswitch from pr/1130 to master
* commit 'c1abfaf4f8f2ec954d9a5ba745c874790e2d279c':
  FS-9903 #resolve #comment fix server side TLS and add client TLS support
2017-01-02 18:06:54 -06:00
Seven Du
c1abfaf4f8 FS-9903 #resolve #comment fix server side TLS and add client TLS support 2017-01-02 18:09:47 -06:00
Seven Du
7e24a79580 FS-9903 WIP MSRP client mode support 2017-01-02 10:34:41 +08:00
Seven Du
0248d38a28 FS-7933 #comment fix incompatible time pointer 2016-12-31 08:53:27 +08:00
Anthony Minessale
57f5932f01 FS-9206: [mod_sofia] proxy media with enable-3pcc=proxy does not properly pass audio after 3pcc re-invite #resolve 2016-12-30 17:36:29 -06:00
Andrey Volk
31fd8f3654 FS-9897 [mod_v8] Fix Visual Studio 2015 build 2016-12-29 23:42:33 +03:00
Italo Rossi
594b36022e [mod_callcenter] FS-9894: Removing reference to call_timeout, use leg_timeout instead 2016-12-29 13:19:02 -03:00
Italo Rossi
72927b994c [mod_callcenter] FS-9891: Checking if we got a valid pointer for a queue 2016-12-29 12:59:24 -03:00
Andrey Volk
a3a8d7e6b3 FS-9896 [mod_v8] Implement Serving Configuration with JavaScript 2016-12-29 03:58:22 +03:00
Brian West
d28f29594f FS-9776: [mod_sofia] SIP Transfer generates high CPU #resolve 2016-12-28 12:40:06 -06:00
Mike Jerris
aa01a265e4 FS-9569: [mod_shout] close file handle when recording mp3 files that never get written to 2016-12-28 12:21:45 -06:00
Italo Rossi
50714ec5e4 [mod_callcenter] FS-9891: Get queue again to increase calls answered and abandoned 2016-12-27 21:35:17 -03:00
Italo Rossi
717dea47fb [mod_callcenter] FS-9347: Do not log as error when the member is gone just before we assigned an agent, now logging as DEBUG 2016-12-27 21:19:57 -03:00
Italo Rossi
e614f8da24 [mod_callcenter] FS-9689 Fixed issue when agent rejects the call while hearing cc_outbound_announce making member (caller) waiting on queue forever 2016-12-27 21:14:57 -03:00
Italo Rossi
5ac10aaf32 [mod_callcenter] FS-9723: Fixing cc_warning_tone, using switch_ivr_play_file instead of queue private event 2016-12-27 20:49:59 -03:00
Italo Rossi
4e6e860fc8 Merge pull request #1126 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:feature/change-wss-server to master
* commit '10646ab9e3f03d1993fd443a48b7b541eb1d6802':
  [verto-communicator] - Added change server feature
2016-12-27 16:36:40 -06:00
Mike Jerris
bd6f03443f Merge pull request #1125 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-7933-v8-allow-non-blocking-socket-access to master
* commit '3f3cd7343ba3a9beecc9b6a074c9955e7c504afd':
  FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript.
2016-12-27 13:33:00 -06:00
Mike Jerris
15632a0bd8 Merge pull request #1084 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9792 to master
* commit '8c1ed38d5eef031e4f471fe5f69ad052a9711997':
  FS-9792: Set channel variable based on the sip phone Accept Language SIP message
2016-12-27 13:30:40 -06:00
Mike Jerris
6e2764776f Merge pull request #1110 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9840-fix-some-warnings-V2 to master
* commit '8c94e6f57fd9adee5e6a12535811fff8e4d9ae46':
  FS-9840 mod_avmd: Fix implicit declaration warning
  FS-9840 sofia-sip: fix implicit declaration warning
  FS-9840 mod-verto: fix implicit declaration warning
  FS-9840 mod_sofia: fix redefine warning
2016-12-27 12:36:58 -06:00
StefanYohansson
10646ab9e3 [verto-communicator] - Added change server feature
When someone set any wss server and do login
VC doesn't record the settings on localStorage,
so when we reload the browser, it will try to connect on
"wss://" + window.location.hostname + ":8082" and if
this wss server is offline for any reason, user will
be stuck on splash screen by auto-login step plus reconnect
modal blocking any action.

- Added button "Change Server" on modal reconnection alert;
- Stop jsonRpcClient retry timeout and delete verto instance
to create a new one when user login with new wss server;
- Record wss server and hostname on localStorage.
2016-12-27 11:25:35 -03:00
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