Commit Graph

2543 Commits

Author SHA1 Message Date
FusionPBX dad5aecd49 Update domains.php 2017-01-14 18:17:21 -07:00
FusionPBX b34f1769f0 Update domains.php 2017-01-14 18:15:34 -07:00
FusionPBX 0601c4ad71 Minor syntax fix spotted in dry run now activate. 2017-01-14 14:39:05 -07:00
FusionPBX 7c93ac7901 Add the settings method to the upgrade method. 2017-01-14 14:33:05 -07:00
FusionPBX 6dcf03f23c Add the settings method to the domains class. 2017-01-14 13:15:03 -07:00
FusionPBX 37161f6fc4 Update sofia.conf.lua
Fix the year.
2017-01-12 04:26:32 -07:00
FusionPBX 4e2b96b29f Update sofia.conf.lua
Fix domain alias show with sofia status.
2017-01-12 04:18:58 -07:00
FusionPBX dc15600b84 Update event_socket.php 2017-01-11 14:43:45 -07:00
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 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 cdf9bcde8e Update switch_settings.php 2017-01-10 01:18:17 -07:00
FusionPBX 7850f96a18 Update pdo.php 2017-01-09 17:55:40 -07:00
Len 2e591e0584 Update {$mac}.cfg
correct missing {
2017-01-08 19:41:47 -05: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 de5c336983 Update pdo.php
Prevent php warnings.
2017-01-04 20:40:36 -07:00
FusionPBX 761a9f51f2 Update ivr.conf.lua 2016-12-29 13:35:55 -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
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
Luis Daniel Lucio Quiroz a435f8973a 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 167bacf9df Update route_to_bridge.lua 2016-12-23 02:16:22 -07:00
FusionPBX fe31c4b633 Update route_to_bridge.lua 2016-12-23 01:52:19 -07:00
FusionPBX 0bb9de3463 Update dialplan.lua
Add hostname to dialplan xml handler.
2016-12-23 01:28:47 -07:00
FusionPBX be26c449f3 Update switch.php 2016-12-23 01:21:14 -07:00
FusionPBX c60867659a Update switch.php 2016-12-23 01:17:09 -07:00
FusionPBX 52ba8cf2e3 Update 2016-12-22 14:38:12 -07:00
FusionPBX 3f2c9a7e08 Update check_password.lua 2016-12-22 14:34:38 -07:00
FusionPBX 0ea401b336 Update {$mac}.xml
Add {$cisco_router_mode}
2016-12-20 15:01:44 -07:00
Len fb857088db Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:55:15 -05:00
Len 325abfd2c4 Update SIP{$mac}.cnf
Set telnet to "0" for off by default.
2016-12-20 13:49:40 -05:00
Alexey Melnichuk 5523e6f630 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 02b4cbcfe9 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 c35a7cc885 Update {$mac}.xml 2016-12-19 22:24:17 -05:00
Len 1bb46b81d6 Update {$mac}.xml 2016-12-19 22:22:30 -05:00
Len 5fb75607f9 Update {$mac}.xml 2016-12-19 22:20:56 -05:00
Len 826f954c21 Update {$mac}.xml 2016-12-19 22:18:41 -05:00
Len d0fe1f5afc Update {$mac}.xml 2016-12-19 22:16:41 -05:00
Len 80694cf5ac Update {$mac}.xml 2016-12-19 22:14:23 -05:00
Len 4e5b27bbab Update {$mac}.xml 2016-12-19 22:12:01 -05:00
Len 3ee40c927b Update {$mac}.xml 2016-12-19 22:10:09 -05:00
Len e5b08af213 Update {$mac}.xml 2016-12-19 16:08:25 -05:00
Len 669cc5f116 Update {$mac}.xml 2016-12-19 16:06:53 -05:00
Len 511b207ae8 Update {$mac}.xml 2016-12-19 15:54:06 -05:00
Len 8195d3e570 Update {$mac}.xml 2016-12-19 15:50:32 -05:00
FusionPBX 700163eec3 Update {$mac}.xml 2016-12-19 12:42:28 -07:00