Commit Graph
100 Commits
Author SHA1 Message Date
markjcrane 769b90bb2b Check to make sure the music on hold directory exists before trying to open it. 2016-04-28 22:36:55 -06:00
markjcrane d26f64f786 Check the whether the file exists before checking the size. 2016-04-28 22:23:15 -06:00
markjcrane 14b029a15e Correct the str_to_named_array function so that the result is null. 2016-04-28 22:15:30 -06:00
markjcrane 516e1d2ede Use isset on all arrays in call_center_active_inc.php. 2016-04-28 21:47:45 -06:00
markjcrane f1f16a243f Check all arrays are set for the operator panel before using foreach. 2016-04-28 21:40:40 -06:00
markjcrane 7a9b9c8170 Check the array isset in active calls. 2016-04-28 21:29:54 -06:00
markjcrane 0ec2083121 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -06:00
markjcrane d516db8b30 Make sure the array exists before using it in group_permissions.php. 2016-04-28 21:18:26 -06:00
markjcrane e34196585c Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane f204f6189e State the full path for which. 2016-04-28 15:35:46 -06:00
markjcrane 1509a8ea11 Add the full path to the commands by using 'which' 2016-04-28 15:17:19 -06:00
markjcrane 18df3effec Fix a filesize warning for provisioning using strlen instead. 2016-04-28 15:06:16 -06:00
FusionPBX e97782fbee Merge pull request #1557 from hcoin/fix-warnings
Mariadb 10.1, Freeswitch 1.6, Ubuntu Xenial LTS, Ldaps, warnings enabled, cli install/upgrade
2016-04-28 14:43:06 -06:00
markjcrane 7b413a8058 Update the xml_cdr php class to get it operational. 2016-04-27 23:51:53 -06:00
markjcrane 8d9d76f7dc Add a new xml_cdr php class. 2016-04-27 13:24:59 -06:00
FusionPBX 3b73e0c1d1 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -06:00
markjcrane 81746f1233 Minor change to contact edit. 2016-04-22 10:35:27 -06:00
markjcrane 2fd1a44842 voicemail_id is not guaranteed to be numeric so can't use the cast unless we protect against non numeric ids. 2016-04-19 14:05:12 -06:00
markjcrane 3758d84216 Add the lan acl as a default again. 2016-04-19 00:21:52 -06:00
FusionPBX 06f6f1302e Merge pull request #1553 from moteus/intercept_direction
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX 4230d3b414 Merge pull request #1450 from daniel-lucio/patch-3
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
markjcrane a54772c406 Restore the path to config.lua. 2016-04-16 00:44:10 -06:00
markjcrane 09d304a1aa Use the connect method in the constructor. 2016-04-16 00:27:24 -06:00
markjcrane a2b6f24a36 Get the db_type, db_username, db_password, and more using the constructor. 2016-04-16 00:21:01 -06:00
markjcrane ca06335136 Set the full path to the config.lua script. 2016-04-15 23:16:19 -06:00
markjcrane 7277ed8f49 Set the sciprt directory from the session variable. 2016-04-15 19:57:29 -06:00
markjcrane abb6a9b770 Get the database connection for save_phrases_xml.php. 2016-04-15 19:52:21 -06:00
markjcrane 2b1ede0b70 Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 406c36b6b4 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane a59bfe1021 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 157f49a303 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane df9d9a5e9d Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane f03cbc7b1a Fix the install path for the redirect. 2016-04-15 18:39:12 -06:00
markjcrane 49a53db5d1 If the event socket information is not set then use the defaults. 2016-04-15 18:22:28 -06:00
markjcrane 3efb6881db Add missing 'this' 2016-04-15 18:07:47 -06:00
markjcrane e8640966fd Add the switch default settings in a more efficient way. 2016-04-15 17:59:34 -06:00
markjcrane 4a564a1215 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -06:00
markjcrane b3ba1aaf6f 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 69d36b806d Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane fdc0435ab3 Update groups.php. 2016-04-14 23:12:57 -06:00
markjcrane 6828efb12c Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane 2e875b106b Missed two of the $db connections. 2016-04-14 23:05:05 -06:00
markjcrane 4702530944 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
markjcrane 70524407a6 Update the constructor and $db connection handling in the groups and switch_settings classes. 2016-04-14 22:38:28 -06:00
markjcrane cfb1b28a54 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane b7d8b3c23f Update domains and schema classes. 2016-04-14 22:10:47 -06:00
markjcrane 6e5fe31303 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane f16259f268 Work on the install. 2016-04-14 21:14:40 -06:00
markjcrane ed06174cda Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane fbc3ac5e70 Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
markjcrane 5ca4307ef1 Combine some of the default settings. 2016-04-14 20:11:47 -06:00
markjcrane 7fc9e44768 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
markjcrane ea0c3e9220 Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
markjcrane 8b5e166eda Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table. 2016-04-14 10:40:25 -06:00
FusionPBX d709dc3595 Merge pull request #1547 from moteus/fax_allowed_extension
Add. `allowed_extension` array to specify allowed files in email.
2016-04-14 09:32:17 -06:00
FusionPBX e0dd9e299f Merge pull request #1533 from moteus/dialplan_copy_check_str
Fix. Check string before build sql when do copy dialplan extension.
2016-04-12 12:40:01 -06:00
FusionPBX af457337ae Merge pull request #1541 from moteus/parse_imap_text
Improve mail parse
2016-04-12 12:39:37 -06:00
FusionPBX 87adfbae24 Merge pull request #1534 from moteus/fax_send_pdf
Fix. send fax file as PDF in response message
2016-04-06 01:47:18 -06:00
markjcrane 0bef8e2e5a Fix IVR Menu say and tone for long greeting. 2016-04-06 01:38:30 -06:00
markjcrane 5339bee11d contact_group_uuid value is not working get the value from the database. 2016-04-06 00:39:27 -06:00
markjcrane daedac51fc Fix the contact group delete button. 2016-04-06 00:33:52 -06:00
markjcrane c38ff886e5 Fix assigning groups to contacts. 2016-04-06 00:27:57 -06:00
markjcrane 0801796bce Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-06 00:15:10 -06:00
markjcrane 2b5480f894 Remove the lan access control list as its not needed by default. 2016-04-06 00:14:53 -06:00
markjcrane 12067b8aea Update the script.php class use session event socket information for now. 2016-04-04 23:27:41 -06:00
markjcrane 4ac03a8d1a Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
markjcrane 68c2e315ba Update the yealink timezone settings. 2016-04-04 19:50:05 -06:00
markjcrane cbe4a7e763 Fix the changes to the Cisco SPA templates. 2016-04-04 12:18:04 -06:00
markjcrane bd1f5b4388 Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane 8edbc9d774 Build the apps array so that the groups class defaults method can use it for the group permissions. 2016-04-03 13:18:45 -06:00
markjcrane f3a0a8b153 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane c5d295ef2a Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane ff7e5323b5 Get the script_dir path from event socket. 2016-04-03 09:47:58 -06:00
markjcrane 7b1a596d6f Use is_dir instead of check for the length of the stirng. 2016-04-03 09:36:27 -06:00
markjcrane 9217b599ed Only write the scripts if the directory is set. 2016-04-03 09:29:37 -06:00
markjcrane 65a2cec4ab Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane fb9a02376e Prevent switch duplicates. 2016-04-02 20:28:45 -06:00
markjcrane 7aeeda0e15 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00
markjcrane a638d86619 Set some of the switch directories to enabled false. 2016-04-02 19:57:37 -06:00
markjcrane 0c6e29632f Add a missing semi-colon. 2016-04-02 19:42:18 -06:00
markjcrane 1200161b81 Update the database connection. 2016-04-02 19:41:16 -06:00
markjcrane ebee007ab8 Change the switch class to freeswitch. 2016-04-02 19:37:37 -06:00
markjcrane bcc993c537 Rename the EventSocket file to math current naming standard. 2016-04-02 19:24:32 -06:00
markjcrane 7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 52ff8fae68 Fix a syntax problem on the new class. 2016-04-02 19:13:49 -06:00
markjcrane d9e00f2be3 Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category. 2016-04-02 17:53:51 -06:00
markjcrane ea84e9f044 Fix the footer in one more location. 2016-04-02 14:26:29 -06:00
markjcrane 284c3e3a91 Translation setup for footer in the default theme. 2016-04-02 14:07:06 -06:00
markjcrane 11f4fea479 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
markjcrane 827c9d5a50 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-02 08:23:18 -06:00
FusionPBX 933406c4f6 Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
FusionPBX cc4ef905a9 Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -06:00
markjcrane ddb1cbd705 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-01 13:37:30 -06:00
markjcrane 8f1a8667f4 Fix the cisco load or image on the 7940 and 7960 templates. 2016-04-01 13:37:22 -06:00
markjcrane db122a3da6 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
FusionPBX b6775e44c5 Merge pull request #1521 from moteus/mysql_escape
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
2016-03-31 09:04:35 -06:00
FusionPBX 3276f13fa4 Merge pull request #1524 from moteus/extension_select_count
Fix. Display extension on MySQL.
2016-03-30 08:53:36 -06:00
FusionPBX 1e9837f77b Merge pull request #1527 from moteus/menu_array_default_arg
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00
FusionPBX 28afa5ef35 Merge pull request #1528 from moteus/no_menu_warning
Fix. warning about using NULL as first argument in `foreach`.
2016-03-30 08:46:46 -06:00