Commit Graph

781 Commits

Author SHA1 Message Date
luis daniel lucio quiroz 44aaf5beed missing a this 2014-06-21 05:05:32 +00:00
luis daniel lucio quiroz 79bb16cf81 new method for database object 2014-06-21 04:59:25 +00:00
Nate Jones de00f769f6 Modify th_order_by function to allow the passing of CSS to the generated <th> tag. 2014-06-21 00:59:41 +00:00
Nate Jones 4a404f25f2 Expand then limit query string NULL mods to insert statements only. 2014-06-20 18:43:51 +00:00
Nate Jones d50b042590 Fix for Issue 481 (Enhanced) - Links to protected pages (such as emailed conference recording links, etc) will now properly redirect upon a successful login attempt AFTER failed login attempts. 2014-06-18 04:53:18 +00:00
Nate Jones fcc5886339 CDR basic search query, style and language mods, misc minor style mods. 2014-06-16 18:12:21 +00:00
Nate Jones fe87fb6439 Fix for Issue 589 - Implemented proposed fix, implementing tone_stream in the moh-sound parameter. 2014-06-13 17:56:53 +00:00
Nate Jones 33c5b0fe62 Fix for Issue 610 - Extra greater-than symbol removed. 2014-06-13 02:27:44 +00:00
Mark Crane 889e57b2d0 Fix a bug in IVR Menu exit action select hangup did not display the action correctly 2014-06-12 11:17:28 +00:00
Richard Neese dbfe9025a7 rm the added files 2014-06-11 03:41:00 +00:00
Richard Neese 965f871b3b added in for adding in a menu in a new theme 2014-06-11 03:00:11 +00:00
Mark Crane 9458e5b51e Add permissions only if there are groups assigned to the user. 2014-06-10 21:16:42 +00:00
Mark Crane 2070de705e Fix the menu and labels when switching domains in certain circumstances 2014-06-10 20:04:14 +00:00
Mark Crane 21b75b3538 Change the version to release candidate 2 anticipated that the full release will be in another day or two. 2014-06-10 03:56:22 +00:00
Mark Crane 6b06118979 Add profile, sync, reboot and explode to event notify lua script. 2014-06-10 03:23:02 +00:00
Omar Irbouh 65ed1518a5 fixed nil issue when voicemail has no messages 2014-06-09 22:43:08 +00:00
Richard Neese 7eb6bcec51 fixed a close from | to } in the sqlite section 2014-06-06 03:27:32 +00:00
Richard Neese 4f56ff905a fixing sql file dir for pkgs 2014-06-06 01:19:59 +00:00
Mark Crane 25be75a9b9 Improve the Polycom VVX provisioning template tested with latest 5.x firmware should work with any Polycom using version 4 or higher 2014-06-05 00:32:29 +00:00
Mark Crane 48af483db8 Drop the SQL like statement and use equals for best performance 2014-06-05 00:13:00 +00:00
Mark Crane de9f64c64b remove the plus from destination_number 2014-06-04 20:57:08 +00:00
Mark Crane 40adf2c11c Fix outbound caller id for outbound on net calls 2014-05-30 06:34:57 +00:00
Mark Crane 5c41168343 Update the snom provisioning templates add the admin_name and admin_password to the snom820 template, add outbound_proxy to snom 820 and the 720 2014-05-30 06:14:50 +00:00
Mark Crane ab6886a796 Add record_ext=mp3 option when recording an extension. 2014-05-24 17:32:32 +00:00
Mark Crane ca20707544 Fix the per user language user_setting so that it is only applied if it has a value 2014-05-21 05:52:39 +00:00
Mark Crane 964fe317b4 Add intercept_group.lua 2014-05-16 07:28:28 +00:00
Mark Crane eb7a0c33a8 Fix the sounds copy 2014-05-16 07:11:18 +00:00
Mark Crane f9c3a09bd3 Fix the cp -R 2014-05-16 06:28:27 +00:00
Mark Crane 8e53eb047b recursive_copy function use cp -R if it exists 2014-05-16 05:14:44 +00:00
Mark Crane 0b93629a3c Fix the user setting so they work. User settings need to be set after login 2014-05-12 23:30:26 +00:00
Mark Crane c52ca9a7a0 Fix blind transfer *1 2014-05-11 08:18:03 +00:00
Mark Crane d5b9972c66 Update the file permissions after they are copied 2014-05-10 23:44:41 +00:00
Mark Crane f4b17fd742 Fix the copy of the conf directory files during the install 2014-05-09 23:17:30 +00:00
Richard Neese 9645b2f69d 2014-05-09 14:16:32 +00:00
Mark Crane fce1e007c3 Change the # to a // comment 2014-05-09 04:29:05 +00:00
Richard Neese ac386361ad disabling phrase cp 2014-05-09 03:35:19 +00:00
Richard Neese 2c1bc52161 testing rm on a extra copy 2014-05-09 02:41:13 +00:00
Mark Crane 328278c91f Add an option "-n" --no-clober to the recursive_copy method used in the install 2014-05-08 09:45:05 +00:00
Mark Crane 03f376be02 Fix issue 591 where the dialplan xml file was not including the dialplan directory 2014-05-03 00:49:11 +00:00
Mark Crane 74ae6fc900 Add mute.lua and unmute.lua files 2014-05-02 09:34:56 +00:00
Mark Crane a8702c546a Add unmute.lua 2014-05-02 05:56:00 +00:00
Mark Crane d7436731d5 Add conference center mute.lua 2014-05-02 05:45:57 +00:00
Mark Crane 0c87f27b35 Add a default timezone for install.php 2014-05-01 23:54:52 +00:00
Mark Crane 52b946f575 Add emergency caller id name to the extension xml and to xml handler. 2014-05-01 04:59:33 +00:00
Mark Crane 3ada63faec Remove two includes that are no longer needed 2014-05-01 02:32:54 +00:00
Mark Crane 492452de64 Add a a check to see if the dial_string is null then add a default dial string 2014-04-30 20:54:30 +00:00
Mark Crane c19bfaf955 Fix the fax_success null issue wit fax retry 2014-04-30 05:04:54 +00:00
Mark Crane 898d35ae8c During the install check for /etc/freeswitch/vars.xml before using it 2014-04-29 17:51:29 +00:00
Mark Crane 70e573a266 Add /etc/freeswitch as an optional directory for freeswitch conf files 2014-04-28 23:25:33 +00:00
Mark Crane d363a35822 Fixed revision 382 sip-presence-on-register to true on the internal sip profile 2014-04-27 09:40:06 +00:00
Nate Jones 53c7c9957e Variable form select value mods 2014-04-27 08:55:39 +00:00
Nate Jones a6d2b6fc06 Fixed Issue 324 and Issue 329 - Assigned extensions now displayed to a User upon initial login. 2014-04-27 06:26:15 +00:00
Mark Crane 41fda05df6 Set MySQL Attribute for UTF8 2014-04-26 18:53:58 +00:00
Mark Crane 5848fb12e1 Don't forget to add the gateway_uuid to the SQL Select 2014-04-26 06:05:39 +00:00
Mark Crane a79368df49 Update the gateway list for the destination select list 2014-04-26 06:01:57 +00:00
Mark Crane 2abdf41a5b Show only defined call groups 2014-04-24 10:04:18 +00:00
Mark Crane 4db614ee8c change strlen($key) to isset($_REQUEST["key"] to fix login problem affecting one system 2014-04-18 01:22:37 +00:00
Mark Crane a721ca6758 Prevent errors in the dial string lua script 2014-04-15 18:54:03 +00:00
Nate Jones 207c063473 Dialplan (Inbound) & Ring Group select box adjustments (focus at top, etc) 2014-04-15 01:31:49 +00:00
Mark Crane 93db029bba Fix a nil variable concatentation error on user_status 2014-04-13 06:28:37 +00:00
Mark Crane 52f42ab4fe Add a missing forward slash on the email subject when sending the email 2014-04-13 06:14:17 +00:00
Mark Crane 8b78674ef4 Finish up the source conf directory for the Debian Package install. 2014-04-13 04:45:05 +00:00
Mark Crane 3ee5b61d33 Fix the source file path on XML CDR for the Debian package. 2014-04-12 22:10:22 +00:00
Mark Crane cfac14c6ee Adjust the source conf directory to work with the debian package 2014-04-12 20:54:32 +00:00
Mark Crane 11864f504b Make sure the recording directory exists 2014-04-12 17:42:23 +00:00
Mark Crane d4c3a49bc3 Set the file permissions on for the sqlite database so it will work better with the Debian package 2014-04-09 15:02:25 +00:00
Mark Crane 4db5c3c041 Fix the conf directory copy used during the install 2014-04-09 14:24:07 +00:00
Mark Crane 068e03c72d If the debian package usr share conf directory exists then use it as the source for the copy. 2014-04-09 05:00:11 +00:00
Mark Crane 025f733ac2 if the debian package scripts directory exists then use it for the source 2014-04-09 04:33:50 +00:00
Mark Crane 3a43ae12c4 Yealink remove some of the trailing white spaces. Fix the power led light for voicemail. 2014-04-08 01:37:47 +00:00
Mark Crane 924ba5ac6c During the install copy all FreeSWITCH conf files. 2014-04-07 22:35:05 +00:00
Mark Crane b9ed1f2074 A few minor changes to the yealink templates. 2014-04-07 21:18:35 +00:00
Mark Crane f7833ede51 Check for /etc/fusionpbx/conf if it exists use it for the conf directory. 2014-04-07 14:48:45 +00:00
Mark Crane 4a995a8b98 On the file system check for a more appropriate directory to make sure the application is installed. 2014-04-07 14:41:15 +00:00
Mark Crane 63752b3856 Make the two inbound lua scripts more robust when the domain is not found. 2014-04-05 20:14:55 +00:00
Mark Crane a7ab1c568c Check add the option to record the user. 2014-04-04 07:08:00 +00:00
Mark Crane 54c9a95d39 Add user_record to the xml_handler section: directory 2014-04-03 17:45:10 +00:00
Mark Crane 0712d91564 Correct the indentation of some of the lines in user_status lua script. 2014-04-03 15:50:50 +00:00
Mark Crane 776e93e5e3 Use a sub string rather than requiring the domain at this point. 2014-04-03 06:26:29 +00:00
Mark Crane 44c0a7f87a When determining the domain based DID/DDI or DNIS ignore whether the destination number is enabled or not. We need the information to determine the correct domain. 2014-04-03 06:20:59 +00:00
Mark Crane b1e4bc8131 Add a new variable to the Yealink template ($yealink_power_led_on). And change account 6 voice_mail.number.5 = *97 to voice_mail.number.6 = *97. 2014-04-02 09:50:29 +00:00
Mark Crane 0015e74101 Add *97 for the voicemail button for Yealink t42g, t46g, and t48g. 2014-04-02 07:34:44 +00:00
Mark Crane 891f535cec Move $db_type to $this->db_type. 2014-04-01 20:20:49 +00:00
Mark Crane 52cd917580 Add a method to the schema class column_exists, and sqlite_column_exists, and table_info. 2014-04-01 18:52:58 +00:00
Mark Crane 36e2054217 Fix the copy for the freeswitch conf directory which is done during the install. 2014-03-31 18:30:55 +00:00
Mark Crane e86ed6cb79 Fix SIP URI dialing so they can work again. 2014-03-28 08:44:56 +00:00
Mark Crane b6bc074dd0 Change the directory back to /etc/freeswitch until a bug is fixed in FreeSWITCH for the conf directory startup parameter. 2014-03-27 20:07:45 +00:00
Mark Crane c98c612166 Change the dir to /etc/freeswitch for now. 2014-03-27 20:03:31 +00:00
Mark Crane d0c2c1941a fix the syntax on install.php 2014-03-27 16:32:33 +00:00
Mark Crane 4764747cff Check to see if the /etc/fusionpbx/conf/freeswitch.xml file already exists and if so do not copy the conf directory. 2014-03-27 04:09:05 +00:00
Mark Crane 7451d1a019 Change directory detection /etc/freeswitch/dialplan to /etc/fusionpbx/conf. 2014-03-27 03:26:45 +00:00
Mark Crane 3ee3634103 Change the way the outbound context is used so that domain_name is not needed. 2014-03-27 02:38:15 +00:00
Mark Crane 7d6af49c9c Fix the register expires on the Yealink T42g, T46g and T48g. 2014-03-26 08:52:16 +00:00
Mark Crane c14e4f8241 Don't allow DHCP override by default. Add a new variable public_mode. 2014-03-26 05:53:18 +00:00
Mark Crane c43e14fd17 Allow auto-answer to the Grandstream gxp21xx/{$mac}.xml template. 2014-03-25 08:51:21 +00:00
Mark Crane 68a874e723 Correct the file path for IVR Menu. 2014-03-23 17:36:15 +00:00
Mark Crane 1462863d03 Skip saving the sip profile xml if the directory is not set. 2014-03-22 02:03:04 +00:00
Mark Crane 0410bea6fd When the config.php file exists disable the install. This change expands the directories where the config.php can be located. 2014-03-22 01:25:55 +00:00
Mark Crane 96c5094dc1 skip saving the gateway xml if the directory is not set. 2014-03-22 01:12:31 +00:00
Mark Crane d4cb446b3e Add the uuid to the SESSion array. 2014-03-21 23:49:26 +00:00
Mark Crane aa17f6285f In recordings.lua replace the custom sound file with phrase. 2014-03-21 23:47:40 +00:00
Mark Crane 088e6aaac4 Switch $switch_gateways_dir to $switch_sip_profiles_dir. 2014-03-21 23:46:20 +00:00
Mark Crane 399f968e29 Switch $_SESSION['switch']['gateways']['dir'] to $_SESSION['switch']['sip_profiles']['dir']. 2014-03-21 23:45:05 +00:00
Mark Crane 73d5f65adf Add snom_time_zone variable to the Snom 300, 320 and 720 templates. 2014-03-21 20:18:25 +00:00
Mark Crane dd248c7441 After toggling the call flow hangup the call. 2014-03-21 20:02:49 +00:00
Mark Crane c8dce3712d Adjust the admin_mod_login and password and the admin name and password for the Snom 300, 320, 720. 2014-03-21 18:22:25 +00:00
Mark Crane f539fb79e5 Update the snom 320 template. 2014-03-21 18:10:07 +00:00
Mark Crane 6c6097548f Update the Snom 300 provisioning template. 2014-03-21 17:57:46 +00:00
Mark Crane bc2da19316 Add literal tags around the mac and use of { and } in the Snom 720 template. 2014-03-21 17:53:05 +00:00
Mark Crane 43051fc0a5 Add a Snom 720 provisioning template. 2014-03-21 17:20:28 +00:00
Mark Crane 776d9aa857 Add a record option to the destination select list. 2014-03-21 06:34:55 +00:00
Mark Crane 170a0864f5 Limit the transaction for the menu to SQLite. 2014-03-21 06:29:00 +00:00
Mark Crane 18cb6271c3 If vm_message_ext is "mp3" then check to see if mod_vlc is running and if it is then use vlc:// as the prefix for streaming the file. 2014-03-20 16:42:04 +00:00
Mark Crane 5ccad10197 Use lame to convert voicemail wav to mp3 files. 2014-03-20 08:47:36 +00:00
Mark Crane affa8ee72c Add the SQL transactions back again to speed up install and menu restore. 2014-03-19 05:19:48 +00:00
Mark Crane 6e91c4778a Fix the alignment of the word Theme on the install.php. 2014-03-19 01:09:50 +00:00
Mark Crane f5adb254f1 Check to see if that features app_config.php file exists before adding it to the switch_select_destination list. 2014-03-18 06:39:13 +00:00
Nate Jones 110c378deb Dialplan Edit layout and style mods
Integrated autosize jquery script for text inputs
Style and functionality mods on domain selector and Enhanced template
2014-03-15 21:35:53 +00:00
Mark Crane 0dab3044e5 Yealink provisioning if category is not blf then hide the pickup_value. 2014-03-15 13:38:12 +00:00
Mark Crane 6f5a5af1ab Remove extra white spaces and a few other adjustments for the Yealinks phones. 2014-03-15 13:23:21 +00:00
Nate Jones 55aada9d3c Added Default Settings allowing control of system generated password lengths and strengths. Consistified (new word) password generation between Extension add and edit. Layout adjustment of Default Settings list. 2014-03-13 21:09:41 +00:00
Mark Crane d5734a78d9 Remove trailing spaces from t22p. 2014-03-10 16:34:27 +00:00
Mark Crane 94a3105b52 Add the following provisioning variables grandstream_gxp_time_zone, grandstream_gxp_date_format, and grandstream_gxp_time_format. 2014-03-08 06:38:19 +00:00
Mark Crane 5326cc9241 Add ability to set comma delimited list of pin_numbers. Example set pin_number=111,333,555 in addition to set pin_number=555 which was already possible. 2014-03-07 21:12:16 +00:00
Mark Crane 069dc6db1a Add a voicemail quota with a variable vm_disk_quota or vm-disk-quota (for compabitibility to FreeSWITCH voicemail) 2014-03-07 05:31:59 +00:00
Mark Crane 99e86db996 Add a 1 second sleep before playing the conference greeting. 2014-03-06 04:16:18 +00:00
Mark Crane b85838edd3 Add a conference center greeting. Move all SQL debug info inside an SQL debug true if statement. Fix the new member count so it says 0 members in the conference for the first person that enters. 2014-03-05 21:10:58 +00:00
Mark Crane fb9884ac46 Add a web login user and admin password for the Cisco SPA phones. 2014-03-04 16:51:33 +00:00
Mark Crane 65ace361b7 Prevent the class from being redeclared by using class_exists. 2014-03-04 16:48:59 +00:00
Mark Crane a817f62729 SPA303 change Proxy from the {$domain_name} to {$server_address_1}. 2014-03-04 06:23:49 +00:00
Mark Crane c60ad7b87b Add account enable and register expires to all accounts across all Yealink phones. Add #features.reset_by_long_press_enable = 0 to the T4x devices. 2014-03-02 06:52:47 +00:00
Mark Crane 96a3138fa4 Add register_expires and network.static_dns_enable to the Yealink T42g and T46g templates. 2014-03-01 10:08:27 +00:00
Mark Crane 0d180ff41b Add the Yealink t48g template. 2014-03-01 10:07:08 +00:00
Mark Crane daad35388d Fix Yealink T42 and T46 account enable. 2014-02-28 23:37:53 +00:00
Mark Crane 24120382a0 Add a member count announcement when joining the for conference room with conference center. 2014-02-28 17:14:15 +00:00
Mark Crane 0d59a9bafc Removed } which caused a problem when pressing *2 to make a recording. 2014-02-28 00:06:19 +00:00
Mark Crane 8596fbe688 Yealink templates - Move the wallpaper assignment after its uploaded. 2014-02-27 10:50:36 +00:00
Mark Crane 5035918ca8 Set the specific wallpaper and fix the variable syntax. 2014-02-27 05:35:18 +00:00
Mark Crane 1ac7868b19 Change the wallpaper and screen saver values. ${yealink_xxx_wallpaper} ${yealink_xxx_screen_saver} 2014-02-27 04:11:24 +00:00
Mark Crane 9ead2adf20 Add the spa_time_zone variable to the Cisco SPA templates. 2014-02-27 02:45:01 +00:00
Mark Crane 6cac435976 Update the SPA112 template. Add the web login user and admin name and password. 2014-02-25 16:47:47 +00:00
Mark Crane 2f58a36e45 Improve the Grandstream dialplan and disable stock info on the gxp21xx/{$mac}.xml template. 2014-02-25 15:52:19 +00:00
Mark Crane a6c058e813 Fix the SIP transport for the Yealink T42g. 2014-02-25 07:10:55 +00:00
Mark Crane fe5c6fe492 Add domain_description to the same domains array. 2014-02-25 06:00:40 +00:00
Mark Crane 9ef97c766d Add ring group rollover strategy to the LUA script. 2014-02-25 04:59:02 +00:00
Mark Crane dfba7f9405 Time for a major improvement to LUA XML handler efficiency. 2014-02-23 06:34:56 +00:00
Mark Crane 6b90bec7d0 Correct the field name in the SQL query from enabled to var_enabled. 2014-02-23 06:20:09 +00:00
Mark Crane 87a79a9211 Fix a problem with inbound calls and improve the dialplan lua script. 2014-02-22 18:06:30 +00:00
Mark Crane d1f7c87565 Add the call block lua script to app/dialplan so that it will work on all inbound calls. 2014-02-21 22:58:01 +00:00
Nate Jones ec4adf8145 Protected domain information from being overwritten. 2014-02-21 04:22:25 +00:00
Mark Crane 5724ac5361 Remove ORIGINATOR_CANCEL from the ring group lua script to fix ring group intercept. 2014-02-19 22:48:00 +00:00
Mark Crane b12c258e05 Fix the white space and tabs issues with fax_retry.lua. 2014-02-19 06:15:53 +00:00
Mark Crane b8be06d295 Remove origination_caller_id_name from ring groups lua script. 2014-02-18 18:43:14 +00:00
Mark Crane bac657a34f Update eavesdrop.lua change the sounds used to get the pin number to the default freeswitch sound files. 2014-02-18 01:10:15 +00:00
Mark Crane 757641d0bd Fix upgrade schema so it evaluate char and char(30) as a char. 2014-02-17 17:12:33 +00:00
Mark Crane bf80be8d87 Comment out the transaction support for the menu. 2014-02-16 09:04:52 +00:00
Mark Crane 4087ff7779 Fix the call_direction. 2014-02-14 01:01:51 +00:00
Mark Crane 0c4a6a9018 Add features.reset_by_long_press_enable although will be ignored by 70 firmware and remove some trailing spaces. 2014-02-13 15:32:11 +00:00
Mark Crane 5c753fe81e Only perform these actions if the directory exists during the install. 2014-02-13 00:24:49 +00:00
Mark Crane bda1a9dec4 Only install class copy methods only add if the directory exists. 2014-02-13 00:23:00 +00:00
Mark Crane 12c4f6b5d2 Add the live dial pad option to the one yealink template that did not have it. 2014-02-11 04:40:33 +00:00
Mark Crane 49d710246f Make the sql statements a little more efficient. 2014-02-11 02:04:38 +00:00
Mark Crane 202645e1d8 Set the dev branch version to 3.5 release candidate 1. 2014-02-11 01:53:46 +00:00
Mark Crane e579923342 Add MWI-Voice-Message to show the message count. 2014-02-09 09:43:47 +00:00
Mark Crane f2dcc5028c Return the primary key uuid when adding a new record. 2014-02-09 09:24:41 +00:00
Mark Crane 9b07668251 A minor change to directory.lua 2014-02-09 09:12:05 +00:00
Mark Crane 5d6cf09061 Fix the ring group caller id prefix. 2014-02-08 18:42:35 +00:00
Mark Crane 968b134b32 Update the seesion every 8 hours isntead of every 30 minutes. 2014-02-08 09:38:44 +00:00
Mark Crane e67177828f Add the admin_name, admin_password, user_name, and user_password variables to the Yealink w52p. 2014-02-08 09:24:08 +00:00
Mark Crane ebc19b06b9 Add new Yealink time zone variables and update existing ones adding 'yealink_' as a prefix. 2014-02-08 08:58:28 +00:00
Mark Crane 71f71a3a5f Add sip port, transport, and expires to the Yealink w52p. 2014-02-08 06:59:42 +00:00
Mark Crane 79ab5605ad Conference center remove a redundant dbh:release(); which is not needed because its being done in the hangup hook. Turn off sql debug. 2014-02-07 19:09:32 +00:00
Mark Crane 488872116a Thanks Christopher Hennessy for donating the new templates and improvements to the existing ones. 2014-02-07 11:13:50 +00:00
Mark Crane fd9d639327 Change the template directory name to lower case to match the other templates. 2014-02-07 11:05:05 +00:00
Mark Crane 5895d307e7 Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:45 +00:00
Mark Crane c61d04727e Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:26 +00:00
Mark Crane eaae926379 Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:06 +00:00
Mark Crane c99272a15b Add the Yealink w52p. 2014-02-07 11:02:22 +00:00
Mark Crane 2165f07869 Grandstream GXP2200 remove the trailing white spaces and fix one of the variables. 2014-02-07 08:38:39 +00:00
Mark Crane b9c7686975 Add new lua application user_status to be used to login and logout of call center by toggling the user status. 2014-02-04 23:23:17 +00:00
Mark Crane b1f6136b6d Add 'check voicemail' option to the destination select list and move info, hangup and answer to advanced which only users in the superadmin group can see. 2014-02-04 08:36:18 +00:00
Mark Crane d089f7ded0 If authentication is set for unique global username then don't remove the @domain from the username. 2014-02-04 04:53:42 +00:00
Mark Crane 8d09e4da67 Remove the \$ and replace with $ the \ escape is not needed. 2014-02-04 00:49:16 +00:00
Mark Crane 8ff448eea9 Fix General memory key 5 in the Grandstream gxp21xx template. 2014-02-01 09:11:52 +00:00
Mark Crane c03db87617 Add the date format for the gxp21xx. 2014-02-01 05:28:22 +00:00
Mark Crane 08c1e37b51 Update the firmware path for the gxp21xx. 2014-02-01 05:14:17 +00:00
Mark Crane 9c2966cf5b Add sip transport for gxp21xx. 2014-02-01 03:43:29 +00:00
Mark Crane bfcc528676 Update the line key assignment for the Cisco SPA series phones. 2014-01-30 08:33:26 +00:00
Mark Crane 819917765d Add a provisioning template for the Cisco 7960 template. 2014-01-30 00:23:38 +00:00
Mark Crane 7809ff3525 Add quotes around the name. 2014-01-30 00:17:44 +00:00
Mark Crane 4cc7fd379f Empty tftp_cfg_dir variable in the 7940 template 2014-01-29 23:03:29 +00:00
Mark Crane cf2e1db5f0 Fix a syntax problem with the Yealink vp530 provisioning template. 2014-01-29 09:21:58 +00:00
Mark Crane e240cb75b9 Fix a syntax problem on the Grandstream GXP2200 provisioning template. 2014-01-29 09:18:47 +00:00
Mark Crane ab316a7fb0 Change the include for smarty template engine to a require_once 2014-01-29 09:13:56 +00:00
Mark Crane 726dc41afb Key to line assignment for the Grandstream GXP21xx. 2014-01-28 10:42:00 +00:00
Mark Crane 12efba25d1 Configure the multi-purpose keys in the Grandstream gxp21xx template. 2014-01-28 10:08:02 +00:00
Mark Crane b5c6b73b43 Fix the line key assignment on the SPA303, add voicemail *97 option, and time zone settings. 2014-01-26 14:03:32 +00:00
Mark Crane 7045ae3b32 Remove the back slash from ivr_menu.lua. http://jira.freeswitch.org/browse/FS-6059 thanks Travis for the bug fix. 2014-01-26 13:25:50 +00:00
Mark Crane db85195793 Add Company Directory to the dialplan select destination. 2014-01-26 13:18:41 +00:00
Mark Crane 11508403e2 Yealink, Add the time zone variables. 2014-01-24 08:44:22 +00:00
Mark Crane 673b680e71 Configure the wallpaper option to the yealink templates. 2014-01-24 08:08:04 +00:00
Philippe Rioual ee51bea37e fixed some french translations issues 2014-01-23 21:15:49 +00:00
Mark Crane 9b972d21d5 Add admin_password and user_password to all of the grandstream phones. 2014-01-23 05:26:53 +00:00
Nuno Miguel Reis 2578862bad registrations panel reboot options (extended) 2014-01-22 21:39:27 +00:00
Mark Crane de09d2f6b6 Fix a bug with fax_success in a few places it was set to numeric 0 but used in an IF statement as a string. Fax retry worked in many situations but this bug prevented it from working all the time. 2014-01-21 21:55:38 +00:00
Nuno Miguel Reis 05e3a61ac4 pt-ring 2014-01-21 18:03:05 +00:00
Nuno Miguel Reis 2d31c971df fixed to be used like this: lua/luarun app.lua call_block C 2014-01-21 05:12:57 +00:00
Nuno Miguel Reis 0ecedb07de added missing references 2014-01-21 04:33:54 +00:00
Nuno Miguel Reis b531bcc450 fixed bug with file handle 2014-01-21 04:22:02 +00:00
Nuno Miguel Reis e83d7ea1fd removed utf8encode not needed after all (local bug was causing the issues elsewhere) 2014-01-21 03:25:56 +00:00
Nuno Miguel Reis 4dcdd3a0ca added new log function 2014-01-20 21:55:36 +00:00
Nuno Miguel Reis b4c5bffe68 added protection by encoding in utf8 2014-01-20 21:22:24 +00:00
Mark Crane cd785dcf45 Add admin_name, admin_password, user_name, user_password, var_name, and var_password variables to the yealink common config file. 2014-01-20 11:21:42 +00:00
Mark Crane 1a7c685e60 Add a new object relational model class and make the dialplan edit use for add and edit. 2014-01-19 13:09:17 +00:00
Mark Crane 5e37c95abb Database class change $this->name to $this->db_name 2014-01-19 13:06:27 +00:00
Mark Crane 4fcc3b4c35 Add a PHP class autoloader spl_autoload_register. 2014-01-19 01:30:10 +00:00
Nuno Miguel Reis 4cb72d88cc menu fixing utf8 and ring groups pt-ring option 2014-01-16 23:30:56 +00:00
Richard Neese 09f6d2825b fix cisco 504g template 2014-01-16 22:55:50 +00:00
Mark Crane d2875882a0 Update Cisco SPA provisioning templates to get the key assignment working. 2014-01-15 23:53:25 +00:00
Mark Crane 2bac44aee7 Add app/dialplan/ to the dialplan class path. 2014-01-13 14:34:13 +00:00
Mark Crane d0c9cf7715 Move the dialplan class to the dialplan/resources/classes directory. 2014-01-13 14:21:27 +00:00
Mark Crane 527f537f3a Set the Yealink -> live dialpad option to enabled in the common config. 2014-01-09 03:39:22 +00:00
Mark Crane 9c51439eb7 Update the app.lua script. 2014-01-09 03:04:28 +00:00
Mark Crane f0eb71950c Fix TLS option for the sip transport. 2014-01-09 02:35:29 +00:00
Mark Crane 6209f82858 Change the default setting to another method. 2014-01-09 01:28:21 +00:00
Mark Crane 57291e733d Improve the method to determine a default sip port number. 2014-01-09 01:07:57 +00:00
Mark Crane bb817445c6 Add event_notify lua script. 2014-01-08 09:15:35 +00:00
Mark Crane 6dc16dec51 Update a few more things. 2014-01-08 01:34:15 +00:00
Mark Crane 6fb834709e Change the old provisioning syntax to the new syntax. 2014-01-08 01:30:30 +00:00
Mark Crane 540819901b Fix ring groups for originate_disposition add 'failure' 2014-01-07 06:25:16 +00:00
Mark Crane c080637207 Add yealink t42g, and t46g templates. 2014-01-05 10:17:42 +00:00
Mark Crane 9f8e130644 Update yealink auth_name 2014-01-05 10:16:40 +00:00
Mark Crane c30de90032 Correct the common config file name for yealink vp530. 2014-01-05 07:21:36 +00:00
Mark Crane 2cbdfbe793 Add the p to the template name. 2014-01-05 07:04:05 +00:00
Mark Crane e3893760b9 Add the p to the template name. 2014-01-05 07:03:45 +00:00
Mark Crane 7bee0be113 Add the p to the template name. 2014-01-05 07:02:53 +00:00
Mark Crane 16105fe591 Add the p to the template name. 2014-01-05 07:02:30 +00:00
Mark Crane 1052cea2fd Update the yealink common file for the t28p 2014-01-05 06:56:05 +00:00
Mark Crane a806e7e367 Update the yealink common file for the t26p 2014-01-05 06:54:51 +00:00
Mark Crane 44f99f8f35 Update the yealink common file. 2014-01-05 06:53:59 +00:00
Mark Crane 22ff37be57 2014-01-05 06:52:17 +00:00
Mark Crane 74fe48cf3c Add the missing {/if} 2014-01-04 05:58:22 +00:00
Mark Crane 63741a35ca Fix the yealink memory keys 2014-01-04 05:50:41 +00:00
Mark Crane f466af0c42 Update the yealink templates for key line and extension options. 2014-01-04 01:48:58 +00:00
Mark Crane 45c254f6e0 Dev Branch: Conference center fix the domain_uuid. 2014-01-04 00:11:09 +00:00
Mark Crane b2e1017294 Change log messages from [conference] to [conference center] 2014-01-03 21:04:37 +00:00
Mark Crane 93543936f5 Dev branch, Fix conference center by adjusting the database connection. 2014-01-03 21:02:21 +00:00
Mark Crane 58530d843e Use the correct database connection object. 2014-01-03 20:07:36 +00:00
Mark Crane 0f56dcc01a Update the provisioning key assignment so that it will work for yealink phones. 2014-01-03 02:55:16 +00:00
Mark Crane 7ff34446a5 Fix register expires on spa508g. 2014-01-02 23:32:34 +00:00
Mark Crane 82df486187 Update Cisco SPA sip_transport, sip_port, and register_expires. 2014-01-02 23:06:25 +00:00
Mark Crane e1b5d9587b SPA provisioning set Resync_Periodic to 0 for linksys devices. 2014-01-02 21:01:55 +00:00
Mark Crane d0d0e72b0d SPA provisioning set Resync_Periodic to 0. 2014-01-02 20:59:24 +00:00
Mark Crane ac07b4a613 Add the key assignment to the yealink templates. 2014-01-01 08:54:03 +00:00
Mark Crane 2725e25be3 Add an include to ensure the domains class exists. 2013-12-30 16:03:29 +00:00
Mark Crane 0c272c7906 Add an option for the user accounts to be globally unique. 2013-12-27 18:24:57 +00:00
Mark Crane 67ee471d5f Fix this error: [ERR] freeswitch_lua.cpp:374 DBH NOT Connected. Caused by releasing DBH which is done in the parent script. 2013-12-24 16:25:16 +00:00
luis daniel lucio quiroz e7d3d5c934 previous changes reverted, agreed with mcrane 2013-12-23 20:21:25 +00:00
luis daniel lucio quiroz fbc34dfab8 database_host nil prevention 2013-12-23 00:39:02 +00:00
luis daniel lucio quiroz a85673b66f dialed_extension assigned before showing 2013-12-23 00:34:34 +00:00
luis daniel lucio quiroz 41ea11528c fix a dbh sintax that fails in some servers, seems old sintax is not supported 2013-12-23 00:29:54 +00:00
luis daniel lucio quiroz f306ff68ea dialed_extensions was nil when coming from ringing group 2013-12-22 19:06:00 +00:00
Mark Crane bafbfe8b47 Correct the variables in the Cisco SPA122 template. 2013-12-22 07:33:03 +00:00
Mark Crane 9e437da3fe Update the Yealink t20, and t22 provisioning files and add the t32g, t38g, and vp530. 2013-12-22 07:07:33 +00:00
Mark Crane 37dc88c439 Provisioning - Add key assignment, fix vertical spacing on some of the templates, trailing spaces, fix the dialplan and disable Group_Paging_Script tag which uses extension 800. 2013-12-21 20:24:17 +00:00
Mark Crane ae43fa83bf Update the Cisco spa504g provisoning template. It is now the first to use the key assignment. 2013-12-21 16:49:01 +00:00
Mark Crane 5fac0278d6 Fix the update to the call center dialplan. 2013-12-19 10:04:37 +00:00
Mark Crane d72187ede2 Add Cisco spa508g template. 2013-12-17 22:42:20 +00:00
Mark Crane d02d4e863d Add Cisco spa514g template. 2013-12-17 20:03:40 +00:00
Mark Crane 49414038cd Add and update sip port, transport and sip expires on spa112 and spa504g 2013-12-10 22:56:49 +00:00
Mark Crane 82689c0d29 Add port and transport to the SPA112 template. 2013-12-10 18:06:07 +00:00
Mark Crane ae5e7ae848 Add the rest of the Grandstream provisioning files. 2013-12-07 03:06:02 +00:00
Mark Crane 49029f7ebb Change the RTP packet size <RTP_Packet_Size group="SIP/RTP_Parameters">0.020</RTP_Packet_Size> 2013-12-07 01:30:19 +00:00
Mark Crane 4f8ab969d9 Fix that code that writes the gateway xml to the file system so that it will use the gateway uuid for the filename and gateway name. Benefit of using the XML is that it is a major step closer to renaming tenants, or changing the gateway name without hurting the outbound routes. 2013-12-06 12:36:52 +00:00
Mark Crane 91d489b8b2 Change the gateway name to gateway_uuid in the XML handler. 2013-12-06 08:26:55 +00:00
Mark Crane d3fc19f75a Get rid of a trailing white space in voicemail/index.lua 2013-12-04 18:15:34 +00:00
Mark Crane 20ee58b5ba Remove a trailing space from dial_string.lua 2013-12-04 18:06:07 +00:00
Mark Crane b01ccb2ebb Adjust the voicemail_authorized if statement. 2013-12-04 17:24:44 +00:00
Mark Crane 73096006a2 Add voicemail_authorized variable as an option set it up to work with for *97 and *4000. When you check voicemail then press * it prompts for the password or if *98 is dialed it asks for the password. 2013-12-04 17:07:34 +00:00
Mark Crane 51daa8b8ee Add per leg ring group domain name control. Contributed by Daniel Lucio.
dest1:  100
dest2:  999@otherdomain
dest3: 555
2013-12-04 08:14:40 +00:00
Mark Crane 602f6d038f Remove a file_exists where it didn't belong. 2013-12-01 07:17:28 +00:00
Mark Crane dd78750044 Fix the scripts to copy missing freeswitch scripts again. 2013-12-01 06:56:55 +00:00
Mark Crane 569c22f319 Add the dialed_extension to ring groups. 2013-12-01 03:59:06 +00:00
Mark Crane 178f475e64 Add scripts/app/dialplan accessible with action: lua data: app.lua dialplan 2013-12-01 03:46:04 +00:00
Mark Crane 79cbecb5e9 Fix the call center extension list.
Reported as https://code.google.com/p/fusionpbx/issues/detail?id=510&start=100
2013-11-26 17:04:00 +00:00
Mark Crane 323a486b01 Yealink t22 and t38g set account.1.transport = 1 for TCP. 2013-11-26 07:57:40 +00:00
Mark Crane ee7a772b40 Remove dbh:release(); from directory.lua because its done in the parent script after this script completes. 2013-11-25 20:56:27 +00:00
Mark Crane 7c3300faf6 Change menu class method restore2 to restore_all. Remove group permissions from restore (Restore Default) and leave in restore_all (Restore All) 2013-11-24 01:35:37 +00:00
Mark Crane a812951dc1 Improve the efficiency of the Menu PHP class by removing redundant code in the restore method of the PHP class and add PDO transactions. Improve the menu language for better multi-lingual support, escape the menu item title to so it will work correctly for French and other languages. 2013-11-24 00:15:02 +00:00
Mark Crane 4bd5b6a018 Add Grandstream GXP140x and GXP1450 templates. 2013-11-23 06:07:02 +00:00
Mark Crane ff8322988b Add templates for the Cisco spa122, spa501g, and spa509g. Thanks Keng for providing these templates. 2013-11-23 06:04:55 +00:00
Mark Crane 9159389034 Add templates for the Cisco spa301, spa502g, and spa512g. 2013-11-23 05:43:11 +00:00
Mark Crane 734943e723 Provisioning add Granstream gxp21xx, ht701, and a minor update to dp715. 2013-11-21 00:45:17 +00:00
Mark Crane 33a3cddf5e Add a missing if statement: if (conference_hostname ~= local_hostname) then
Contributed by Luis Daniel Lucio
2013-11-20 07:35:38 +00:00
Mark Crane d71bb5ceac Check the hostname for conference center. 2013-11-20 06:14:18 +00:00
Mark Crane 8076d2af85 config.php can be located in /etc/fusionpbx this change makes it use that location during install if it exists. Thanks Richard Neese who reported this error and the solution. 2013-11-19 16:15:00 +00:00
Mark Crane 8131f3473e Edge case fix ring group when an extension is not registered. 2013-11-19 05:59:47 +00:00
Mark Crane 137176ae1f Add a additional debug information and fix some problems in directory.lua. 2013-11-17 11:44:02 +00:00
Mark Crane 15aff26905 Fix the template dp715 so it will work with the template engine changes. 2013-11-16 23:56:40 +00:00
Mark Crane c9266bfe8e Rename the provisioning file so that it is valid for the template engine. 2013-11-16 23:46:01 +00:00