Commit Graph

7006 Commits

Author SHA1 Message Date
markjcrane 7c1eeac3c9 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-13 08:52:49 -06:00
markjcrane 0b9ca2da7f Applied changes from ronyshtamler to support exec-set in vars.xml. 2016-05-13 08:52:25 -06:00
SJS87 40a3613cd7 E.164 format support - contact_phone_edit.php (#1581)
The + prefix is being removed, this should be ignored for the very start of the string, resolution below.

Line 69.
Replace:
$phone_number = preg_replace('{\D}', '', $phone_number);
With:
$phone_number = preg_replace('{(?!^\+)[\D]}', '', $phone_number);
2016-05-13 08:42:34 -06:00
Alexey Melnichuk 2bc963c82b Add. Support Escene phone book (#1598) 2016-05-13 08:35:47 -06:00
markjcrane db94844594 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-13 08:22:23 -06:00
markjcrane 3ea3fa4436 Use effective_caller_id_name and effective_caller_id_number with follow me. 2016-05-13 08:21:58 -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
markjcrane 2159f13856 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-12 11:52:00 -06:00
markjcrane 96c3a42e89 Add increased memory usage and upload max file size for PHP in the .htaccess file. 2016-05-12 11:51:37 -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 8e01682c3c Fix a minor issue. 2016-05-11 18:42:30 -06:00
markjcrane e3792a33a6 Additional work on caller id name and number. 2016-05-11 18:37:01 -06:00
markjcrane 07b6b54396 Add the new column source_number. 2016-05-11 18:21:36 -06:00
markjcrane e752e5fab7 Additional work on the destination_number on the new xml cdr import tool. 2016-05-11 17:58:43 -06:00
markjcrane 1833df9567 Fix the syntax to the last commit. 2016-05-11 17:05:06 -06:00
markjcrane e1f0c205c7 Add source_number and change the destination_number to the number sent to the carrier. 2016-05-11 16:23:42 -06:00
markjcrane b27b11fe40 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane 72c366518f Fix some warnings more warnings. 2016-05-11 13:23:53 -06:00
markjcrane 20564c108f Remove the error reporting in the include php.php. 2016-05-11 13:18:39 -06:00
markjcrane ee3ff3f7b1 Change default permissions on ring groups. 2016-05-11 13:05:56 -06:00
markjcrane cbd78f0e74 Change extension permission defaults. 2016-05-11 13:03:06 -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
markjcrane 0564c99938 Run array unique and sort only on groups array if it exists. And use is_array instead of isset on the conditions that test if it is an array. 2016-05-11 09:20:10 -06:00
markjcrane 421ab16a6a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-11 09:06:29 -06:00
markjcrane f4e952d798 Check each array if it exist with for every foreach in the operator_panel/index_inc.php. 2016-05-11 09:06:14 -06:00
Alexey Melnichuk 71ab444034 Update escene config. 2016-05-11 07:44:03 -06:00
FusionPBX 0852d05788 Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX c0a2059ac8 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
markjcrane e6ad8083f7 Fix data types on the new music on hold and add the path. 2016-05-10 19:19:47 -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
FusionPBX 0cca642562 Update app_defaults.php
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX 8220f74cc5 Update app_defaults.php
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane 9e20f0a570 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 9d0eac2111 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane 2378ace5a8 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
markjcrane 1aa2547358 Fix a missing bracket from the last commit. 2016-05-07 16:15:15 -06:00
markjcrane eaadc99e88 To prevent all warnings for XML CDR Details check all arrays. 2016-05-07 12:28:07 -06:00
markjcrane 268f51132b Fix the warning on XML CDR details. 2016-05-07 11:48:46 -06:00
markjcrane 7e0bf48d82 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-06 17:47:31 -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 937821da68 Fix. Do not populate invalid paths. (#1585)
Problem when `opendir($dir)` returns `false` and then
while cycle adds many empty strings which produce in the end
```
/etc/freeswitch/tls
/etc/freeswitch/tls/
/etc/freeswitch/tls//
/etc/freeswitch/tls///
/etc/freeswitch/tls////
/etc/freeswitch/tls/////
/etc/freeswitch/tls//////
/etc/freeswitch/tls///////
```
2016-05-06 09:28:10 -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
FusionPBX 170d4be4a1 Update user_dashboard.php
Fix the CPU usage on the dashboard.
2016-05-06 01:20:57 -06:00
FusionPBX 32223dc77c Update user_dashboard.php
Use a different approach to get the CPU usage.
2016-05-05 22:52:30 -06:00
reliberate 7a1d650359 Theme: Fix bug in web font loader. 2016-05-05 20:10:19 -06:00