Commit Graph

2529 Commits

Author SHA1 Message Date
Len a0316a3f12 Update {$mac}.cfg
correct missing {
2017-01-08 19:41:47 -05:00
FusionPBX 7ef0b192e7 Delete config.php.dist 2017-01-05 05:05:43 -07:00
FusionPBX 3cc705d93a Create uuid.php 2017-01-05 04:15:47 -07:00
FusionPBX 212cd7d025 Update schema.php 2017-01-05 03:58:01 -07:00
FusionPBX c43c1a556f Update schema.php
Prevent php warnings.
2017-01-05 03:53:02 -07:00
FusionPBX 5744d4b673 Update pdo.php
Prevent php warnings.
2017-01-04 20:40:36 -07:00
FusionPBX 4c6e807786 Update ivr.conf.lua 2016-12-29 13:35:55 -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
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 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 166645cf9a Update {$mac}.xml
Add {$cisco_router_mode}
2016-12-20 15:01:44 -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
Len e244238e73 Update {$mac}.xml 2016-12-19 22:14:23 -05:00
Len 7bc1d79253 Update {$mac}.xml 2016-12-19 22:12:01 -05:00
Len 11c70ea8b7 Update {$mac}.xml 2016-12-19 22:10:09 -05:00
Len f5c15fb570 Update {$mac}.xml 2016-12-19 16:08:25 -05:00
Len d479519924 Update {$mac}.xml 2016-12-19 16:06:53 -05:00
Len df369560a2 Update {$mac}.xml 2016-12-19 15:54:06 -05:00
Len bba1efe5ae Update {$mac}.xml 2016-12-19 15:50:32 -05:00
FusionPBX 570221c56b Update {$mac}.xml 2016-12-19 12:42:28 -07:00
FusionPBX f6f8b013a8 Update {$mac}.xml 2016-12-19 12:39:21 -07:00
FusionPBX 8c6108198f Update {$mac}.xml 2016-12-19 12:35:14 -07:00
FusionPBX 9b9fd990aa Update {$mac}.xml 2016-12-19 12:33:27 -07:00
FusionPBX dae70b448f Update {$mac}.xml 2016-12-19 12:26:53 -07:00
FusionPBX a47e6097cf Update {$mac}.xml 2016-12-19 11:16:31 -07:00
FusionPBX 2e9cd6840c Update {$mac}.xml 2016-12-19 11:14:52 -07:00
FusionPBX e2ae375abd Update schema.php 2016-12-18 16:48:24 -07:00
FusionPBX 7d161e0fa2 Update ivr.conf.lua
Fix the memcache expire on the ivr menu.
2016-12-14 08:45:56 -07:00
FusionPBX 4e6c464dc7 Update login.php 2016-12-13 08:56:02 -07:00
FusionPBX afd98d5e8d Update footer.php 2016-12-13 08:47:22 -07:00
FusionPBX 15c3934956 Update vars.xml 2016-12-13 08:32:35 -07:00
FusionPBX b55d1254e7 Update vars.xml 2016-12-12 16:41:25 -07:00
FusionPBX 580489b95c Update check_auth.php 2016-12-11 23:37:59 -07:00
FusionPBX af432eb467 Update php.php 2016-12-11 22:59:48 -07:00