Commit Graph

29954 Commits

Author SHA1 Message Date
Travis Cross 16d0538fb5 Move chown of /etc/freeswitch/tls to postinst
Doing a chown of something in /etc/ as part of a systemd service file
is totally broken.  It's far too large a sledgehammer to point at /etc
here.  Someone may legitimately not be using /etc/freeswitch/tls in
his configuration, in which case this chown would fail and cause FS to
fail to start.  Or someone may legitimately need /etc/freeswitch/tls
to have different ownership, in which case we would clobber it here.

The right thing to do is to create this directory in the
postinst (which we already are, assuming there is not an existing
configuration) and then perform the chown of it at the same time.

FS-7697
2015-09-22 04:58:50 +00:00
Travis Cross 12e90ce989 Use systemd RuntimeDirectory for /run/freeswitch
This changes how we create the temporary directory /run/freeswitch
when starting FS with systemd.  The /run directory starts empty after
a system reboot, so we need to ensure this directory is present.

Originally for the FS systemd unit we created /run/freeswitch using
ExecStartPre and mkdir.  With commit adb5f0d this was changed to use
the tmpfiles.d(5) mechanism (but the ExecStartPre/mkdir code was not
removed).

As part of systemd.exec(5), systemd provides a mechanism to
automatically manage these directories under /run and to bind their
lifetime to the lifetime of the process.  This is actually what we
want here as compared to the more general tmpfiles.d(5) mechanism.

This commit moves to using the RuntimeDirectory= mechanism and removes
the obsolete ExecStartPre/mkdir code.

References-commit: adb5f0d278
2015-09-22 04:41:00 +00:00
Mike Jerris e7e79c213d Merge pull request #502 in FS/freeswitch from ~SAUMAR/freeswitch:bugfix/FS-7673-odbc-null-value-incorrectly-evaluated to master
* commit '3aa051e1a14dfc40a77757247b6849dbd2c9c69d':
  FS-7673: ODBC NULL value incorrectly evaluated in mod_v8
2015-09-21 22:28:58 -05:00
Saumar Hajjar 3aa051e1a1 FS-7673: ODBC NULL value incorrectly evaluated in mod_v8 2015-09-21 23:36:42 -03:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Ken Rice 34d72cba98 remove unused code 2015-09-21 16:01:15 -05:00
Ken Rice ab4d024bc3 FS-8183 #resolve #comment add google api logins to Verto Communicator 2015-09-21 16:01:15 -05:00
Ken Rice c9bb3a2a3e FS-8102 #resolve #comment Add auto-provision/config support to VC
Add support for loading config from external json. config.json in the
base path of VC will allow over-ride of arbitrary settings and setting
of arbitrary data in the verto.data data store.

add ability to specify autologin flag in the configs.

add autocall to config.json and make it actually autocall.

additionally refactor the call function so that it will actually call
something.
2015-09-21 16:01:15 -05:00
Italo Rossi bdc6c3b810 FS-8095 [verto_communicator] Do not reset name and email upon logout. 2015-09-21 17:51:00 -03:00
Anthony Minessale 13add97426 FS-8130 refactor pass 2015-09-21 15:32:38 -05:00
Mike Jerris 47864eac86 Merge pull request #493 in FS/freeswitch from feature/FS-8042-store-sip-endpoint-ping-response to master
* commit '5509a627061a07d7db18967449c3e6f8f216c4a2':
  FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints
2015-09-21 14:43:58 -05:00
Anthony Minessale 8a0366b999 FS-8130 running out of witty commit msgs 2015-09-21 14:08:38 -05:00
Italo Rossi 4879926097 FS-8196 [verto_communicator] adding nowrap to white-space. 2015-09-21 15:38:11 -03:00
Italo Rossi 383d074735 FS-8196 [verto_communicator] Fix sidebar layout when user is moderator. 2015-09-21 15:29:50 -03:00
Ítalo Rossi dfd6d0248a Merge pull request #498 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8095-add-factory-reset-to-settings to master
* commit 'bc4d21e38203879a9a9d314e723904975a5cd6cc':
  FS-8095 [verto_communicator] added reset button to default settings.
2015-09-21 13:28:06 -05:00
Michael Jerris 5509a62706 FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints 2015-09-21 12:13:28 -05:00
Stefan Yohansson bc4d21e382 FS-8095 [verto_communicator] added reset button to default settings. 2015-09-21 15:20:30 +00:00
Ken Rice 951ea98cc1 FS-8193 #resolve Add No Camera option to Verto Communicator 2015-09-21 10:06:58 -05:00
Anthony Minessale 7b914ee69c FS-8130 amend last commit 2015-09-19 00:23:56 -05:00
Anthony Minessale 6f0bbeec28 FS-8130 the bug that keeps on bugging, improve video nack 2015-09-18 23:36:11 -05:00
Anthony Minessale 0fa190093e FS-8130 the bug that keeps on giving 2015-09-18 20:54:42 -05:00
Anthony Minessale 9ab7a331f3 fix small typo in js and regen minified js 2015-09-18 20:54:24 -05:00
Ken Rice 78c93e632f FS-8078 #resolve fix safari without breaking firefox 2015-09-18 14:38:05 -05:00
Ken Rice d7cd5b6a1e Revert "FS-8078 - [verto_communicator] fix display flex in safari"
This reverts commit 5bf0d83474.
2015-09-18 14:27:15 -05:00
Anthony Minessale 650bb94a51 FS-8130 the saga continues 2015-09-18 13:47:03 -05:00
Anthony Minessale ca4ac85f6d FS-8130 don't skip delta on video unless it was less than 1 second worth to prevent locking up chrome 2015-09-18 10:06:47 -05:00
Ítalo Rossi 3802054e66 Merge pull request #490 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8146-long-names-breaks-member-list to master
* commit 'cf7cdb256412ddbfcfdbae149d2b4f77b538b15a':
  FS-8146 - [verto_communicator] fix loong names in members list
2015-09-18 07:44:21 -05:00
Ítalo Rossi 2aeaabeac8 Merge pull request #488 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8155-uuid_kill-or-fsctl-hupall-to-kill to master
* commit 'eefeaa6a6067a6f689ec9f77f6f68b80274f0cbf':
  FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked video interface
2015-09-18 07:42:53 -05:00
Anthony Minessale 45494ab24e FS-8130 more refactoring 2015-09-17 22:31:28 -05:00
Michael Jerris d8e7897f1e FS-8185: [core] Allow xml preprocessor to expand variables where the resulting value is much longer than the original size 2015-09-17 22:04:58 -05:00
Anthony Minessale 1b60510130 FS-8184 #resolve [Fix possible memory leak in mod_conference when hanging up on a video call] 2015-09-17 21:13:02 -05:00
Anthony Minessale d1049e2280 FS-8130 fix regression causing seg 2015-09-17 21:11:04 -05:00
Anthony Minessale 4a56b7d145 FS-8130 cont 2015-09-17 17:34:58 -05:00
William King 6a19590508 Merge pull request #489 in FS/freeswitch from ~RA/fs-ra:master to master
* commit 'fbacd42c9807afdf01ca449032bbad7898bfa835':
  FS-5660 - add freeswitch.py to the freeswitch-mod-python debian package
2015-09-17 16:59:54 -05:00
Anthony Minessale 052fed5fc3 FS-8181 #resolve [Verto check for camera perms fails init when no camera is present] 2015-09-17 15:09:19 -05:00
Stefan Yohansson cf7cdb2564 FS-8146 - [verto_communicator] fix loong names in members list 2015-09-17 16:56:17 -03:00
Raphael Lechner fbacd42c98 FS-5660 - add freeswitch.py to the freeswitch-mod-python debian package 2015-09-17 21:07:40 +02:00
Anthony Minessale 0c6db6af06 FS-8180 fixed for real 2015-09-17 13:29:47 -05:00
Stefan Yohansson eefeaa6a60 FS-8155 - [verto_communicator] check for nulled data.liveArray preventing locked video interface 2015-09-17 15:16:18 -03:00
Anthony Minessale 831ab39e15 FS-8180 typo, sigh 2015-09-17 12:40:18 -05:00
Anthony Minessale e610134b3e FS-8180 addtl patch 2015-09-17 12:15:56 -05:00
Mike Jerris e7d11375ad Merge pull request #451 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_repacketize_refactor to master
* commit '753213b7459000e8aa1c8aa170d04b9371c6f629':
  FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms)
2015-09-17 11:33:51 -05:00
Anthony Minessale 4f4f01b36e FS-8180 #resolve [param to enable/disable video malfunction] 2015-09-17 11:12:44 -05:00
Mike Jerris 56b8be124d Merge pull request #486 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-decode-has_fec-test to master
* commit 'de67b09e80a147b95a678c8273621a7c9354854f':
  FS-8179: mod_opus:  improve JB debugging with FEC
2015-09-17 11:09:28 -05:00
Dragos Oancea de67b09e80 FS-8179: mod_opus: improve JB debugging with FEC 2015-09-17 10:05:00 -04:00
Ítalo Rossi db2cd9f540 Merge pull request #485 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8078-unsupported-browser-page-is-no-longer to master
* commit '5bf0d83474242065a0efec870c7fee419e0e0998':
  FS-8078 - [verto_communicator] fix display flex in safari
2015-09-17 08:15:34 -05:00
Stefan Yohansson 5bf0d83474 FS-8078 - [verto_communicator] fix display flex in safari 2015-09-17 09:01:01 -03:00
Ítalo Rossi d66d2271f7 Merge pull request #484 in FS/freeswitch from ~STEFAN_YOHANSSON/freeswitch:bugfix/FS-8178-empty-default-share-device-option to master
* commit 'da0b7c615285abff7f00e054c187ec03c3ce77ce':
  FS-8178 - [verto_communicator] Define first share device selected by default in settings modal
2015-09-17 06:41:49 -05:00
Stefan Yohansson da0b7c6152 FS-8178 - [verto_communicator] Define first share device selected by default in settings modal 2015-09-17 08:40:33 -03:00
Dragos Oancea 753213b745 FS-8080: mod_opus: fine-tune FEC with repacketization (ptimes: 80 ms,100 ms,120 ms) 2015-09-17 05:20:39 -04:00