Mike Jerris
a4db3a4355
Merge pull request #1491 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8900-improve-record_follow_transfer to master
...
* commit '069da397f5b9e7adb10c2c9d8d03f83d195dae37':
Improve recording transfer
2018-09-05 22:34:38 +00:00
Sergey Khripchenko
ad3b396f9b
FS-11362 Small macro tune based on James Dictos comment
2018-08-31 18:28:09 +00:00
Sergey Khripchenko
91e9633ce1
FS-11362 Rearrange poll() errors handling to properly report poll hangup. Handle and log case when client sent close request. Add errno to errors where applicable.
2018-08-30 22:58:14 +00:00
Sergey Khripchenko
523db20068
FS-11362 FS could close client verto connection due to incorrect handling of SSL function return values (when SSL layer need to communicate with client on its own, f.e. keys re-negotiation)
2018-08-30 22:58:07 +00:00
Anthony Minessale
d3e320ef56
FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
...
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);
add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00
Anthony Minessale
cc5dd29028
FS-11154: [freeswitch-core] Improve audio sync during loss #resolve
2018-08-13 18:57:19 +00:00
Andrey Volk
671da28796
FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows.
2018-07-24 07:21:55 +00:00
Anthony Minessale
d9002f19a7
FS-10897: [mod_verto] Possible crash in verto during error condition #resolve
2018-07-24 07:21:39 +00:00
Anthony Minessale
f3d8a3b07a
FS-10762: [freeswitch-core] Websocket logic error
2018-07-24 07:21:35 +00:00
Anthony Minessale
d395223fa2
FS-10762: [freeswitch-core] Websocket logic error #resolve
2018-07-24 07:21:35 +00:00
Anthony Minessale
34f0ab58c1
FS-10762: [freeswitch-core] Websocket logic error #resolve
2018-07-24 07:21:33 +00:00
Anthony Minessale
c5e662c9bc
FS-10762: [freeswitch-core] Websocket logic error
2018-07-24 07:21:33 +00:00
Italo Rossi
8f1b7e066e
Merge pull request #1503 in FS/freeswitch from ~SERGIOKALMIK/freeswitch:bugfix/FS-11088-mod_verto-verto-status-showing-running to master
...
* commit '18f11c7c6d2569ed23df118f14acab2be783601b':
FS-11088: Fixing verto status api
2018-07-23 20:59:30 +00:00
Sergio Filipe
18f11c7c6d
FS-11088: Fixing verto status api
...
Checking if profile server_socket is valid to decide if is running or not
2018-04-04 11:50:14 +00:00
Hunyadvári Péter
069da397f5
Improve recording transfer
...
Use the same method everywhere
Move the bug without stopping and starting the recording over
It was broken in some circumstances and also some settings were lost
FS-8900 --resolve
2018-03-20 09:20:37 +01:00
Hunyadvári Péter
343b343763
FS-10828 [mod_verto] Always renew codec_string on connect
2017-12-06 14:36:19 +01:00
Andrey Volk
ea8c3be8ec
FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows.
2017-10-07 22:50:48 +03:00
Anthony Minessale
2aea0c329b
FS-10468: [mod_verto] Attended Transfer from Mod Verto leaves one channel in limbo. #resolve
2017-09-11 14:47:56 -05:00
Anthony Minessale
eed17a6079
FS-10609: [mod_verto] Invalid pointer in verto channel #resolve
2017-08-24 11:17:11 -05:00
Mike Jerris
9127c41316
Merge pull request #1031 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-9683-pass-call-recovery-status-to-verto to master
...
* commit '34e491ffa1dca32846d1e0fb97e71f5ac7c34d22':
FS-9683: Pass call recovery status to Verto
2017-08-10 18:41:39 +00:00
Anthony Minessale
04067b4e21
FS-10523: [freeswitch-core] Websocket disconnects prematurely #resolve
2017-07-20 02:55:38 -05:00
Anthony Minessale
89e3a7bb4a
FS-9979: [verto.js] When verto client rejects a call returns hangup cause NORMAL_CLEARING #comment passing neither cause or causeCode will result in normal clearing, passing either one of cause or causeCode will result in that value being passed and parsed on the server side, if the cause is valid it will be accepted otherwise it will try to validate causeCode instead, if neither are true it defaults to normal clearing #resolve
2017-07-13 12:52:04 -05:00
Chad Phillips
34e491ffa1
FS-9683: Pass call recovery status to Verto
...
Previously, users implementing a Verto workflow where both user login and
placing a new call are automated (eg., visiting a URL, and the videoconference
loads automatically) faced the challenge of not having a reliable way to know
that a page load will result in Verto's call recovery mechanism reconnecting
an existing detached call or not.
This adds a verto.clientReady JSON-RPC message, emitted after all calls are
re-attached, which contains a 'reattached_sessions' array, containing the
sess_id of any reattached session.
Client side, this can be caught in the onMessage handler, under the
$.verto.enum.message.clientReady key.
2017-07-06 13:54:08 -07:00
Mike Jerris
a249a7f30a
FS-10300: [mod_verto] fix crash in multiple verto messages when processing messages with missing params
2017-05-09 12:22:15 -05:00
Mike Jerris
5d8fad1ee1
FS-10300: [mod_verto] fix crash in verto.answer processing when missing params in message
2017-05-09 10:47:00 -05:00
Mike Jerris
fde6afda4c
FS-10150: fix typo
2017-04-24 12:34:40 -05:00
Mike Jerris
6a781a1e2c
FS-10150: fix typo
2017-04-22 08:45:57 -04:00
Anthony Minessale
c922223541
FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets -- same fix for non-ssl sockets #resolve
2017-04-21 15:43:40 -05:00
Anthony Minessale
b84662ae6b
FS-10243: [mod_conference] Add conference variables #resolve
2017-04-17 17:00:11 -05:00
Anthony Minessale
014f40d0b8
FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets
2017-04-06 17:06:44 -05:00
Anthony Minessale
cd5182c27c
FS-10150: [freeswitch-core] Reduce writes to closed ssl sockets #resolve
2017-03-17 13:47:35 -05:00
Anthony Minessale
c9eb818e4a
FS-10120: [mod_verto] Move text support behind a param
2017-03-13 11:06:48 -05:00
Anthony Minessale
fbe05e2035
FS-10120: [mod_verto] Move text support behind a param #resolve
2017-03-09 13:40:33 -06:00
Anthony Minessale
da6b9e001c
FS-9742: [mod_conference,mod_cv] Refactor canvas zoom code #resolve
2017-03-09 11:54:13 -06:00
Alexandr Popov
ccae156780
FS-10061 [mod_verto] now it sends custom variables on incoming call via verto
2017-03-07 10:42:17 +02:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Anthony Minessale
cbc8d23603
FS-10026: [mod_verto] reduce attach_wake calls #resolve
2017-02-09 17:39:35 -06:00
Mike Jerris
a3ee7595bb
FS-10025: fix global symbol scope issue causing modules to use another modules global pointer
2017-02-09 17:23:30 -06:00
Anthony Minessale
b81d6990ee
FS-9997: [mod_verto] Invalid JSON-RPC Response to an incorrect JSON-RPC Request. #resolve
2017-02-03 10:57:08 -06:00
Mike Jerris
dbd1c8684d
Merge pull request #1124 in FS/freeswitch from ~TCULJAGA/freeswitch_tc:bugfix/FS-9873-a1-hash_for_mod_verto to master
...
* commit '1f7a7e336f0d2d0d4c67ee45478bf9b759e0dda8':
FS-9873 mod_verto a1-hash - squashed
2017-01-04 11:37:32 -06:00
Tihomir Culjaga
1f7a7e336f
FS-9873 mod_verto a1-hash - squashed
2017-01-04 06:48:35 -06:00
Brian West
d28f29594f
FS-9776: [mod_sofia] SIP Transfer generates high CPU #resolve
2016-12-28 12:40:06 -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
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
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
Seven Du
6528ae00b5
FS-9817 #resolve fix regression from 828d6eaf0177caff9b60052be3c83b2008f85416
2016-12-06 11:33:01 +08:00
Seven Du
b26fa6e17c
FS-9810 fix ws write fail on slow network
2016-12-04 12:49:46 +08:00
Anthony Minessale
09028b251e
FS-9455 #resolve [Doubled posts in the chat window ]
2016-11-02 16:00:49 -05:00
Mike Jerris
f35c2a4ec2
FS-9623: fix rare crash on startup due to openssl init functions being run multiple times
2016-10-07 15:33:50 -04:00
Seven Du
241bbd1529
FS-9622 #resolve fix buffer size calculation in http interface in mod_verto
2016-10-07 10:16:35 +08:00