Commit Graph

32712 Commits

Author SHA1 Message Date
Brian West 197bbd8cab FS-10495: [Modules] firing custom event with no sub class will crash freeswitch when mod_fail2ban is loaded #resolve 2017-07-12 17:19:52 -05:00
Shane Bryldt 84540ea857 FS-10167: Refactoring and cleanup 2017-07-12 03:35:49 -06:00
Ken Rice 53116495d1 Revert "FS-10416: [mod_commands] add new outbound channels to an in-progress originate"
This commit causes a segfault when parsing destinations that are |
delimited. This patchset needs to be tested further before inclusion
into the tree.

This reverts commit b11955db0b.
2017-07-11 17:25:48 -05:00
Matt Williamson d0e7790176 FS-10490 [mod_unimrcp] application/xml content-type for unimrcp grammar 2017-07-11 17:33:02 -04:00
Mike Jerris 571bff4def Merge pull request #1328 in FS/freeswitch from ~ETHANATKINS/freeswitch:ice-reinvite to master
* commit '999a6dd0b7f37e99c53cea3bc79d92c3ffab1822':
  FS-10485: Re-activate ICE on all attribute changes
2017-07-11 19:59:02 +00:00
Mike Jerris c1b3369978 Merge pull request #1329 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-10488-fix-memory-leak to master
* commit '28913d27645d392abd41e6db5be0d6f26278960e':
  FS-10488: [mod_v8] Fix memory leak.
2017-07-11 18:51:19 +00:00
Andrey Volk 28913d2764 FS-10488: [mod_v8] Fix memory leak. 2017-07-11 21:34:45 +03:00
Ken Rice 436b684e55 remove mod_v8 from debian builds in another spot until it builds properly 2017-07-11 12:50:55 -05:00
Mike Jerris 5a9dfcf2ef Merge pull request #1324 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-10465-fix-javascript-failures-when-a-session to master
* commit '105afc3f294fe6e29d6eb0d76f1273f37de400bf':
  FS-10465: [mod_v8] Fix javascript failures when a session callback is called from another thread/leg.
2017-07-11 17:14:41 +00:00
Anthony Minessale 2ee8d58d72 FS-10472: [mod_conference] Invalid free in personal canvas mode 2017-07-10 19:48:14 -05:00
Anthony Minessale 44021b1c61 FS-10472: [mod_conference] Invalid free in personal canvas mode 2017-07-10 19:13:27 -05:00
Ethan Atkins 999a6dd0b7 FS-10485: Re-activate ICE on all attribute changes
I ran into some ice failures when testing reinvites using
bypass_media_after_bridge. Every ice session has ice-ufrag and ice-pwd
attributes. When leg A sends those attributes to leg B, leg B is
supposed to send stun packets to leg A using the credentials provided in
those attributes. Freeswitch was not updating the session credentials
when the phone sent a new invite containing new ufrag and pwd
attributes. This caused ICE to fail on the client side (PJSIP in this
case).

The new_ice flag is set to true when freeswitch detects a change in
those attributes. For whatever reason, the reinvite flows that I was
testing did not set the CF_REINVITE flag on the channel, but new_ice was
true. It seems to me that freeswitch should always reactivate ice when
the ufrag and pwd credentials change.
2017-07-10 10:57:35 -07:00
Mike Jerris 69cb420ca9 FS-10480: [mod_av] fix crash recording an audio only stream to an rtmp stream 2017-07-10 12:38:34 -05:00
Anthony Minessale aba1068e09 FS-10448: [mod_conference] Add Video Blind -- make blind video feature work in passthrough mode too 2017-07-07 11:35:36 -05:00
Dragos Oancea 06f060ebd9 FS-10478: [mod_conference] make API replies uniform with "+OK" or "-ERR" prefix 2017-07-07 15:48:18 +01:00
Ken Rice 717f597c38 Update Debian Package Builds in prep for early early debian 9 packages and for changes in the master branch. 2017-07-06 17:21:10 -05:00
trevora 74f5b5675e FS-10395: [mod_sofia] Fix ssl error handling in tls sip traffic
Clears SSL error state.

Updates tport_tls.c to clear the SSL error state after an error occurs.

OpenSSL puts errors into a queue that is kept in thread local storage.
In some cases, such as when SSL_ERROR_SSL is returned by SSL_get_errror(),
OpenSSL will queue multiple errors for a single event. When this occurs,
OpenSSL will report an error the next time I/O is performed if the queue
is not cleared first, which can result in TLS connections being torn down
prematurely.
2017-07-06 17:44:26 -04:00
Mike Jerris 719937ff8f Merge pull request #1306 in FS/freeswitch from ~HRISTO/freeswitch:FS-10407-set-some-redirect-channel-variables to master
* commit '1d15e411f9f5b6c8883cda47534cc1e9c3a77f95':
  FS-10407: [mod_sofia] Set redirect variables when outbound_redirect_fatal is true
2017-07-06 21:15:07 +00: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
Italo Rossi 8ea3e3c7bc Merge pull request #1313 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-10368-mod_callcenter-lock-database-errors to master
* commit '04854fddaa1548e5d57a90fad74a433bee7a0750':
  Revert "FS-10299 [mod_callcenter] Removing global lock on all cc_execute_sql functions when executing database queries"
2017-07-06 20:52:51 +00:00
Mike Jerris 2a788cdefd Merge pull request #1307 in FS/freeswitch from ~HRISTO/freeswitch:feature/FS-10416-add-new-endpoints-to-be-called-while to master
* commit 'b11955db0bfdcccd5ad98fd689870153d31154f3':
  FS-10416: [mod_commands] add new outbound channels to an in-progress originate
2017-07-06 20:41:20 +00:00
Mike Jerris 67b2a1e9fc Merge pull request #1322 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10461 to master
* commit 'd5cceb304adacc60d4c58471acbe8e0ce93c773d':
  FS-10461: created scripts to build docker base image
2017-07-06 20:35:41 +00:00
Mike Jerris 0c002343c4 Merge pull request #1319 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10451 to master
* commit '0fc8c71a860525d73db232a5d39bd669cbf729bf':
  FS-10451: Updated sound files descriptions
2017-07-06 19:43:09 +00:00
Mike Jerris 78e279aa92 Merge pull request #1320 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10452 to master
* commit 'aaa5f0f619f21ca6c8d744eecb61ed048f13d886':
  FS-10452: Fixed build of docker container
2017-07-06 19:40:59 +00:00
Anthony Minessale ef26718388 FS-10473: [freeswitch-core] FreeSWITCH crash - Null event pointer dereference during conference_cdr_del #resolve 2017-07-06 14:39:24 -05:00
Anthony Minessale 00d1a79d08 FS-10472: [mod_conference] Invalid free in personal canvas mode #resolve 2017-07-05 18:11:39 -05:00
Anthony Minessale 81f15e7a99 FS-10286: [mod_conference] Sync member joins up with keyframes in shared encoder mode -- high cpu usage on h264 2017-07-05 18:11:39 -05:00
Mike Jerris 7f9413962a FS-10388: [core] fix crash on shutdown when using multiple meida bugs 2017-07-05 15:54:56 -05:00
Mike Jerris 379084eda0 FS-10388: [core] fix crash on shutdown when using multiple meida bugs 2017-07-05 14:37:32 -05:00
Italo Rossi 38ff0f79e9 Merge pull request #1273 in FS/freeswitch from ~EDUARDO/freeswitch:FS-10304-prevent-infinite-logging-when-a to master
* commit 'be741eab2ce34122755198c31894941f6e7da7d2':
  FS-10304: [mod_callcenter] Prevent infinite logging when a stale queue member in found in the database
2017-07-05 18:51:03 +00:00
Mike Jerris 3551e6c0d8 FS-10430: [mod_amqp] fix support for libamqp version .0.5.2. Change to api actually happend in v0.6.0 2017-07-05 13:42:33 -05:00
Mike Jerris 3f66eb6cbf FS-10471: [build] fix build error on debian 9 with --enable-zrtp 2017-07-05 12:17:24 -05:00
Anthony Minessale 07d4d093b0 FS-10466: [freeswitch-core] Add session to some log lines #resolve 2017-07-03 17:37:05 -05:00
Andrey Volk 105afc3f29 FS-10465: [mod_v8] Fix javascript failures when a session callback is called from another thread/leg. 2017-07-03 23:01:59 +03:00
Shane Bryldt 2ff3ce1a5c FS-10167: Bug fixes, memory leaks, etc 2017-07-03 13:45:29 -06:00
Shane Bryldt f9d23ccadd FS-10167: Updating to build clean on linux 2017-07-03 13:57:47 -05:00
Shane Bryldt 3687a5a0a5 FS-10167: Significant cleanup and isolation of code into manager types for better maintainability and easier path to future updates 2017-07-03 12:48:46 -06:00
Mike Jerris 4da4e1177c Merge pull request #1323 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-10464-fix-broken-classes-after-switching to master
* commit 'cd79ae19ad7d5d5600ff6b835ccb152ff91313a0':
  FS-10464 [mod_v8] Fix broken classes after switching to new libv8 #resolve
2017-07-03 15:24:00 +00:00
Andrey Volk cd79ae19ad FS-10464 [mod_v8] Fix broken classes after switching to new libv8 #resolve 2017-07-03 18:16:54 +03:00
Sergey Safarov d5cceb304a FS-10461: created scripts to build docker base image 2017-07-03 05:05:14 -04:00
Mike Jerris 6cf3338469 FS-10458: [mod_av] temporarily silence warning when building against ffmpeg 3.2 until we fix them properly 2017-06-30 17:29:38 -05:00
Mike Jerris 9600fdd1d6 FS-10457: [mod_cdr_csv] set group too when creating new csv file so other users in the group can access it 2017-06-30 17:44:05 -04:00
Mike Jerris c7de29c16d FS-10455: [build, mod_v8] new build system for libv8 and upgrade libv8 2017-06-30 16:34:21 -04:00
Anthony Minessale fc708d1256 FS-10456: [mod_av] add wav support to mod_av as well as specifying audio_codec -- add av_record_audio_only param 2017-06-30 12:38:07 -05:00
Mike Jerris 0d88d95fdf FS-10455: [build] add small configure check to determine V8_TARGET for GN build 2017-06-30 13:28:44 -04:00
Anthony Minessale 4aa4baa69f FS-10456: [mod_av] add wav support to mod_av as well as specifying audio_codec #resolve 2017-06-30 12:32:08 -05:00
Mike Jerris fc1dd2a4ef Merge pull request #1321 in FS/freeswitch from ~LAZEDO/freeswitch:bug/fs-10453 to master
* commit '4631e6cdfab6e9cb70c11a0c33098ee06e09e786':
  FS-10453 [kazoo] fix dropped messages
2017-06-30 17:19:51 +00:00
Anthony Minessale 8be0a2c1c4 FS-10454: [mod_av] Regression in video file seek #resolve 2017-06-30 11:28:49 -05:00
Anthony Minessale aec11b0948 FS-10448: [mod_conference] Add Video Blind -- add tweak 2017-06-30 10:29:00 -05:00
Mike Jerris 9c8cf40ada Merge pull request #1310 in FS/freeswitch from ~TADAMS/fs-9785:master to master
* commit 'fb46f87b076608968c49bc93af539454ab78d367':
  FS-9785: fix ./mod_conference.h:353:23: error: enumerator value for ‘EFLAG_BLIND_MEMBER’ is not an integer constant expression [-Werror=pedantic] EFLAG_BLIND_MEMBER = (1 << 31)
  FS-9785: update mod_event_multicast to work with OpenSSL 1.1.0.
  FS-9785: Fix src/switch_ivr_play_say.c:1668:48: error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context]
  FS-9785: Fix format-truncation warnings for systems that treat it as an error.
2017-06-30 15:19:28 +00:00