Commit Graph

7987 Commits

Author SHA1 Message Date
FusionPBX b32aaeb331 Update groups.php
Prevent warnings in groups.php.
2017-01-11 14:39:40 -07:00
FusionPBX c5ae1f13f0 Update event_socket.php
Add freeswitch defaults to event_socket.php
2017-01-11 14:14:47 -07:00
FusionPBX b07def6ed5 Update app_defaults.php
Add the default menu.
2017-01-10 10:13:07 -07:00
konradSC ee01daecb7 Update device_profile_copy.php (#2293)
Fixed missing functionality to copy device_settings that are in a profile. 

Updated select queries to use database function.
2017-01-10 08:12:03 -07:00
Tom Gillett 897038f2d8 Fixed bug preventing scripts from being copied properly during install process (#2296) 2017-01-10 08:11:09 -07:00
FusionPBX 7aacee9b37 Update groups.php 2017-01-10 07:55:09 -07:00
FusionPBX fd9e301368 Update switch.php 2017-01-10 01:46:59 -07:00
FusionPBX a45b014b5f Update scripts.php 2017-01-10 01:41:29 -07:00
FusionPBX 12e8d12dbe Update scripts.php 2017-01-10 01:36:59 -07:00
FusionPBX cdf9bcde8e Update switch_settings.php 2017-01-10 01:18:17 -07:00
FusionPBX 00ddb5365b Update app_defaults.php 2017-01-10 01:14:14 -07:00
FusionPBX 3226641a1b Update app_defaults.php 2017-01-10 01:03:27 -07:00
FusionPBX 2d888496de Update app_defaults.php 2017-01-10 00:58:42 -07:00
FusionPBX 70788de885 Update app_defaults.php
Fix warnings.
2017-01-10 00:45:01 -07:00
FusionPBX 8d3da2f566 Update app_defaults.php 2017-01-10 00:36:43 -07:00
FusionPBX ed4ca99f7e Update app_defaults.php 2017-01-10 00:35:32 -07:00
FusionPBX 1914f788bc Update app_defaults.php 2017-01-10 00:32:43 -07:00
FusionPBX e7bc37baa9 Update upgrade_domains.php 2017-01-10 00:20:46 -07:00
FusionPBX ad0e310850 Update app_defaults.php 2017-01-10 00:00:07 -07:00
FusionPBX 7975d3c40d Update 2017-01-09 23:48:15 -07:00
FusionPBX 6ceb371067 Update app_defaults.php
Check to see if the file exists before renaming it.
2017-01-09 23:26:54 -07:00
FusionPBX 7850f96a18 Update pdo.php 2017-01-09 17:55:40 -07:00
FusionPBX 52b66797fd Update dialplan_outbound_add.php 2017-01-08 23:17:07 -07:00
Len 2e591e0584 Update {$mac}.cfg
correct missing {
2017-01-08 19:41:47 -05:00
FusionPBX 9aa1133ea6 Update
Fix the dial string used with follow me when the dial_string is set in default settings.
2017-01-06 15:49:38 -07:00
FusionPBX 40fbb4315e Delete config.php.dist 2017-01-05 05:05:43 -07:00
FusionPBX 514fdadb51 Create uuid.php 2017-01-05 04:15:47 -07:00
FusionPBX 921aef7f24 Update schema.php 2017-01-05 03:58:01 -07:00
FusionPBX be18b77b8e Update schema.php
Prevent php warnings.
2017-01-05 03:53:02 -07:00
FusionPBX eb0eed1c87 Update extension_edit.php 2017-01-05 02:29:43 -07:00
FusionPBX eca050fc3f Update app_defaults.php
Fix a sql error for ringtones.
2017-01-05 02:10:26 -07:00
FusionPBX d0d0b8f041 Update xml_cdr.php 2017-01-04 22:25:17 -07:00
FusionPBX 1552e31e67 Update xml_cdr_inc.php 2017-01-04 21:56:23 -07:00
FusionPBX de5c336983 Update pdo.php
Prevent php warnings.
2017-01-04 20:40:36 -07:00
FusionPBX f04cd905e5 Update app_config.php
Add device vendor functions for Sangoma.
2017-01-03 17:52:27 -07:00
FusionPBX a6ed3c7466 Update device_vendor_function_edit.php
Fix a PHP warning.
2017-01-02 20:03:58 -07:00
FusionPBX 69ef0b7302 Update device_vendor_functions.php 2017-01-02 19:59:23 -07:00
FusionPBX 05a2118682 Update README.md 2017-01-01 14:09:58 -07:00
FusionPBX 0075afa4a6 Update README.md 2017-01-01 14:05:36 -07:00
jebsolutions d8b42e424e minor fix: show shell exec errors. Nicer hide/show. (#2275)
test #1:
enter an invalid command for the shell.  e.g. "asdf" then click execute.

expected result:
You get some type of result about invalid command.

Actual result: nothing shows up.  You have no idea if your command worked or not.

fixed result: When doing an exec include errors in the response: 2>&1

Test #2:
Enter something invalid in the switch command.  e.g. "asdf".  Click Execute.  Change to SQL.  Enter something valid e.g. "select * from v_users;"  Click execute.

Expected result:
You see the SQL output right below your "select * from v_users;" input text box.

Actual result:
Because the output from the previous switch/php/shell is not hidden the SQL output is pushed down off the screen.  Unless the user scrolls down they will not see the result and think their SQL command didn't actually work.

Fixed results:
When you do switch/phps/shell show the Response section.
When you do sql hide the response section.

This way only the relevant response/sql_response is shown to avoid confusion/screen clutter.
2016-12-30 12:06:53 -07:00
FusionPBX 10c55348ea Update xml_cdr.php
Capitalize the SQL, change tmp_cdr to an alias of c for CDR, and remove the spaces from the indentation.
2016-12-30 10:54:33 -07:00
Len 0788213443 Update README.md 2016-12-29 20:51:40 -05:00
FusionPBX 761a9f51f2 Update ivr.conf.lua 2016-12-29 13:35:55 -07:00
Karolis Pabijanskas f3c90f6060 Fix xml_cdr_extension_summary.php speed issues (#2280) 2016-12-29 12:59:52 -07:00
FusionPBX 16ffec9486 Update functions.php
Minor version change.
2016-12-27 22:22:54 -07:00
jebsolutions b0bde877d1 fixes bug #2270 reported by volga629 (#2276)
Please do further testing/review and give comments and suggest cleanup, etc.

This bug is only tripped if all of the following are true:
a) fax send fails
b) email notification of fax failure also fails
c) Other?

how to test
- have a 100% working fax to email setup.
- Change Advanced->defaults->email and set the port to be something invalid.
- e.g. smtp port 9999 is invalid
- send a test fax to something without a fax
- e.g. I just faxed my own DID which does NOT have fax answering

- each time the phone rings answer...wait 5 seconds, and then hang up
- note: it will retry sending the fax 5 times so repeat the above.

- on the last try it will give up, and try to send the failure email
- the email will fail (bad port) and then it will insert the failed email into v_emails
- the insert will fail and nothing in v_emails

Error was caused by trying to insert '' into the domain_uuid field.
'' is invalid in a uuid field, but null is okay.

The null is caused by no x-headers being passed.  So these two fields end up null:
$headers["X-FusionPBX-Domain-UUID"]
$headers["X-FusionPBX-Email-Type"]

Ignoring unset/uninitialized variables hides bugs.

Fix: feed the X-Header in the calling lua code.
2016-12-27 17:49:57 -07:00
jebsolutions 273a69fc50 Minor fixes to HTML markup. (#2274)
call_flow_edit.php
- fix: <script> tag output before html headers
2016-12-27 10:06:30 -07:00
jebsolutions f40f37bebb vars.php - fix 3 notify warnings (#2247) 2016-12-26 14:57:49 -07:00
Luis Daniel Lucio Quiroz 5bb9c37b20 Fix global vars scope (#2263)
Same rationale as 4.2
2016-12-26 14:53:42 -07:00
FusionPBX b92765b168 Update functions.php
is_uuid make it more generic so it doesn't matter which uuid type it is whether 1,2,3 or 4.
2016-12-24 14:07:03 -07:00