Chris Black
a196e23352
Fix variable names and clean up duplicate time settings in yealink files ( #1694 )
...
Fix the variable names to be consistent across all yealink provision
files. Also remove all the duplicate/redundant time settings from the
files.
2016-06-24 10:33:25 -06:00
Alexey Melnichuk
0a0383db9a
Add. Handler for SUBSCRIBE method for call flow application. ( #1701 )
...
* Add. Handler for SUBSCRIBE method for call flow application.
Usage:
1. Run form fs_cli `luarun call_flow_subscribe`
2. Create new call flow extension and set feature code to `flow+<EXTENSION>`(e.g. `flow+401`).
3. Set on the phone BLF key to `flow+401`
This code based on `mod_valet_parking`.
* Add. prevent running 2 copy of script.
Remove some unused vars and simplify implementation.
* Fix. Use correct protocol for send event.
* Fix. Do escape SQL arguments
* Fix. escape `+` sign in call flow extension.
2016-06-24 10:32:19 -06:00
Mafoo
f88691618e
Enhance-make voicemail length configurable ( #1702 )
...
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
FusionPBX
64d42b1225
Update app_languages.php
...
Add button-applied to app_languages.php.
2016-06-24 10:10:51 -06:00
FusionPBX
23fb7118a6
Update local_stream.conf.lua
...
Music on hold set the default timer name to 'soft'.
2016-06-23 16:42:12 -06:00
markjcrane
af0c7cfe6a
Uncomment two lines to restore the debug check.
2016-06-23 15:46:59 -06:00
markjcrane
f9d191c520
Add full path to the music on hold chime list.
2016-06-23 15:29:14 -06:00
markjcrane
8e8454ff19
Update music_on_hold_timer to timer_name.
2016-06-23 13:35:53 -06:00
Alexey Melnichuk
e44e4b4e3c
Update Escene provision. ( #1696 )
...
* Update Escene provision.
Support DNS SRV record.
Set time zone.
* Add. Date/Time formats for Escene template.
2016-06-23 12:47:42 -06:00
markjcrane
ef43f49b9e
Add sip_h_X- prefix to the accountcode in pin_number.lua.
2016-06-22 15:05:33 -06:00
markjcrane
4b17d5dac2
Add domain_uuid check to pin_number.lua.
2016-06-22 13:52:43 -06:00
markjcrane
dfb6489334
Remove some trailing spaces and update the copyright year in pin_number.lua.
2016-06-21 19:37:25 -06:00
markjcrane
5db79b687c
Add database support to pin_number.lua.
2016-06-21 19:34:17 -06:00
markjcrane
fd782483cf
Fix the Directory file path for the Cisco 7940 and 7960 phones.
2016-06-21 19:01:30 -06:00
markjcrane
2b12ace5ee
Fix the path to the 7940 and 7960 directory.xml.
2016-06-21 18:46:57 -06:00
markjcrane
2955b8447e
Increase the voicemail greeting length that is allowed to 90 seconds.
2016-06-21 18:35:05 -06:00
Alexey Melnichuk
99c9b762f2
Update Escene template to Firmware 4.2.0 ( #1680 )
...
* Update Escene template to Firmware 4.2.0
* Add. Line label.
2016-06-20 11:46:43 -06:00
FusionPBX
bca0d39b96
Update ringbacks.php
...
The default ring back disabled for now but may re-enable as a method in the class which return the correct label and value.
2016-06-19 09:44:17 -06:00
markjcrane
6991bd7649
Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit.
2016-06-17 17:34:31 -06:00
Alexey Melnichuk
ede2f8f57d
Add. Support provision programmable keys for Escene devices. ( #1674 )
2016-06-17 10:43:27 -06:00
Alexey Melnichuk
38a5cb5a3f
Fix. Make configure consistent with web interface. ( #1671 )
2016-06-16 12:20:34 -06:00
FusionPBX
b6929e3897
Update {$mac}.cfg
...
Add outbound_proxy_1_port and outbound_proxy_2 and use outbound_proxy_1_address and outbound_proxy_2_address instead of primary and secondary.
2016-06-15 15:55:55 -06:00
FusionPBX
8828ec25cd
Update {$mac}.cfg
...
Add another line feed.
2016-06-15 15:40:09 -06:00
FusionPBX
f78aa73cd4
Update {$mac}.cfg
...
Add option for outbound proxy 1 and proxy 2
{$outbound_proxy_primary}
{$outbound_proxy_secondary}
{$outbound_proxy_enabled}
2016-06-15 15:29:34 -06:00
markjcrane
07c038308f
Correct the variable name.
2016-06-13 19:06:59 -06:00
markjcrane
2e0de74055
Replace the variable with the path to the sounds directory.
2016-06-13 19:04:23 -06:00
markjcrane
787502ea48
Rename local_stream.lua to local_stream.conf.lua.
2016-06-13 18:50:41 -06:00
markjcrane
366bf5fbea
Add local_stream.lua to xml_handler.
2016-06-13 18:30:32 -06:00
FusionPBX
3ad7fe027c
Update call_flow.lua
...
Call flow feature code update to play the right audio file.
2016-06-12 14:14:52 -06:00
FusionPBX
a66324a242
Update call_flow.lua
...
Inside call_flow.lua rename anti to alternate.
2016-06-12 14:02:57 -06:00
FreeMe
9888b60334
Update {$mac}.xml ( #1647 )
...
Full configuration Linksys 942 - also disabled CF settings so that it dials *72 to mange from server rather than the phone directly
2016-06-11 15:24:32 -06:00
FusionPBX
dcb9a655cd
Update call_flow.lua
...
Rename the variables in call_flow.lua to match. New variables call_flow_sound and call_flow_alternate_sound.
2016-06-11 10:02:31 -06:00
Alexey Melnichuk
6095609c5a
Add. Support sound prompts on call flow. ( #1645 )
...
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
FreeMe
5c7fcd1d9e
Update {$mac}.xml ( #1650 )
...
Fix did not {$,,,} the adminpassword field, changed and confirmed working
2016-06-10 23:03:49 -06:00
FreeMeUK
3a99301d65
Create {$mac}.xml ( #1649 )
...
A Linksys spa941 will accept the linksys942 file
2016-06-10 18:55:34 -06:00
Chris Black
96e1ad2cf4
Add ability for directory to use mod_flite or mod_cepstral ( #1644 )
2016-06-10 16:07:11 -06:00
Alexey Melnichuk
644996b1f7
Add. Support `bridge` mode to call forward from Lua. ( #1631 )
2016-06-08 07:33:55 -06:00
Mafoo
4605117d51
Enhance Ringback ( #1590 )
...
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
reliberate
5d34e38da1
Functions: Add function to retrieve countries array.
2016-06-06 16:57:11 -06:00
reliberate
ccc5155d6d
Files: Add pwstrength bootstrap plugin files (sorry).
2016-06-03 07:51:44 -06:00
reliberate
72687adef2
Security: Integrate Settings and necessary functions to enforce password complexity requirements.
...
Theme: Add basic password strength indicator bar.
Default Settings: Also verify correct Type (name) on Upgrade > App Defaults.
User: Show Nickname in Contact select if no Given or Family name.
Password Reset: Integrate hide and convert password fields method to prevent browser prompt.
2016-06-02 18:26:32 -06:00
hblandford
5cc5bdc648
Update vars.xml ( #1622 )
...
Add Australian ring tone
2016-06-01 21:18:26 -06:00
markjcrane
d91369b8f7
Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation.
2016-06-01 15:31:33 -06:00
Chris Black
69fca7ad69
set sip_trust_ctrl on all yealink profiles ( #1619 )
2016-05-27 12:14:36 -06:00
markjcrane
88a1f2dc1e
Add switch.sql to resources/install/sql
2016-05-27 10:35:11 -06:00
FusionPBX
d2219caf38
Update switch.php
...
Add a missing forward slash.
2016-05-26 19:52:03 -06:00
markjcrane
24b7b93988
Fix the syntax.
2016-05-26 11:28:30 -06:00
markjcrane
88bbd19d65
Add the include for the class.
2016-05-26 11:23:53 -06:00
markjcrane
7fff69f791
Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php.
2016-05-26 11:21:37 -06:00
markjcrane
404ffaed8e
Add a missing comma.
2016-05-26 10:52:37 -06:00
markjcrane
17bfd2eb35
Start using the module order.
2016-05-26 10:31:59 -06:00
Mafoo
59ddf92f1b
I got the permissions wrong ( #1616 )
...
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
a8b667cd0b
Added sticky GID permissions ( #1615 )
2016-05-25 21:51:41 -06:00
Mafoo
a25c9a3e48
Added basic searching for moh ( #1614 )
...
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
Chris Black
4a4a613902
remove SMS ( #1612 )
2016-05-24 12:57:46 -06:00
Chris Black
2d05685103
Add support for twilio ( #1610 )
...
added support for twilio and made it a bit easier to add support for
other carriers as well.
2016-05-24 02:02:36 -06:00
markjcrane
09a6325034
Fix the remaining files that had the wrong syntax in the SPA devices.
2016-05-23 11:59:34 -06:00
FusionPBX
0fa4d7f4ba
Update {$mac}.xml
...
Fix the syntax on the spa112 template.
2016-05-23 10:02:47 -06:00
FusionPBX
5a45a7aa2a
Update {$mac}.xml
...
Fix the syntax on the spa122 template.
2016-05-23 10:01:56 -06:00
FusionPBX
c0c35d6853
Update {$mac}.cfg
...
Disable DND on the Yealink t29p
2016-05-19 23:06:26 -06:00
FusionPBX
9c53d0e031
Update {$mac}.cfg
...
Disable DND on the Yealink t28p
2016-05-19 23:06:17 -06:00
FusionPBX
5121083c4e
Update {$mac}.cfg
...
Disable DND on the Yealink t27p
2016-05-19 23:06:10 -06:00
FusionPBX
24e30bfd31
Update {$mac}.cfg
...
Disable DND on Yealink t49g
2016-05-19 23:03:37 -06:00
FusionPBX
4eec0410c0
Update {$mac}.cfg
...
Disable DND on the Yealink t41p.
2016-05-19 23:02:47 -06:00
FusionPBX
7c4cc9d934
Update {$mac}.cfg
...
Disable DND on the Yealink t42g
2016-05-19 23:01:45 -06:00
FusionPBX
7a1d194a29
Update {$mac}.cfg
...
Disable DND on the Yealink phone for t46g
2016-05-19 23:00:42 -06:00
FusionPBX
4228467fe7
Update {$mac}.cfg
...
Disable DND on phone on the Yealink T48g
2016-05-19 22:59:42 -06:00
Chris Black
a8d5033953
Flowroute SMS ( #1603 )
...
* Fix Yealink provisioning for contacts/groups
Fix the Yealink provision templates to allow for directory_extensions,
groups and users.
* Fix group_uuid and user_uuid messup
* Yealink directory and provisioning changes
Includes the changes from PR 1582 with some fixes to the SQL.
Also merged all the directory_* options into ONE directory.xml
Will need to call the it with any of these:
http://mydomain/app/provision/?file=directory.xml&contacts=groups
http://mydomain/app/provision/?file=directory.xml&contacts=users
http://mydomain/app/provision/?file=directory.xml&contacts=extensions
http://mydomain/app/provision/?file=directory.xml&contacts=all
* Flow route SMS
2016-05-19 12:09:49 -06:00
FusionPBX
664a7fd2d7
Update {$mac}.cfg
...
Persist the volume after reboot on the Polycom 5.x template.
2016-05-19 11:23:28 -06:00
FusionPBX
80e4f64c37
Update {$mac}.cfg
...
Persist volume after reboot on the 4.x template.
2016-05-19 11:22:01 -06:00
markjcrane
6f4c52d956
Prevent php warnings in the text php class.
2016-05-16 21:35:54 -06:00
markjcrane
6dda2e246d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-13 08:52:49 -06:00
markjcrane
f89c2b2498
Applied changes from ronyshtamler to support exec-set in vars.xml.
2016-05-13 08:52:25 -06:00
Alexey Melnichuk
9f979b3299
Add. Support Escene phone book ( #1598 )
2016-05-13 08:35:47 -06:00
Alexey Melnichuk
6df1dae2a9
Fix. Use correct database for Call Center while FS load. ( #1597 )
...
Problem that `mod_commands` may load after than `mod_callcenter` and there no function `global_getvar`
So current code just create database with name `INVALID COMMAND!.db`.
2016-05-13 08:03:48 -06:00
FusionPBX
edfe01b0c5
Update intercept.lua
...
Account for core.db in intercept.lua
2016-05-12 23:06:45 -06:00
markjcrane
6ba188dc5e
Commented out the new database handle --local dbh = Database.new('switch') as it has a bug when freeswitch is using the DSN with the PostgreSQL driver. This change works around this problem by using the original database handler.
2016-05-12 20:43:57 -06:00
Chris Black
804565549b
Yealink directory listing for extensions, groups, users contacts ( #1588 )
...
* Fix Yealink provisioning for contacts/groups
Fix the Yealink provision templates to allow for directory_extensions,
groups and users.
* Fix group_uuid and user_uuid messup
* Yealink directory and provisioning changes
Includes the changes from PR 1582 with some fixes to the SQL.
Also merged all the directory_* options into ONE directory.xml
Will need to call the it with any of these:
http://mydomain/app/provision/?file=directory.xml&contacts=groups
http://mydomain/app/provision/?file=directory.xml&contacts=users
http://mydomain/app/provision/?file=directory.xml&contacts=extensions
http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane
d25a904079
Remove the error reporting in the include php.php.
2016-05-11 13:18:39 -06:00
markjcrane
b39f09d442
Remove the comment on the tls-verify-policy and add enabled="false"
2016-05-11 10:24:28 -06:00
Mafoo
87d44390cd
Fix for [ERR] sofia_glue.c:329 Invalid tls-verify-policy value: none ( #1593 )
...
you cannot actually set it to none, you have to not set it to get that
value.
made ipv6 profile tls settings consistent with ipv4 profile
2016-05-11 10:13:56 -06:00
Alexey Melnichuk
6202b1e58f
Update escene config.
2016-05-11 07:44:03 -06:00
markjcrane
b2e1dd4b2e
Working on music on hold.
2016-05-10 19:09:45 -06:00
markjcrane
1427c56634
Rename gxp3275 to gxv3275.
2016-05-10 18:19:40 -06:00
FusionPBX
538e6bcc08
Update check_auth.php
...
Remove this code to fix a bug voicemail_id is numeric, extension is not always numeric, and number alias should be numeric.
2016-05-10 17:25:20 -06:00
markjcrane
55b598f2d0
Make sure the user extension arrray exists on the initial login.
2016-05-06 17:47:03 -06:00
Alexey Melnichuk
f828c1c56b
Escene provision ( #1140 )
...
* Add. Provision to Escene ES330/ES320
* Add. Look up Escene device by ext+domain.
* Update Escene template.
* Add. `provision` section in config.
Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
reliberate
2b7c6bac00
Theme: Fix bug in web font loader.
2016-05-05 20:10:19 -06:00
reliberate
794361da95
Fix path issue in require.php.
2016-05-05 14:18:59 -06:00
markjcrane
f77e978914
Conditional includes if the config.php exists this fixes css.php for the install.
2016-05-05 13:22:08 -06:00
reliberate
2b6f51024d
Theme: Integrate ability to use Google Fonts.
2016-05-05 12:57:08 -06:00
markjcrane
3abaff004c
Check the missing array has content before processing it.
2016-05-04 00:22:35 -06:00
markjcrane
8ef1c951f8
Fix a spelling mistake in the polycom template for the parameter that was changed today.
2016-05-02 19:13:08 -06:00
markjcrane
9143ba902f
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-05-02 15:57:32 -06:00
markjcrane
253f22e432
Add quotes around the values in the Polycom 4.x and 5.x templates.
2016-05-02 15:57:13 -06:00
markjcrane
284f134903
Add default dtmf-type of rfc2833 to all the SIP profiles.
2016-05-02 15:56:20 -06:00
reliberate
5956a3a17f
Menu Manager: Add ability to customize main and sub menu icons.
2016-05-02 14:42:06 -06:00
markjcrane
46611580ac
Add dns_server_primary and dns_server_secondary to the newer yealink provisioning files.
2016-05-02 13:10:32 -06:00
markjcrane
3fa1f5b4e7
Add two new provision variables dns_server_primary and dns_server_secondary.
2016-05-02 11:46:26 -06:00
markjcrane
6570f8cf40
Define the text array before it is used.
2016-04-29 15:32:55 -06:00
markjcrane
eec04d521d
Add the missing function to pdo.php.
2016-04-29 11:21:26 -06:00
markjcrane
d43a8f20a5
Change phpsqlitedatatype to php_sqlite_data_type.
2016-04-29 11:15:02 -06:00
markjcrane
bc51cd7d1d
Cleanup the indentation ... tabs and whitespace after the last pull request.
2016-04-28 16:56:44 -06:00
Harry G. Coin
54df7b8d12
add tls, support ldaps
2016-04-25 22:22:03 -05:00
Harry G. Coin
09e6d2e3d7
last fixes needed to support mariadb 10.1
2016-04-25 22:20:31 -05:00
Harry G. Coin
7442f32a53
Cleanups.
...
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined. Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin
fd313a7c66
fixes so cli installs/upgrades work.
...
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin
1497c7cb7e
small orm bug fix
2016-04-25 21:12:39 -05:00
Harry G. Coin
aaf6bb8f96
Fix to cure uninitialized variable warnings whenever schema is called.
...
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin
64eeca8e2d
Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
...
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin
91a92d8e5e
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin
89e5ecbcdf
The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
...
So, please find in this set numerous small changes which eliminate numerous php warning messages.
Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.
If any of the proposed changes are omitted, the relevant page will experience php warnings.
There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
FusionPBX
06f6f1302e
Merge pull request #1553 from moteus/intercept_direction
...
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX
4230d3b414
Merge pull request #1450 from daniel-lucio/patch-3
...
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
Alexey Melnichuk
15fbc21b4d
Add. optional intercept only inbound/outbound calls.
...
Note.
* `inbound` is call to some extension
* `outbound` is call from some extension to external number.
Currently there no way to find call from extension to extension as `outbound`
2016-04-18 16:06:27 +03:00
markjcrane
49a53db5d1
If the event socket information is not set then use the defaults.
2016-04-15 18:22:28 -06:00
markjcrane
3efb6881db
Add missing 'this'
2016-04-15 18:07:47 -06:00
markjcrane
e8640966fd
Add the switch default settings in a more efficient way.
2016-04-15 17:59:34 -06:00
markjcrane
b3ba1aaf6f
Use intuitive names for the arrays and move one of the queries out of the loop.
2016-04-15 00:47:49 -06:00
markjcrane
69d36b806d
Add class_exists
2016-04-14 23:23:14 -06:00
markjcrane
fdc0435ab3
Update groups.php.
2016-04-14 23:12:57 -06:00
markjcrane
2e875b106b
Missed two of the $db connections.
2016-04-14 23:05:05 -06:00
markjcrane
4702530944
Remove the global $db connection in switch.php. Future will move all of these functions to php class methods.
2016-04-14 23:00:36 -06:00
markjcrane
70524407a6
Update the constructor and $db connection handling in the groups and switch_settings classes.
2016-04-14 22:38:28 -06:00
markjcrane
cfb1b28a54
Add a contructor to the dialplan class.
2016-04-14 22:34:10 -06:00
markjcrane
b7d8b3c23f
Update domains and schema classes.
2016-04-14 22:10:47 -06:00
markjcrane
6e5fe31303
Schema use $this->$db instead of $db.
2016-04-14 21:51:11 -06:00
markjcrane
8b5e166eda
Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table.
2016-04-14 10:40:25 -06:00
reliberate
478e8b7d7a
Login: Add IDs to submit buttons.
2016-04-13 16:32:40 -06:00
reliberate
1f1f8abd03
Theme: Integrate settings to control button styles and form input styles.
...
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate
7e8920d196
Fun Stuff: http://pasteboard.co/1ormWYp.png
...
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding. Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -06:00
reliberate
75ec879ff9
Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells).
...
Editor: Prevent / (slashes) in clip name.
Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility.
Functions: Add option to check_str() to skip string trim.
2016-04-07 12:00:19 -06:00
Alexey Melnichuk
1fea16de71
Fix. send fax file as PDF in response message
2016-04-05 13:48:50 +03:00
markjcrane
4ac03a8d1a
Add a missing permission on backup.
2016-04-04 19:51:22 -06:00
markjcrane
68c2e315ba
Update the yealink timezone settings.
2016-04-04 19:50:05 -06:00
markjcrane
cbe4a7e763
Fix the changes to the Cisco SPA templates.
2016-04-04 12:18:04 -06:00
markjcrane
8edbc9d774
Build the apps array so that the groups class defaults method can use it for the group permissions.
2016-04-03 13:18:45 -06:00
markjcrane
f3a0a8b153
Add a default group check.
2016-04-03 11:54:09 -06:00
markjcrane
c5d295ef2a
Add users and groups php class.
2016-04-03 11:47:06 -06:00
markjcrane
fb9a02376e
Prevent switch duplicates.
2016-04-02 20:28:45 -06:00
markjcrane
7aeeda0e15
Rename to the switch_settings class.
2016-04-02 20:11:51 -06:00
markjcrane
a638d86619
Set some of the switch directories to enabled false.
2016-04-02 19:57:37 -06:00
markjcrane
0c6e29632f
Add a missing semi-colon.
2016-04-02 19:42:18 -06:00
markjcrane
1200161b81
Update the database connection.
2016-04-02 19:41:16 -06:00
markjcrane
ebee007ab8
Change the switch class to freeswitch.
2016-04-02 19:37:37 -06:00
markjcrane
bcc993c537
Rename the EventSocket file to math current naming standard.
2016-04-02 19:24:32 -06:00
markjcrane
7d61371bc9
Rename the EventSocket class.
2016-04-02 19:23:16 -06:00
markjcrane
52ff8fae68
Fix a syntax problem on the new class.
2016-04-02 19:13:49 -06:00
markjcrane
d9e00f2be3
Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category.
2016-04-02 17:53:51 -06:00
markjcrane
11f4fea479
Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated.
2016-04-02 08:32:43 -06:00
markjcrane
827c9d5a50
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-04-02 08:23:18 -06:00
reliberate
14973b5c97
Functions: Enhance img_spacer() function.
...
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
markjcrane
ddb1cbd705
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-04-01 13:37:30 -06:00
markjcrane
8f1a8667f4
Fix the cisco load or image on the 7940 and 7960 templates.
2016-04-01 13:37:22 -06:00
reliberate
2ca72bd99d
Function: Created key_press function to dynamically generate key detection javascript.
...
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
FusionPBX
b6775e44c5
Merge pull request #1521 from moteus/mysql_escape
...
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
2016-03-31 09:04:35 -06:00
reliberate
ee100c6769
Default Settings: Enhance swatch display on color values.
2016-03-30 17:43:57 -06:00
FusionPBX
1e9837f77b
Merge pull request #1527 from moteus/menu_array_default_arg
...
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00
FusionPBX
28afa5ef35
Merge pull request #1528 from moteus/no_menu_warning
...
Fix. warning about using NULL as first argument in `foreach`.
2016-03-30 08:46:46 -06:00
FusionPBX
2786099d11
Merge pull request #1529 from moteus/select_language
...
Fix. Display language name on Install page.
2016-03-30 08:41:39 -06:00
Alexey Melnichuk
a24359d667
Fix. Display language name on Install page.
...
This is special case because all this names should be displayed
in same time on single page on different languages.
So not translate in strict way.
2016-03-30 10:27:04 +03:00
Alexey Melnichuk
43a023575a
Fix. warning about using NULL as first argument in `foreach`.
...
Problem now in `tepmplate.php`
```PHP
$menu_array = $menu->menu_array();
...
foreach ($menu_array as $index_main => $menu_parent) {
```
It appear while install process because in this moment there not `$db`
and `$menu->menu_array()` returns nothing.
This problem also can be solved in `tepmplate.php` like
```PHP
if(is_array($menu_array)){
foreach ($menu_array as $index_main => $menu_parent) {
...
```
2016-03-30 10:15:49 +03:00
Alexey Melnichuk
ec95fc5f24
Fix. Use default value in function definition.
...
On `themes/default/template.php` it called without args
```PHP
$menu_array = $menu->menu_array();
```
And it produce PHP warning.
2016-03-30 09:39:15 +03:00
reliberate
d307132b82
Functions: Added color adjustment and color format conversion functions.
2016-03-30 00:34:15 -06:00
markjcrane
5f5ae59c41
Remove the the condition on the direct dial.
2016-03-29 20:57:47 -06:00
Alexey Melnichuk
7508828b16
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
...
From PHP.net
```
Warning
This extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.
Instead, the MySQLi or PDO_MySQL extension should be used.
...
Alternatives to this function include:
* mysqli_real_escape_string()
* PDO::quote()
```
2016-03-29 16:34:36 +03:00
markjcrane
7df0324382
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-29 02:35:59 -06:00
markjcrane
2b1f01bd16
Add http authentication option to all Cisco SPA phones.
2016-03-29 02:35:33 -06:00
reliberate
cd7843b7f3
Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric).
2016-03-28 23:02:11 -06:00
markjcrane
0e73d0d3dc
Rollback changes to is_local.lua determined that switching to regex would lower perfomance adding an 'or' with a search for prefix would perform better.
2016-03-27 20:44:14 -06:00
markjcrane
abef8c5d3c
A global domain is optional. Using public context instead.
2016-03-27 04:46:01 -06:00
FusionPBX
b03d978bb0
Merge pull request #1512 from schraegervogel/master
...
initialize call_context
2016-03-27 04:25:22 -06:00
markjcrane
ac36bf07f7
Only call the scripts class if its installed.
2016-03-27 00:33:19 -06:00
markjcrane
812f41b48e
Add the menu_default method to app_defaults.php.
2016-03-26 22:59:00 -06:00
markjcrane
c7e90ebd26
Change the method name to menu_default.
2016-03-26 21:22:52 -06:00
markjcrane
f7aa8725e8
Add methoed 'default' to the menu class.
2016-03-26 21:18:02 -06:00
markjcrane
2a565e9f98
Remove the include to the resources/menu.php file that is no longer in use.
2016-03-26 19:37:42 -06:00
markjcrane
651f9806fb
Update the install.php.
2016-03-26 19:17:33 -06:00
markjcrane
100932656a
Fix the reference to the prepared statement.
2016-03-26 14:03:44 -06:00
markjcrane
ac4aef20b0
Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished.
2016-03-26 13:36:00 -06:00
markjcrane
5eef464cf3
Additional work to improve the install, template and the menu.
2016-03-26 12:22:15 -06:00
markjcrane
aa89c4fe26
Don't error if the menu is not available for the install.php.
2016-03-26 11:45:57 -06:00
reliberate
7fa8226f8d
Added (Really!): Moment.js - used by jQuery DateTimePicker plugin.
2016-03-25 16:52:07 -06:00
reliberate
e3fb32e1a2
Added: Moment.js - used by jQuery DateTimePicker plugin.
2016-03-25 16:39:19 -06:00
reliberate
5b58196c16
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-25 16:33:54 -06:00
reliberate
9aae7bdd79
Added: Moment.js framework (used by jQuery DateTimePicker plugin)
2016-03-25 16:33:05 -06:00
markjcrane
6631061d70
Set the default theme as the default.
2016-03-25 16:30:35 -06:00
reliberate
13e3aa4fa8
Added: Bootstrap Framework - initial integration.
...
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
FusionPBX
5906618ff3
Merge pull request #1510 from moteus/databas_role
...
Add. `role` to be able select database backend in constructor.
2016-03-25 15:52:47 -06:00
schraegervogel
39754a505e
initialize call_context
...
If you use xml_locate dialplan from fs_cli, you get an error, to prevent this I intialized call_context with the "domain"-var
2016-03-25 17:28:10 +01:00
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
FusionPBX
c5e804cb3c
Update acl.conf.lua
...
Change expire acl.conf to acl_conf
2016-03-25 01:00:43 -06:00
markjcrane
ab7bd4a3d3
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-24 23:08:45 -06:00
markjcrane
66e01ef9dc
Change to the new context require renaming two variables to be consistent and to prevent a problem.
2016-03-24 23:08:23 -06:00
FusionPBX
eb81998165
Revert "Revert "Revert "search selects"""
2016-03-24 22:25:18 -06:00
FusionPBX
90242c0c60
Revert "Revert "search selects""
2016-03-24 22:03:37 -06:00
FusionPBX
68e728b0b6
Revert "search selects"
2016-03-24 22:02:41 -06:00
FusionPBX
7217d29d8b
Merge pull request #1497 from blackc2004/master
...
search selects
2016-03-24 21:56:20 -06:00
FusionPBX
eeae7f0cc8
Merge pull request #1503 from blackc2004/patch-37
...
Update directory_extensions.xml
2016-03-24 21:37:06 -06:00
FusionPBX
4f068c1d7f
Merge pull request #1504 from blackc2004/patch-38
...
Update directory_extensions.xml
2016-03-24 21:28:46 -06:00
FusionPBX
f180be3792
Merge pull request #1505 from blackc2004/patch-39
...
Update directory_extensions.xml
2016-03-24 21:28:26 -06:00
FusionPBX
29777ef631
Merge pull request #1506 from blackc2004/patch-40
...
Update directory_extensions.xml
2016-03-24 21:28:01 -06:00
markjcrane
e1b6087e04
Use regex with is_local.
2016-03-24 18:43:51 -06:00
markjcrane
83edd6a7fd
On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH.
2016-03-24 15:02:04 -06:00
blackc2004
310863f21f
Update directory_extensions.xml
2016-03-24 08:38:53 -07:00
blackc2004
e73f2bf963
Update directory_extensions.xml
2016-03-24 08:38:39 -07:00
blackc2004
659d2b084e
Update directory_extensions.xml
2016-03-24 08:38:25 -07:00
blackc2004
c7ce82c3a9
Update directory_extensions.xml
2016-03-24 08:38:07 -07:00
blackc2004
6b4f552f6d
fix directory_extension for new contacts variable
2016-03-23 12:23:41 -07: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
blackc2004
128026f3e8
search selects
2016-03-22 15:42:46 -07: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
markjcrane
7cbb32dcd3
Ensure the phrases_dir is not nil.
2016-03-04 15:08:58 -07:00
markjcrane
847a9e926d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-03-04 12:36:19 -07:00
markjcrane
fb8046accb
Prevent a nil error for xml handler languages.
2016-03-04 12:35:37 -07:00
reliberate
ce2490dafc
User Dashboard: Minor layout optimizations.
...
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
markjcrane
49c3b3e991
Add ring_member.lua to app/ring_groups/resources/scripts/ring_member.lua.
2016-02-29 18:52:04 -07:00
Alexey Melnichuk
7e1481b747
Fix. FreeSWITCH also breaks loop if return string value which contain number.
...
```Lua
dbh:query(sql, function()
return "1" -- breaks loop
end)
2016-02-26 14:17:28 +03:00
Alexey Melnichuk
ebfcdc38be
Fix. LuaSQL db backend breaks loop only on positive numbers.
2016-02-26 13:57:32 +03:00
Alexey Melnichuk
c96a5bee48
Fix. ODBC db backend should breaks loop only when callback returns number ~= 0
...
```Lua
dbh:query(sql, function(row)
-- return 0 -- should not break loop
-- return true -- should not break loop
return 1 -- should break loop
end)
```
2016-02-26 13:52:27 +03:00
reliberate
d9c6a1df4f
Languages: Corrected capitalization on 'false'.
2016-02-25 11:13:18 -07:00
FusionPBX
d111ae4630
Merge pull request #1443 from moteus/database_backend
...
Database backend
2016-02-25 08:39:07 -07:00
Luis Daniel Lucio Quiroz
1b95a5eff4
Wrong variable in freeswitch.email
...
https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.email
same as my other pull request
2016-02-24 19:59:54 -05:00
reliberate
e49034921e
Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder.
2016-02-24 14:44:32 -07:00
reliberate
354e4e4918
Edit: Addition of Ace editor application files in /resources
2016-02-24 12:32:41 -07:00
markjcrane
9b2d02a569
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-02-24 10:43:16 -07:00
markjcrane
2e43f50d72
Update the wallpaper variable yealink_t29g_wallpaper.
2016-02-24 10:42:50 -07:00
Alexey Melnichuk
f498e84716
Fix. Add `#` to caller ID name when call from IVR
2016-02-24 16:28:38 +03:00
Alexey Melnichuk
65e014d73e
Move scripts to separate dirs.
2016-02-24 14:44:50 +03:00
markjcrane
251a1530be
Update PHPMailer 5.2.2 to 5.2.14.
2016-02-22 15:00:57 -07:00
markjcrane
5a06f486af
Rename .project.ROOT to project_root.php this conforms better with current file naming standards.
2016-02-22 14:01:18 -07:00
markjcrane
106d107d9e
Increase the HTTPS security.
2016-02-22 13:18:37 -07:00
markjcrane
de53ae149e
Fix a spelling mistake in the log message in dialplan.lua.
2016-02-22 13:17:04 -07:00
markjcrane
9ce23a7cca
Set max rotate on the FreeSWITCH logs to 10.
2016-02-22 13:15:55 -07:00
Alexey Melnichuk
e784cb3d6f
Fix. `unpack` moved to `table` in Lua 5.2
2016-02-20 15:22:28 +03:00
Alexey Melnichuk
a33230db15
Fix. `connected` method on LuaSQL backend.
2016-02-20 15:20:38 +03:00
Alexey Melnichuk
5afec68fb1
Add. Support multiple database backends.
...
```Lua
local Database = require 'resources.functions.database'
-- Default backend configured via xml_handler.db_backend = 'native'
dbh = Database.new("system")
-- To use other backends you can use
dbh = Database.backend.luasql("system")
```
2016-02-19 17:03:45 +03:00
FusionPBX
80758e8826
Merge pull request #1441 from moteus/page_caller_id_name
...
Fix. set caller id name in `page` application
2016-02-19 00:56:19 -07:00
markjcrane
acce2040ab
Company directory allow only setting the first or last name.
2016-02-16 13:05:25 -07:00
Alexey Melnichuk
7b20358284
Fix. set caller id name in `page` application
2016-02-16 13:36:14 +03:00
markjcrane
a7084e4b0b
Fix a spelling problem in the demo_ivr.xml.
2016-02-11 13:35:12 -07:00
markjcrane
bbd05a9c2d
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
2016-02-10 13:49:46 -07:00
markjcrane
d61c7815f9
Prevent nil from crashing the lua script.
2016-02-10 13:49:31 -07:00
bdstephenson
17b89a8fc8
Update W52P Provisioning Template
...
account.1.subscribe_mwi should be set to '1' as per Yealink documentation. Not setting this may cause MWI to not work on the W52P.
2016-02-08 08:48:37 -05:00
Alexey Melnichuk
c31047470d
Fix. Declare vars in correct scope.
2016-02-05 10:20:09 +03:00
Alexey Melnichuk
1bafdba135
Update log.
2016-02-04 20:00:12 +03:00
Alexey Melnichuk
9a70297909
Fix. Infinity loop. IVR ignores `max_failures`.
2016-02-04 19:42:42 +03:00
Alexey Melnichuk
5512276370
Fix. Allow multiple actions in IVR
2016-02-04 19:05:24 +03:00
Alexey Melnichuk
3327ecae91
Use logger class.
2016-02-04 16:05:35 +03:00
Alexey Melnichuk
883b73f6ac
Simplify code
2016-02-04 13:20:30 +03:00
Alexey Melnichuk
2ad2448346
Merge remote-tracking branch 'upstream/master' into ivr_menu
2016-02-04 12:14:27 +03:00
FusionPBX
6e3792bf05
Merge pull request #1420 from moteus/fix_partial_dialplan
...
Fix. Do not build context if there error.
2016-02-03 21:32:15 -07:00
markjcrane
ced645ff60
Update for provisioning. Add a new phone the Yealink t49g.
2016-02-03 20:02:59 -07:00