Commit Graph

7916 Commits

Author SHA1 Message Date
Len
df6451a4bb Update README.md 2016-12-29 20:51:40 -05:00
FusionPBX
4c6e807786 Update ivr.conf.lua 2016-12-29 13:35:55 -07:00
Karolis Pabijanskas
fcc1ff7af4 Fix xml_cdr_extension_summary.php speed issues (#2280) 2016-12-29 12:59:52 -07:00
FusionPBX
68e18894db Update functions.php
Minor version change.
2016-12-27 22:22:54 -07:00
jebsolutions
730e9ed514 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
f13020b70c 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
4276ae2583 vars.php - fix 3 notify warnings (#2247) 2016-12-26 14:57:49 -07:00
Luis Daniel Lucio Quiroz
78415dd293 Fix global vars scope (#2263)
Same rationale as 4.2
2016-12-26 14:53:42 -07:00
FusionPBX
728a3c4b01 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
Luis Daniel Lucio Quiroz
fa244129be Fix Call forward BUSY and NO ANSWER DEVEL (#2269)
Same rationale as 4.0 and 4.2
2016-12-24 10:38:21 -07:00
FusionPBX
02a505e4d2 Update route_to_bridge.lua 2016-12-23 02:16:22 -07:00
FusionPBX
b9b3fd6494 Update route_to_bridge.lua 2016-12-23 01:52:19 -07:00
FusionPBX
406d326c8d Update dialplan.lua
Add hostname to dialplan xml handler.
2016-12-23 01:28:47 -07:00
FusionPBX
754403d430 Update switch.php 2016-12-23 01:21:14 -07:00
FusionPBX
cf91f82e65 Update switch.php 2016-12-23 01:17:09 -07:00
FusionPBX
5a852cfb6e Update app_languages.php 2016-12-23 01:03:22 -07:00
FusionPBX
e9dec6c366 Update app_config.php
Add hostname to the gateways table.
2016-12-23 01:02:06 -07:00
FusionPBX
950c58a139 Update app_languages.php 2016-12-23 01:00:49 -07:00
FusionPBX
e8990fd17f Update dialplan_edit.php
Add dialplan hostname and change some of the indentation.
2016-12-23 01:00:02 -07:00
FusionPBX
9aed1fb767 Update gateway_edit.php
Move the hostname for the gateway behind the advanced button.
2016-12-23 00:29:57 -07:00
FusionPBX
14a57b498e Update app_config.php
Show the follow me ignore busy by default.
2016-12-22 23:59:28 -07:00
FusionPBX
cb1d23ee50 Update xml_cdr_inc.php 2016-12-22 21:36:46 -07:00
FusionPBX
4ea4d28467 Update xml_cdr.php 2016-12-22 21:19:35 -07:00
FusionPBX
e7a7d0086a Update xml_cdr.php 2016-12-22 21:14:22 -07:00
FusionPBX
06f8010854 Update v_xml_cdr_import.php 2016-12-22 21:10:22 -07:00
FusionPBX
0c600c9df8 Update v_xml_cdr_import.php 2016-12-22 20:50:09 -07:00
FusionPBX
4a2c345cd9 Update xml_cdr.php
Hide the the paging controls in Call Detail Records if there are are not enough records to page.
2016-12-22 19:02:16 -07:00
FusionPBX
13db5ebe6a Update xml_cdr_search.php 2016-12-22 18:41:19 -07:00
FusionPBX
3361167cce Update xml_cdr_inc.php 2016-12-22 17:54:10 -07:00
FusionPBX
7660686ce6 Update xml_cdr.php 2016-12-22 17:37:47 -07:00
FusionPBX
5ee42b5c21 Update xml_cdr.php 2016-12-22 17:03:05 -07:00
FusionPBX
7b7adb126f Update xml_cdr_inc.php 2016-12-22 16:59:34 -07:00
FusionPBX
dddaf28f6e Update 2016-12-22 14:38:12 -07:00
FusionPBX
bd3e32a6d5 Update check_password.lua 2016-12-22 14:34:38 -07:00
FusionPBX
270e0288aa Update xml_cdr_inc.php 2016-12-21 17:02:10 -07:00
FusionPBX
9657093bd1 Update xml_cdr.php 2016-12-21 16:58:21 -07:00
FusionPBX
c3c9a7f83e Update xml_cdr_search.php 2016-12-21 16:25:22 -07:00
FusionPBX
ea4ef9b9c4 Update v_xml_cdr_import.php 2016-12-21 14:14:45 -07:00
FusionPBX
f4378f8c2d Update xml_cdr.php 2016-12-21 14:02:56 -07:00
FusionPBX
166645cf9a Update {$mac}.xml
Add {$cisco_router_mode}
2016-12-20 15:01:44 -07:00
jebsolutions
c584e8a0a1 Fix multiple notify warnings (#2254)
test:
- enable all errors
- go to log view page

expected result:
- no warnings/notify/errors

actual result:
Notice: Undefined index: ln in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 48
Notice: Undefined index: ord in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 51
Notice: Undefined index: fs in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 54
Notice: Undefined index: a in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 57
Notice: Undefined index: filter in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 81
Notice: Undefined variable: byte_count in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 221
Notice: Use of undefined constant color - assumed 'color' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Use of undefined constant font - assumed 'font' in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 246
Notice: Undefined variable: line_num in /var/www/fusionpbx/app/log_viewer/log_viewer.php on line 270
2016-12-20 13:26:42 -07:00
Len
1e0dd35e4f Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:55:15 -05:00
Len
f6eeb6b73d Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:49:40 -05:00
Alexey Melnichuk
f79418079c Fix. Use CID from extension for call forward if set call_forward_fix. (#2260)
This is same behavior as in Web UI.
2016-12-20 09:07:58 -07:00
Len
4fd422c1a1 Update SIP{$mac}.cnf
add option for different telnet password and turn auto complete off by default
2016-12-19 22:32:42 -05:00
Len
eb459e8a19 Update {$mac}.xml 2016-12-19 22:24:17 -05:00
Len
6e23f2092d Update {$mac}.xml 2016-12-19 22:22:30 -05:00
Len
c5bfcef32f Update {$mac}.xml 2016-12-19 22:20:56 -05:00
Len
410b8a1ce8 Update {$mac}.xml 2016-12-19 22:18:41 -05:00
Len
ffd39179f7 Update {$mac}.xml 2016-12-19 22:16:41 -05:00