Alexey Melnichuk
423e0ab503
Add. role to be able select database backend in constructor.
...
To configure use `database.backend` option
It can be a string value like `database.backend = 'native'`.
So it will always use same backend.
Or it can be a table value like
```Lua
database.backend = {
main = 'native';
base64 = '';
}
```
Role `database.backend.main` is predefined and it equal to `native` if not set.
If there no role when Database class creates or role unknown role `main` is used
```Lua
dbh = Database.new('system') -- uses role `main`
dbh = Database.new('system', 'main') -- same as previews
dbh = Database.new('system', 'base64') -- uses role `base64`
dbh = Database.new('system', 'test') -- uses role `main`
```
2016-03-25 10:04:48 +03:00
markjcrane
785071cde6
In the IVR Menu make sure direct dial checks if the destination is an extension before sending the call to it.
2016-03-23 12:49:32 -06:00
markjcrane
db3c649aaf
Update the disa.lua to prevent errors when caller hangs up before the destination is called.
2016-03-23 11:42:20 -06:00
markjcrane
cb320f3734
SPA122 - Set message waiting light to No when provisioning the device.
2016-03-21 23:45:05 -06:00
markjcrane
8a0331925a
Fix a spelling mistake in xml handler ivr.conf.lua.
2016-03-20 00:49:21 -06:00
markjcrane
57e212ff42
Fix direct dial for IVR using the xml handler.
2016-03-19 18:13:49 -06:00
markjcrane
db8fa2e5f5
Add destination number regex and string_to_regex function.
2016-03-17 13:22:03 -06:00
markjcrane
36d8c7815d
Change daylight_savings_start_date to daylight_savings_start_day as it is more accurate for representing the data. Add daylight_savings_start_time and daylight_savings_stop_time
2016-03-15 16:15:32 -06:00
markjcrane
6e4be852ad
Update default settings add daylight_savings_start_month and date for the polycom templates.
2016-03-15 13:51:01 -06:00
markjcrane
0deda1db2e
Rolling back PHPMailer from version 5.2.14 to 5.2.2. The latest version had a problem with smtp authentication set to false it still tried to authenticate.
2016-03-15 02:58:23 -06:00
markjcrane
d8aeecad35
Update the Cisco 79xx templates to work with the new contacts array.
2016-03-14 18:56:00 -06:00
markjcrane
1c9ee3a8ff
Add a missing semi-colon.
2016-03-12 22:16:22 -07:00
markjcrane
afe19e8a40
Change $language_name to $text['language-name'] this will follow current naming standards in app_languages.php and reduces code needed in the text class.
2016-03-12 22:06:57 -07:00
markjcrane
ed2898aa33
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-11 14:21:28 -07:00
markjcrane
8588a4caea
Get the domain_name from the array.
2016-03-11 14:21:08 -07:00
FusionPBX
c529dcdac1
Merge pull request #1475 from mafoo/WhitespaceClean-resources/provision/polycom
...
WhitespaceClean-resources/provision/polycom
2016-03-11 13:34:49 -07:00
FusionPBX
9e1564b967
Merge pull request #1476 from mafoo/WhitespaceClean-resources/provision/yealink
...
WhitespaceClean-resources/provision/yealink
2016-03-11 13:34:22 -07:00
FusionPBX
275ebe290a
Merge pull request #1474 from mafoo/WhitespaceClean-resources/provision/grandstream
...
WhitespaceClean-resources/provision/grandstream
2016-03-11 13:32:31 -07:00
FusionPBX
c0a43d3cd3
Merge pull request #1477 from mafoo/WhitespaceClean-resources/provision/mitel
...
WhitespaceClean-resources/provision/mitel
2016-03-11 13:32:01 -07:00
FusionPBX
534b6d9384
Merge pull request #1478 from mafoo/WhitespaceClean-resources/provision/others
...
WhitespaceClean-resources/provision/others
2016-03-11 13:31:33 -07:00
FusionPBX
6011bb3b0f
Merge pull request #1481 from mafoo/WhitespaceClean-resources/jquery
...
WhitespaceClean-resources/jquery
2016-03-11 13:27:02 -07:00
FusionPBX
93c4c56da2
Merge pull request #1461 from mafoo/BugFix-ring_groups
...
corrected function definition
2016-03-11 13:25:20 -07:00
FusionPBX
9987681740
Merge pull request #1472 from mafoo/WhitespaceClean-resources/classes
...
WhitespaceClean-resources/classes
2016-03-11 13:22:57 -07:00
FusionPBX
c6a68388a1
Merge pull request #1479 from mafoo/WhitespaceClean-resources/install/scripts
...
WhitespaceClean-resources/install/scripts
2016-03-11 13:20:17 -07:00
FusionPBX
4219954db5
Merge pull request #1473 from mafoo/WhitespaceClean-resources/provision/cisco
...
WhitespaceClean-resources/provision/cisco
2016-03-11 13:19:13 -07:00
FusionPBX
db41938a54
Merge pull request #1480 from mafoo/WhitespaceClean-resources/templates/conf
...
WhitespaceClean-resources/templates/conf
2016-03-11 13:18:21 -07:00
FusionPBX
0784e64bcb
Merge pull request #1482 from mafoo/WhitespaceClean-resources/edit_area
...
WhitespaceClean-resources/edit_area
2016-03-11 13:16:31 -07:00
FusionPBX
c147c958bc
Merge pull request #1483 from mafoo/WhitespaceClean-resources/templates/engine/smarty
...
WhitespaceClean-resources/templates/smarty
2016-03-11 13:16:14 -07:00
FusionPBX
353843a64f
Merge pull request #1484 from mafoo/WhitespaceClean-resources/others
...
WhitespaceClean-resources/others
2016-03-11 13:15:09 -07:00
markjcrane
3898a18f42
Prevent custom sip port from breaking provision.lua and add prevent nil concatenation errors.
2016-03-11 10:31:11 -07:00
mafoo
2b39287bdc
WhitespaceClean-resources/others
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
mafoo
5de8363e78
WhitespaceClean-resources/templates/smarty
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:45:32 +00:00
mafoo
ee948572a0
WhitespaceClean-resources/edit_area
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:29:29 +00:00
mafoo
c5463d6ed3
WhitespaceClean-resources/jquery
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:26:36 +00:00
mafoo
0d2cc7f124
WhitespaceClean-resources/templates/conf
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:24:27 +00:00
mafoo
b7555579bf
WhitespaceClean-resources/install/scripts
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
mafoo
e894c49823
WhitespaceClean-resources/provision/others
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:22:24 +00:00
mafoo
cf465f4ef3
WhitespaceClean-resources/provision/mitel
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:20:37 +00:00
mafoo
a7a3fc6a69
WhitespaceClean-resources/provision/yealink
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:18:50 +00:00
mafoo
6cb28a1516
WhitespaceClean-resources/provision/polycom
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:16:24 +00:00
mafoo
e3c2c38532
WhitespaceClean-resources/provision/grandstream
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:12:47 +00:00
mafoo
0bbc506d41
WhitespaceClean-resources/provision/cisco
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:10:46 +00:00
mafoo
e0fdf41320
WhitespaceClean-resources/classes
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
markjcrane
11c2176a15
The last two changes to xml handler dialplan.lua did not work well with global dialplans. Removed some of the changes to fix the regression.
2016-03-11 00:58:52 -07:00
markjcrane
ad7e9336dd
Add missing call_direction for ring group destinations.
2016-03-10 18:10:49 -07:00
markjcrane
56c3bde940
Use a more efficient way to get the domain name for xml handler - dialplan.
2016-03-10 08:18:46 -07:00
markjcrane
39b38738d8
Increase efficiency xml handler section dialplan.
2016-03-09 13:09:25 -07:00
mafoo
49fe51710c
corrected function definition
...
fixed bug introduced on 2/1/2016 in destination.lua
fixed bug introduced on 2/1/2016 in ring_member.lua
2016-03-09 17:54:44 +00:00
markjcrane
47ea47710c
Fix the phrases_dir if statement. If the phrases_dir is not null then need to include xml from the file system.
2016-03-07 10:30:29 -07:00
markjcrane
010a237c09
Handle the phrases_dir nil in a more flexible way.
2016-03-04 15:51:10 -07:00