15289 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexey Melnichuk
672b5d8309 FS-9821 [mod_lua] Fix. memory/resource leak in mod_lua 2016-12-07 21:56:22 +03: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
Brian West
df8f7f4639 FS-9823 free subclass properly 2016-12-07 08:41:45 -06:00
Marc Olivier Chouinard
8c1ed38d5e FS-9792: Set channel variable based on the sip phone Accept Language SIP message 2016-12-06 17:17:39 -05:00
Seven Du
6528ae00b5 FS-9817 #resolve fix regression from 828d6eaf0177caff9b60052be3c83b2008f85416 2016-12-06 11:33:01 +08:00
Anthony Minessale II
dc63b63ec0 Merge pull request #1095 in FS/freeswitch from bugfix/FS-9810-ws-write-fail-on-slow-network to master
* commit 'b26fa6e17ce40f5ad982b41142389bca0d420427':
  FS-9810 fix ws write fail on slow network
2016-12-05 15:09:39 -06:00
Mike Jerris
a9c13d3fc6 Merge pull request #1098 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9813 to master
* commit '01decbf434ea323c155fec5e863f5e51e55bad97':
  FS-9813 [mod_kazoo] add kz_http_put
2016-12-05 12:02:13 -06:00
Luis Azedo
01decbf434 FS-9813 [mod_kazoo] add kz_http_put 2016-12-05 08:09:35 +00:00
Brian West
2af53f5a30 Merge pull request #1080 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9788 to master
* commit '347c93f1c1360d7f03d337d4b428cd24ad6d7b16':
  FS-9788: Add close() option to FileIO implementation
2016-12-04 06:53:51 -06:00
Brian West
8853873d68 Merge pull request #1090 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-9798-implement-native-postgresql-in-javascript to master
* commit 'fff5b939b58d47aed98b5f26b21282e82e25ee14':
  FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class
2016-12-04 06:53:07 -06:00
Seven Du
b26fa6e17c FS-9810 fix ws write fail on slow network 2016-12-04 12:49:46 +08:00
Brian West
89063a1a4c FS-9765 one tweak from submitted patch to use switch_channel_var_true instead of switch_channel_get_variable no need to allocate on every hold/unhold just to check if this is enabled. 2016-12-02 11:51:49 -06:00
Brian West
c9a05d7e60 Merge pull request #1077 in FS/freeswitch from ~STEPHALNET/freeswitch:FS-9777 to master
* commit '86bcee03518ff5ecbb7bae8e78f3821b4027ad09':
  remove redundant `if (rep)` statement
2016-12-02 11:44:04 -06:00
Brian West
5ec6248dff Merge pull request #1086 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9794 to master
* commit 'ac14496c73c8f15e1b433189fe6bf78e31b772ec':
  FS-9794: Set the result cause of an originate failed cause to variable originate_failed_cause
2016-12-02 11:36:33 -06:00
Brian West
dac1b67c20 Merge pull request #888 in FS/freeswitch from ~MZAKA/freeswitch:bugfix/FS-9277-sip-info-record to master
* commit 'addf7555bff15889d73e48bf70445d6d27d79fce':
  FS-9277: sip info with record: on and off doesn't start and stop call recording sessions
2016-12-01 20:22:57 -06:00