Commit Graph

1939 Commits

Author SHA1 Message Date
Alexey Melnichuk
2bc963c82b Add. Support Escene phone book (#1598) 2016-05-13 08:35:47 -06:00
Alexey Melnichuk
619912324c Fix. Use correct database for Call Center while FS load. (#1597)
Problem that `mod_commands` may load after than `mod_callcenter` and there no function `global_getvar`
So current code just create database with name `INVALID COMMAND!.db`.
2016-05-13 08:03:48 -06:00
FusionPBX
38c43217ce Update intercept.lua
Account for core.db in intercept.lua
2016-05-12 23:06:45 -06:00
markjcrane
295e63c704 Commented out the new database handle --local dbh = Database.new('switch') as it has a bug when freeswitch is using the DSN with the PostgreSQL driver. This change works around this problem by using the original database handler. 2016-05-12 20:43:57 -06:00
Chris Black
7b99a14f67 Yealink directory listing for extensions, groups, users contacts (#1588)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane
20564c108f Remove the error reporting in the include php.php. 2016-05-11 13:18:39 -06:00
markjcrane
a94b0fc611 Remove the comment on the tls-verify-policy and add enabled="false" 2016-05-11 10:24:28 -06:00
Mafoo
8de955d673 Fix for [ERR] sofia_glue.c:329 Invalid tls-verify-policy value: none (#1593)
you cannot actually set it to none, you have to not set it to get that
value.
made ipv6 profile tls settings consistent with ipv4 profile
2016-05-11 10:13:56 -06:00
Alexey Melnichuk
71ab444034 Update escene config. 2016-05-11 07:44:03 -06:00
markjcrane
d5b69dec32 Working on music on hold. 2016-05-10 19:09:45 -06:00
markjcrane
06d372d746 Rename gxp3275 to gxv3275. 2016-05-10 18:19:40 -06:00
FusionPBX
bdfc6fe563 Update check_auth.php
Remove this code to fix a bug voicemail_id is numeric, extension is not always numeric, and number alias should be numeric.
2016-05-10 17:25:20 -06:00
markjcrane
f64e41301e Make sure the user extension arrray exists on the initial login. 2016-05-06 17:47:03 -06:00
Alexey Melnichuk
f1c31e0935 Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
reliberate
7a1d650359 Theme: Fix bug in web font loader. 2016-05-05 20:10:19 -06:00
reliberate
6db45055c4 Fix path issue in require.php. 2016-05-05 14:18:59 -06:00
markjcrane
7bcb0037f4 Conditional includes if the config.php exists this fixes css.php for the install. 2016-05-05 13:22:08 -06:00
reliberate
df22a29ed4 Theme: Integrate ability to use Google Fonts. 2016-05-05 12:57:08 -06:00
markjcrane
097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane
8672970d36 Fix a spelling mistake in the polycom template for the parameter that was changed today. 2016-05-02 19:13:08 -06:00
markjcrane
166fc0c5f3 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-02 15:57:32 -06:00
markjcrane
6476805b29 Add quotes around the values in the Polycom 4.x and 5.x templates. 2016-05-02 15:57:13 -06:00
markjcrane
e5368dd5dd Add default dtmf-type of rfc2833 to all the SIP profiles. 2016-05-02 15:56:20 -06:00
reliberate
5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane
04dfb86640 Add dns_server_primary and dns_server_secondary to the newer yealink provisioning files. 2016-05-02 13:10:32 -06:00
markjcrane
9e0b3cf827 Add two new provision variables dns_server_primary and dns_server_secondary. 2016-05-02 11:46:26 -06:00
markjcrane
e7dd30113b Define the text array before it is used. 2016-04-29 15:32:55 -06:00
markjcrane
3b79ec85d9 Add the missing function to pdo.php. 2016-04-29 11:21:26 -06:00
markjcrane
434d2a8fe2 Change phpsqlitedatatype to php_sqlite_data_type. 2016-04-29 11:15:02 -06:00
markjcrane
c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin
cb98d74ccd add tls, support ldaps 2016-04-25 22:22:03 -05:00
Harry G. Coin
2a070aff4f last fixes needed to support mariadb 10.1 2016-04-25 22:20:31 -05:00
Harry G. Coin
cc553a70c5 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin
f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin
4fad23f4aa small orm bug fix 2016-04-25 21:12:39 -05:00
Harry G. Coin
42a78d8d5e Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin
077059eeb1 Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin
bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin
8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
FusionPBX
cdba087744 Merge pull request #1553 from moteus/intercept_direction
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX
5b779b5882 Merge pull request #1450 from daniel-lucio/patch-3
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
Alexey Melnichuk
07b2858852 Add. optional intercept only inbound/outbound calls.
Note.
  * `inbound` is call to some extension
  * `outbound` is call from some extension to external number.

Currently there no way to find call from extension to extension as `outbound`
2016-04-18 16:06:27 +03:00
markjcrane
7a8587184c If the event socket information is not set then use the defaults. 2016-04-15 18:22:28 -06:00
markjcrane
403ab64339 Add missing 'this' 2016-04-15 18:07:47 -06:00
markjcrane
2b5075b2f4 Add the switch default settings in a more efficient way. 2016-04-15 17:59:34 -06:00
markjcrane
9dac571bdb Use intuitive names for the arrays and move one of the queries out of the loop. 2016-04-15 00:47:49 -06:00
markjcrane
4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane
3ecb6afea2 Update groups.php. 2016-04-14 23:12:57 -06:00
markjcrane
e9415fd26c Missed two of the $db connections. 2016-04-14 23:05:05 -06:00
markjcrane
8392bdeafa Remove the global $db connection in switch.php. Future will move all of these functions to php class methods. 2016-04-14 23:00:36 -06:00