184 Commits

Author SHA1 Message Date
Anthony Minessale
b18ea498df [core] add new prompt functionality to ask for pin over dialogbox 2021-10-23 22:00:00 +03:00
Anthony Minessale
2c7f97a606 [mod_verto] allow vars from dp to pass to verto dialog 2021-10-23 21:59:59 +03:00
Andrey Volk
3f958d3724 [mod_verto] scan-build: fix false-positive Argument with 'nonnull' attribute passed null in check_auth 2021-10-19 20:51:56 +03:00
Andrey Volk
c1b00d945b [mod_verto] Fix memory leak and a deadlock on verto endpoint interface in verto_outgoing_channel() 2021-10-19 20:45:06 +03:00
LordPinna
145377dd8e
[mod_verto] Fix modify attended transfer response 2020-08-12 21:08:07 +04:00
Anthony Minessale
55b148f1c3 [mod_verto] Fix packet o death. 2020-05-07 02:36:08 +04:00
Ítalo Rossi
87a64eab18
[mod_verto] Setting transfer_disposition to recv_replace on aleg 2020-03-12 19:23:40 +04:00
Dragos Oancea
56e82bd9c0 [mod_verto] scan-build: Value stored to 'cur' is never read 2020-03-06 11:09:29 +00:00
Andrey Volk
40251c2cf9
Merge pull request #433 from dragos-oancea/mod_verto-status--val-never-read
[mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame()
2020-02-26 23:53:45 +04:00
Dragos Oancea
ba0221ff09 [mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame() 2020-02-25 21:45:38 +00:00
Dragos Oancea
0ad909aec7 [mod_verto] scan-build: Null pointer argument in call to string comparison function - http_run() 2020-02-25 21:18:44 +00:00
Mike Jerris
39ff576097 [mod_verto] fix crash on vhost http server requests without content type 2020-02-15 13:40:00 -05:00
Andrey Volk
311a20af63 [mod_verto] Ignore not just zero but negative frame size as well. 2019-10-23 23:03:18 +04:00
Luis Azedo
302b409815 FS-11848 [core] add user_data to event_channel_bind
* also adds a convenience switch_event_channel_deliver for already in thread
2019-07-17 16:02:12 -04:00
Sergey Khripchenko
84aab26e65 FS-11745 Add "auto-jitterbuffer-msec" param to verto.conf.xml file 2019-07-17 20:12:04 +04:00
Andrey Volk
4ae1f1278b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_verto 2019-07-15 23:39:25 +04:00
David Grant
3695681cf6 FS-11859 [mod_verto] mod_verto.c log for MCAST Data Sent changed to if (verto_globals.debug > 0) and other LOG_ALERT changed to LOG_DEBUG triggered by verto_globals.debug 2019-07-09 23:31:55 -05:00
Mike Jerris
a255bd3d62 FS-11668: [verto] Fix polling of secure verto sockets 2019-06-06 11:17:22 -04:00
Sergey Khripchenko
8dd5373db4 FS-11467: [mod_verto] Properly handle poll() EINTR and separate poll()==0 / timeout case 2019-06-06 11:17:00 -04:00
Sergey Khripchenko
1000d1d8c8 FS-11467: [mod_verto] decreased logging level for log lines that are not errors/warnings 2019-06-06 11:16:52 -04:00
Mike Jerris
ea30fde496 FS-11637: [mod_verto] Fix crash on root login when no root-password is configured 2019-01-30 09:40:51 -05:00
Andrey Volk
0994131894 FS-11564: [mod_verto] Add ext-rtp-ip detection using stun. 2019-01-09 17:19:11 +04:00
Andrey Volk
9f72c99cd7 FS-11362: [mod_verto] Fix regression for the broken Windows build. 2018-09-13 00:14:20 +03:00
Sergey Khripchenko
2d24475f57 FS-11362 Fix die_errnof() macro failing to compile on mac 2018-09-06 11:57:51 +00:00
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
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
Anthony Minessale
d9002f19a7 FS-10897: [mod_verto] Possible crash in verto during error condition #resolve 2018-07-24 07:21:39 +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
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
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
Anthony Minessale
b84662ae6b FS-10243: [mod_conference] Add conference variables #resolve 2017-04-17 17:00:11 -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