Commit Graph

735 Commits

Author SHA1 Message Date
Mark Crane 500b6477cb Fix the fax_success null issue wit fax retry 2014-04-30 05:04:54 +00:00
Mark Crane 0c01b3fa92 During the install check for /etc/freeswitch/vars.xml before using it 2014-04-29 17:51:29 +00:00
Mark Crane 64110b9bb7 Add /etc/freeswitch as an optional directory for freeswitch conf files 2014-04-28 23:25:33 +00:00
Mark Crane 1b651f7f2a Fixed revision 382 sip-presence-on-register to true on the internal sip profile 2014-04-27 09:40:06 +00:00
Nate Jones 6e1af41747 Variable form select value mods 2014-04-27 08:55:39 +00:00
Nate Jones 55de548a70 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 4bc72943b8 Set MySQL Attribute for UTF8 2014-04-26 18:53:58 +00:00
Mark Crane 62058af4f6 Don't forget to add the gateway_uuid to the SQL Select 2014-04-26 06:05:39 +00:00
Mark Crane 1a08f8446f Update the gateway list for the destination select list 2014-04-26 06:01:57 +00:00
Mark Crane 2b2d46a408 Show only defined call groups 2014-04-24 10:04:18 +00:00
Mark Crane 366fba4071 change strlen($key) to isset($_REQUEST["key"] to fix login problem affecting one system 2014-04-18 01:22:37 +00:00
Mark Crane f98f7c01b3 Prevent errors in the dial string lua script 2014-04-15 18:54:03 +00:00
Nate Jones a1010fecce Dialplan (Inbound) & Ring Group select box adjustments (focus at top, etc) 2014-04-15 01:31:49 +00:00
Mark Crane ca46dfcbee Fix a nil variable concatentation error on user_status 2014-04-13 06:28:37 +00:00
Mark Crane 22d3edb3f8 Add a missing forward slash on the email subject when sending the email 2014-04-13 06:14:17 +00:00
Mark Crane 6a4dd6687d Finish up the source conf directory for the Debian Package install. 2014-04-13 04:45:05 +00:00
Mark Crane 72a17a64a8 Fix the source file path on XML CDR for the Debian package. 2014-04-12 22:10:22 +00:00
Mark Crane 0d141db086 Adjust the source conf directory to work with the debian package 2014-04-12 20:54:32 +00:00
Mark Crane a455b33af5 Make sure the recording directory exists 2014-04-12 17:42:23 +00:00
Mark Crane 223a9bf175 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 3732d8798f Fix the conf directory copy used during the install 2014-04-09 14:24:07 +00:00
Mark Crane b1803607c3 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 f26267cf36 if the debian package scripts directory exists then use it for the source 2014-04-09 04:33:50 +00:00
Mark Crane cfd6ce9033 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 30154f5e5d During the install copy all FreeSWITCH conf files. 2014-04-07 22:35:05 +00:00
Mark Crane c292635b67 A few minor changes to the yealink templates. 2014-04-07 21:18:35 +00:00
Mark Crane d60c242be5 Check for /etc/fusionpbx/conf if it exists use it for the conf directory. 2014-04-07 14:48:45 +00:00
Mark Crane df1e6c8de4 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 11ee2be8f1 Make the two inbound lua scripts more robust when the domain is not found. 2014-04-05 20:14:55 +00:00
Mark Crane a9bbdd1f28 Check add the option to record the user. 2014-04-04 07:08:00 +00:00
Mark Crane a9ff275b7b Add user_record to the xml_handler section: directory 2014-04-03 17:45:10 +00:00
Mark Crane 136388aac4 Correct the indentation of some of the lines in user_status lua script. 2014-04-03 15:50:50 +00:00
Mark Crane 59b148a298 Use a sub string rather than requiring the domain at this point. 2014-04-03 06:26:29 +00:00
Mark Crane 2fc2b13eb0 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 c30bcddcb9 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 923bb2089b Add *97 for the voicemail button for Yealink t42g, t46g, and t48g. 2014-04-02 07:34:44 +00:00
Mark Crane 3ca4192053 Move $db_type to $this->db_type. 2014-04-01 20:20:49 +00:00
Mark Crane 0521819a63 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 53e0394359 Fix the copy for the freeswitch conf directory which is done during the install. 2014-03-31 18:30:55 +00:00
Mark Crane 4e4029f2aa Fix SIP URI dialing so they can work again. 2014-03-28 08:44:56 +00:00
Mark Crane c98c383c8e 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 c6ff5d7f7e Change the dir to /etc/freeswitch for now. 2014-03-27 20:03:31 +00:00
Mark Crane e1380888e6 fix the syntax on install.php 2014-03-27 16:32:33 +00:00
Mark Crane a1c630afbd 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 34bbfa6031 Change directory detection /etc/freeswitch/dialplan to /etc/fusionpbx/conf. 2014-03-27 03:26:45 +00:00
Mark Crane ec16d3e4fb 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 6f7b005aa0 Fix the register expires on the Yealink T42g, T46g and T48g. 2014-03-26 08:52:16 +00:00
Mark Crane a7dcdb6ca2 Don't allow DHCP override by default. Add a new variable public_mode. 2014-03-26 05:53:18 +00:00
Mark Crane 7ed692a790 Allow auto-answer to the Grandstream gxp21xx/{$mac}.xml template. 2014-03-25 08:51:21 +00:00
Mark Crane 4e3fc13879 Correct the file path for IVR Menu. 2014-03-23 17:36:15 +00:00
Mark Crane 0a50c67d97 Skip saving the sip profile xml if the directory is not set. 2014-03-22 02:03:04 +00:00
Mark Crane a3b526ce8d 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 38d0614665 skip saving the gateway xml if the directory is not set. 2014-03-22 01:12:31 +00:00
Mark Crane 68c735db30 Add the uuid to the SESSion array. 2014-03-21 23:49:26 +00:00
Mark Crane f88625e84c In recordings.lua replace the custom sound file with phrase. 2014-03-21 23:47:40 +00:00
Mark Crane 07ab447a77 Switch $switch_gateways_dir to $switch_sip_profiles_dir. 2014-03-21 23:46:20 +00:00
Mark Crane 531e29a06e Switch $_SESSION['switch']['gateways']['dir'] to $_SESSION['switch']['sip_profiles']['dir']. 2014-03-21 23:45:05 +00:00
Mark Crane d922db1f7b Add snom_time_zone variable to the Snom 300, 320 and 720 templates. 2014-03-21 20:18:25 +00:00
Mark Crane 41b55d8433 After toggling the call flow hangup the call. 2014-03-21 20:02:49 +00:00
Mark Crane 8740e0b29f 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 155fb25251 Update the snom 320 template. 2014-03-21 18:10:07 +00:00
Mark Crane 3d88853dc0 Update the Snom 300 provisioning template. 2014-03-21 17:57:46 +00:00
Mark Crane 5ebf8c4e93 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 7d42728b58 Add a Snom 720 provisioning template. 2014-03-21 17:20:28 +00:00
Mark Crane 7c715cb7db Add a record option to the destination select list. 2014-03-21 06:34:55 +00:00
Mark Crane 571f5b912b Limit the transaction for the menu to SQLite. 2014-03-21 06:29:00 +00:00
Mark Crane 9ba46dfc8a 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 b95e2e2488 Use lame to convert voicemail wav to mp3 files. 2014-03-20 08:47:36 +00:00
Mark Crane 604517b605 Add the SQL transactions back again to speed up install and menu restore. 2014-03-19 05:19:48 +00:00
Mark Crane abe9cde75e Fix the alignment of the word Theme on the install.php. 2014-03-19 01:09:50 +00:00
Mark Crane 4cb64eda4b 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 454681ecab 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 0ec8902eb1 Yealink provisioning if category is not blf then hide the pickup_value. 2014-03-15 13:38:12 +00:00
Mark Crane d2f88742dd Remove extra white spaces and a few other adjustments for the Yealinks phones. 2014-03-15 13:23:21 +00:00
Nate Jones 33bb2d850f 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 5879a09f46 Remove trailing spaces from t22p. 2014-03-10 16:34:27 +00:00
Mark Crane 3d9d89c7dd 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 b1f95da562 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 12351013b8 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 500e5ce10d Add a 1 second sleep before playing the conference greeting. 2014-03-06 04:16:18 +00:00
Mark Crane b43c1df078 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 2856c9ef62 Add a web login user and admin password for the Cisco SPA phones. 2014-03-04 16:51:33 +00:00
Mark Crane 30acf917a0 Prevent the class from being redeclared by using class_exists. 2014-03-04 16:48:59 +00:00
Mark Crane a2109e5759 SPA303 change Proxy from the {$domain_name} to {$server_address_1}. 2014-03-04 06:23:49 +00:00
Mark Crane 1a9f911009 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 d39862cc41 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 7f9149a8b9 Add the Yealink t48g template. 2014-03-01 10:07:08 +00:00
Mark Crane 14ca5aaf34 Fix Yealink T42 and T46 account enable. 2014-02-28 23:37:53 +00:00
Mark Crane a6730e470d Add a member count announcement when joining the for conference room with conference center. 2014-02-28 17:14:15 +00:00
Mark Crane bbea9c2f9e Removed } which caused a problem when pressing *2 to make a recording. 2014-02-28 00:06:19 +00:00
Mark Crane 6c0ccf6faa Yealink templates - Move the wallpaper assignment after its uploaded. 2014-02-27 10:50:36 +00:00
Mark Crane d602280def Set the specific wallpaper and fix the variable syntax. 2014-02-27 05:35:18 +00:00
Mark Crane 2d8570408b Change the wallpaper and screen saver values. ${yealink_xxx_wallpaper} ${yealink_xxx_screen_saver} 2014-02-27 04:11:24 +00:00
Mark Crane d08c6e270d Add the spa_time_zone variable to the Cisco SPA templates. 2014-02-27 02:45:01 +00:00
Mark Crane 9ece07dd32 Update the SPA112 template. Add the web login user and admin name and password. 2014-02-25 16:47:47 +00:00
Mark Crane 9923a2a5c9 Improve the Grandstream dialplan and disable stock info on the gxp21xx/{$mac}.xml template. 2014-02-25 15:52:19 +00:00
Mark Crane 1091745af1 Fix the SIP transport for the Yealink T42g. 2014-02-25 07:10:55 +00:00
Mark Crane 708dea41d5 Add domain_description to the same domains array. 2014-02-25 06:00:40 +00:00
Mark Crane 07032a2a13 Add ring group rollover strategy to the LUA script. 2014-02-25 04:59:02 +00:00
Mark Crane 392111d825 Time for a major improvement to LUA XML handler efficiency. 2014-02-23 06:34:56 +00:00
Mark Crane 4a954451f9 Correct the field name in the SQL query from enabled to var_enabled. 2014-02-23 06:20:09 +00:00
Mark Crane 66ae6eb47b Fix a problem with inbound calls and improve the dialplan lua script. 2014-02-22 18:06:30 +00:00
Mark Crane 78c231a646 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 47d45a06d7 Protected domain information from being overwritten. 2014-02-21 04:22:25 +00:00
Mark Crane 436cf40595 Remove ORIGINATOR_CANCEL from the ring group lua script to fix ring group intercept. 2014-02-19 22:48:00 +00:00
Mark Crane 6ec053708f Fix the white space and tabs issues with fax_retry.lua. 2014-02-19 06:15:53 +00:00
Mark Crane c981e783f1 Remove origination_caller_id_name from ring groups lua script. 2014-02-18 18:43:14 +00:00
Mark Crane 398696d6b0 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 6f4a84458f Fix upgrade schema so it evaluate char and char(30) as a char. 2014-02-17 17:12:33 +00:00
Mark Crane 984ca4faad Comment out the transaction support for the menu. 2014-02-16 09:04:52 +00:00
Mark Crane 2e14c7e154 Fix the call_direction. 2014-02-14 01:01:51 +00:00
Mark Crane 864613f199 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 d41e849d59 Only perform these actions if the directory exists during the install. 2014-02-13 00:24:49 +00:00
Mark Crane abb1097e02 Only install class copy methods only add if the directory exists. 2014-02-13 00:23:00 +00:00
Mark Crane 614e62b306 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 b8f5e54032 Make the sql statements a little more efficient. 2014-02-11 02:04:38 +00:00
Mark Crane 0d35f10582 Set the dev branch version to 3.5 release candidate 1. 2014-02-11 01:53:46 +00:00
Mark Crane 95f64f8d99 Add MWI-Voice-Message to show the message count. 2014-02-09 09:43:47 +00:00
Mark Crane ecd8616fa1 Return the primary key uuid when adding a new record. 2014-02-09 09:24:41 +00:00
Mark Crane 247f625744 A minor change to directory.lua 2014-02-09 09:12:05 +00:00
Mark Crane 1fa31bca61 Fix the ring group caller id prefix. 2014-02-08 18:42:35 +00:00
Mark Crane d07506fbf6 Update the seesion every 8 hours isntead of every 30 minutes. 2014-02-08 09:38:44 +00:00
Mark Crane 0a3af3791f 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 32e3dd5045 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 b68f35d4b6 Add sip port, transport, and expires to the Yealink w52p. 2014-02-08 06:59:42 +00:00
Mark Crane 9e2f71b1cf 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 9e35256a81 Thanks Christopher Hennessy for donating the new templates and improvements to the existing ones. 2014-02-07 11:13:50 +00:00
Mark Crane 5101a6495c Change the template directory name to lower case to match the other templates. 2014-02-07 11:05:05 +00:00
Mark Crane 1743f309c8 Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:45 +00:00
Mark Crane 4f5d206812 Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:26 +00:00
Mark Crane ad176155dd Change the template directory name to lower case to match the other templates. 2014-02-07 11:04:06 +00:00
Mark Crane 7bff7ea25a Add the Yealink w52p. 2014-02-07 11:02:22 +00:00
Mark Crane 8b5c6d67f8 Grandstream GXP2200 remove the trailing white spaces and fix one of the variables. 2014-02-07 08:38:39 +00:00
Mark Crane 910332318f 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 0cc3b53f07 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 25807f4e7c 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 382b293f8a Remove the \$ and replace with $ the \ escape is not needed. 2014-02-04 00:49:16 +00:00
Mark Crane 830ec1bc5a Fix General memory key 5 in the Grandstream gxp21xx template. 2014-02-01 09:11:52 +00:00
Mark Crane 9498e274fe Add the date format for the gxp21xx. 2014-02-01 05:28:22 +00:00
Mark Crane b5b89224fa Update the firmware path for the gxp21xx. 2014-02-01 05:14:17 +00:00
Mark Crane 26028fc49e Add sip transport for gxp21xx. 2014-02-01 03:43:29 +00:00
Mark Crane 8c567bdb76 Update the line key assignment for the Cisco SPA series phones. 2014-01-30 08:33:26 +00:00
Mark Crane 29a5301d08 Add a provisioning template for the Cisco 7960 template. 2014-01-30 00:23:38 +00:00
Mark Crane 6b0492961d Add quotes around the name. 2014-01-30 00:17:44 +00:00
Mark Crane 399b26947f Empty tftp_cfg_dir variable in the 7940 template 2014-01-29 23:03:29 +00:00
Mark Crane 74e0552a1d Fix a syntax problem with the Yealink vp530 provisioning template. 2014-01-29 09:21:58 +00:00
Mark Crane dc588b5113 Fix a syntax problem on the Grandstream GXP2200 provisioning template. 2014-01-29 09:18:47 +00:00
Mark Crane cb6ecd26bf Change the include for smarty template engine to a require_once 2014-01-29 09:13:56 +00:00
Mark Crane aaa7cb702a Key to line assignment for the Grandstream GXP21xx. 2014-01-28 10:42:00 +00:00
Mark Crane 829e08c44c Configure the multi-purpose keys in the Grandstream gxp21xx template. 2014-01-28 10:08:02 +00:00
Mark Crane 6f186aa5c7 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 addcf3ca8c 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 8c3ca87527 Add Company Directory to the dialplan select destination. 2014-01-26 13:18:41 +00:00
Mark Crane aff65a0add Yealink, Add the time zone variables. 2014-01-24 08:44:22 +00:00
Mark Crane c3cf4a19df Configure the wallpaper option to the yealink templates. 2014-01-24 08:08:04 +00:00
Philippe Rioual 72b80314e2 fixed some french translations issues 2014-01-23 21:15:49 +00:00
Mark Crane d11ebf2e2d Add admin_password and user_password to all of the grandstream phones. 2014-01-23 05:26:53 +00:00
Nuno Miguel Reis 8f1f5d4130 registrations panel reboot options (extended) 2014-01-22 21:39:27 +00:00
Mark Crane bf831a7bf5 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 25b6b34f41 pt-ring 2014-01-21 18:03:05 +00:00
Nuno Miguel Reis fefc71617e fixed to be used like this: lua/luarun app.lua call_block C 2014-01-21 05:12:57 +00:00
Nuno Miguel Reis b581096c2f added missing references 2014-01-21 04:33:54 +00:00
Nuno Miguel Reis f686dc4de8 fixed bug with file handle 2014-01-21 04:22:02 +00:00
Nuno Miguel Reis 25f5868a4f removed utf8encode not needed after all (local bug was causing the issues elsewhere) 2014-01-21 03:25:56 +00:00
Nuno Miguel Reis d359c048f6 added new log function 2014-01-20 21:55:36 +00:00
Nuno Miguel Reis bd06d75b4a added protection by encoding in utf8 2014-01-20 21:22:24 +00:00
Mark Crane 116bd38720 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 be442661c9 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 1316745483 Database class change $this->name to $this->db_name 2014-01-19 13:06:27 +00:00
Mark Crane 7a84d342ec Add a PHP class autoloader spl_autoload_register. 2014-01-19 01:30:10 +00:00
Nuno Miguel Reis 975d1bd561 menu fixing utf8 and ring groups pt-ring option 2014-01-16 23:30:56 +00:00
Richard Neese e247c7f8a2 fix cisco 504g template 2014-01-16 22:55:50 +00:00
Mark Crane 0fa3dcba3a Update Cisco SPA provisioning templates to get the key assignment working. 2014-01-15 23:53:25 +00:00
Mark Crane 3cf0a25f7d Add app/dialplan/ to the dialplan class path. 2014-01-13 14:34:13 +00:00
Mark Crane 7661cf907a Move the dialplan class to the dialplan/resources/classes directory. 2014-01-13 14:21:27 +00:00
Mark Crane 95666c93e6 Set the Yealink -> live dialpad option to enabled in the common config. 2014-01-09 03:39:22 +00:00
Mark Crane bce688667d Update the app.lua script. 2014-01-09 03:04:28 +00:00
Mark Crane a13703544b Fix TLS option for the sip transport. 2014-01-09 02:35:29 +00:00
Mark Crane 1a1d6bef06 Change the default setting to another method. 2014-01-09 01:28:21 +00:00
Mark Crane 19c30f3614 Improve the method to determine a default sip port number. 2014-01-09 01:07:57 +00:00
Mark Crane 4a1b43c818 Add event_notify lua script. 2014-01-08 09:15:35 +00:00
Mark Crane 748c6baef7 Update a few more things. 2014-01-08 01:34:15 +00:00
Mark Crane f8b504ebf6 Change the old provisioning syntax to the new syntax. 2014-01-08 01:30:30 +00:00
Mark Crane 4dbae6ee5d Fix ring groups for originate_disposition add 'failure' 2014-01-07 06:25:16 +00:00
Mark Crane ceb4ce58e5 Add yealink t42g, and t46g templates. 2014-01-05 10:17:42 +00:00
Mark Crane 763e13abee Update yealink auth_name 2014-01-05 10:16:40 +00:00
Mark Crane 4642de0439 Correct the common config file name for yealink vp530. 2014-01-05 07:21:36 +00:00
Mark Crane ebcfac2af2 Add the p to the template name. 2014-01-05 07:04:05 +00:00
Mark Crane b6da7f446c Add the p to the template name. 2014-01-05 07:03:45 +00:00
Mark Crane e8e4c563f2 Add the p to the template name. 2014-01-05 07:02:53 +00:00
Mark Crane 17496d89df Add the p to the template name. 2014-01-05 07:02:30 +00:00
Mark Crane edd612377f Update the yealink common file for the t28p 2014-01-05 06:56:05 +00:00
Mark Crane 97a18e1273 Update the yealink common file for the t26p 2014-01-05 06:54:51 +00:00
Mark Crane 3e9e13bc82 Update the yealink common file. 2014-01-05 06:53:59 +00:00
Mark Crane 70650741c3 2014-01-05 06:52:17 +00:00
Mark Crane 1f93326188 Add the missing {/if} 2014-01-04 05:58:22 +00:00
Mark Crane ad697b610e Fix the yealink memory keys 2014-01-04 05:50:41 +00:00
Mark Crane 020178a21b Update the yealink templates for key line and extension options. 2014-01-04 01:48:58 +00:00
Mark Crane 287abfe573 Dev Branch: Conference center fix the domain_uuid. 2014-01-04 00:11:09 +00:00
Mark Crane 857d81b148 Change log messages from [conference] to [conference center] 2014-01-03 21:04:37 +00:00
Mark Crane 46a068e660 Dev branch, Fix conference center by adjusting the database connection. 2014-01-03 21:02:21 +00:00
Mark Crane 786242e24d Use the correct database connection object. 2014-01-03 20:07:36 +00:00
Mark Crane 88ce88cb26 Update the provisioning key assignment so that it will work for yealink phones. 2014-01-03 02:55:16 +00:00
Mark Crane b85e1e673c Fix register expires on spa508g. 2014-01-02 23:32:34 +00:00
Mark Crane ea6bdc7285 Update Cisco SPA sip_transport, sip_port, and register_expires. 2014-01-02 23:06:25 +00:00
Mark Crane b3d8e3402e SPA provisioning set Resync_Periodic to 0 for linksys devices. 2014-01-02 21:01:55 +00:00
Mark Crane d4942f5236 SPA provisioning set Resync_Periodic to 0. 2014-01-02 20:59:24 +00:00
Mark Crane 2ef175f015 Add the key assignment to the yealink templates. 2014-01-01 08:54:03 +00:00
Mark Crane 20145d39d1 Add an include to ensure the domains class exists. 2013-12-30 16:03:29 +00:00
Mark Crane a70942180d Add an option for the user accounts to be globally unique. 2013-12-27 18:24:57 +00:00
Mark Crane ce37b50d54 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 1c27162779 previous changes reverted, agreed with mcrane 2013-12-23 20:21:25 +00:00
luis daniel lucio quiroz fc126bcea3 database_host nil prevention 2013-12-23 00:39:02 +00:00
luis daniel lucio quiroz 0652016ad7 dialed_extension assigned before showing 2013-12-23 00:34:34 +00:00
luis daniel lucio quiroz 7e0b913dc1 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 aa69e59b0c dialed_extensions was nil when coming from ringing group 2013-12-22 19:06:00 +00:00
Mark Crane d69e4983f9 Correct the variables in the Cisco SPA122 template. 2013-12-22 07:33:03 +00:00
Mark Crane 171f1adbf2 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 9176d08ba1 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 a8c3cf908a 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 721c5d944b Fix the update to the call center dialplan. 2013-12-19 10:04:37 +00:00
Mark Crane afa8fe1e98 Add Cisco spa508g template. 2013-12-17 22:42:20 +00:00
Mark Crane 3bfcf41eac Add Cisco spa514g template. 2013-12-17 20:03:40 +00:00
Mark Crane cc51673863 Add and update sip port, transport and sip expires on spa112 and spa504g 2013-12-10 22:56:49 +00:00
Mark Crane dedfa5a8ad Add port and transport to the SPA112 template. 2013-12-10 18:06:07 +00:00
Mark Crane 3fc22fe724 Add the rest of the Grandstream provisioning files. 2013-12-07 03:06:02 +00:00
Mark Crane a643c72b62 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 9419994a60 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 e7386519ce Change the gateway name to gateway_uuid in the XML handler. 2013-12-06 08:26:55 +00:00
Mark Crane 9ac83876d8 Get rid of a trailing white space in voicemail/index.lua 2013-12-04 18:15:34 +00:00
Mark Crane c923044e1a Remove a trailing space from dial_string.lua 2013-12-04 18:06:07 +00:00
Mark Crane 7338cbc9af Adjust the voicemail_authorized if statement. 2013-12-04 17:24:44 +00:00
Mark Crane 2a7d819f64 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 44766475bf 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 f954b37334 Remove a file_exists where it didn't belong. 2013-12-01 07:17:28 +00:00
Mark Crane bdb3d644bf Fix the scripts to copy missing freeswitch scripts again. 2013-12-01 06:56:55 +00:00
Mark Crane 99dad4afa8 Add the dialed_extension to ring groups. 2013-12-01 03:59:06 +00:00
Mark Crane 669c1a390a Add scripts/app/dialplan accessible with action: lua data: app.lua dialplan 2013-12-01 03:46:04 +00:00
Mark Crane 1a0ec3ad02 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 03104413fa Yealink t22 and t38g set account.1.transport = 1 for TCP. 2013-11-26 07:57:40 +00:00
Mark Crane 8696e82b8c 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 202042fa38 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 32df6f40d9 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 1c2303b01f Add Grandstream GXP140x and GXP1450 templates. 2013-11-23 06:07:02 +00:00
Mark Crane 9d523e1708 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 725479e4c0 Add templates for the Cisco spa301, spa502g, and spa512g. 2013-11-23 05:43:11 +00:00
Mark Crane de432c8077 Provisioning add Granstream gxp21xx, ht701, and a minor update to dp715. 2013-11-21 00:45:17 +00:00
Mark Crane a4bdce99ea 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 888a9470ce Check the hostname for conference center. 2013-11-20 06:14:18 +00:00
Mark Crane fd9c4ffada 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 849f2d05e3 Edge case fix ring group when an extension is not registered. 2013-11-19 05:59:47 +00:00
Mark Crane c5c8eabf5f Add a additional debug information and fix some problems in directory.lua. 2013-11-17 11:44:02 +00:00
Mark Crane 2d9905cc93 Fix the template dp715 so it will work with the template engine changes. 2013-11-16 23:56:40 +00:00
Mark Crane f6a035b4f0 Rename the provisioning file so that it is valid for the template engine. 2013-11-16 23:46:01 +00:00
James Rose b1755ea39e Add provisioning template for the Grandstream DP715 Dect phone. 2013-11-15 21:10:30 +00:00
Mark Crane 6e9a5eb3d1 Add a bridge option to the destination select list. 2013-11-14 09:38:17 +00:00
Mark Crane ab5279ee3c Make sofia.conf.lua hostname backwards compatible. 2013-11-13 08:26:18 +00:00
Mark Crane 8ba965ff31 Add hostname to sofia.conf.lua 2013-11-12 16:09:07 +00:00
Mark Crane 55691db77d Add reverse-auth-lookup to the xml handler script. 2013-11-12 08:44:32 +00:00
Mark Crane 95c2bb17e3 Check the local hostname in the xml handler. 2013-11-12 08:43:13 +00:00
Mark Crane 1501d78a1b Add the uppercase Twig to the template class. 2013-11-12 04:39:54 +00:00
Mark Crane d74c60e5c1 Rename twig to Twig to get it working. 2013-11-12 04:37:38 +00:00
Mark Crane 72944f1976 Fix the path for raintpl and remove some trailing spaces and extra tabs. 2013-11-11 20:17:50 +00:00
Matt Putnam e0639901fa added code to stop raintpl from eating \r on new lines for yealink and similar phones. 2013-11-11 06:53:51 +00:00
Matt Putnam 275b387641 2013-11-10 16:54:18 +00:00
Matt Putnam 84024f689c 2013-11-10 16:51:48 +00:00
Mark Crane eec49f72a4 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:20:27 +00:00
Mark Crane 96ff030ad7 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:19:50 +00:00
Mark Crane 2ed1eae7da Change the file name {v_mac} variable to {$mac} 2013-11-10 07:19:11 +00:00
Mark Crane e0863cd6b9 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:18:41 +00:00
Mark Crane 37cbaf16d0 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:18:02 +00:00
Mark Crane 61e5187b1c Change the file name {v_mac} variable to {$mac} 2013-11-10 07:17:09 +00:00
Mark Crane 2e177a8fba Change the file name {v_mac} variable to {$mac} 2013-11-10 07:16:39 +00:00
Mark Crane d23f90c66f Change the file name {v_mac} variable to {$mac} 2013-11-10 07:16:03 +00:00
Mark Crane 4f618cd5ac Change the file name {v_mac} variable to {$mac} 2013-11-10 07:15:12 +00:00
Mark Crane 8dd5aab008 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:14:44 +00:00
Mark Crane 4d515633bd Change the file name {v_mac} variable to {$mac} 2013-11-10 07:14:03 +00:00
Mark Crane 7a3e612290 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:13:25 +00:00
Mark Crane 8018707875 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:12:55 +00:00
Mark Crane 6dd5faccc7 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:10:43 +00:00
Mark Crane fd5e7371e8 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:10:06 +00:00
Mark Crane 7c37d10f12 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:09:36 +00:00
Mark Crane 6cee6669ad Change the file name {v_mac} variable to {$mac} 2013-11-10 07:08:29 +00:00
Mark Crane 60782a0eba Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:07:33 +00:00
Mark Crane 73caa8c1bb Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:07:06 +00:00
Mark Crane 3e48847069 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:06:35 +00:00
Mark Crane d3feaaa49a Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:06:08 +00:00
Mark Crane 473f183abd Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:05:39 +00:00
Mark Crane 4f535d3eb5 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:04:47 +00:00
Mark Crane dd1ed9bd0e Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:04:05 +00:00
Mark Crane bcbcbe2ebc Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:03:37 +00:00
Mark Crane f435c573b0 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:03:01 +00:00
Mark Crane 209dd56b30 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:02:03 +00:00
Mark Crane 523a728047 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:01:29 +00:00
Mark Crane 7eaecce9d9 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:00:33 +00:00
Mark Crane 82ff468297 Fix the file paths in the template engine. 2013-11-10 06:55:00 +00:00
Mark Crane 1e827beeed Add the template class. 2013-11-09 20:37:46 +00:00
Mark Crane 9cc94dc643 move raintpl into templates/engine 2013-11-09 20:08:02 +00:00
Mark Crane 5d232e0b38 Add smarty template engine. 2013-11-09 20:02:56 +00:00
Matt Putnam 9f4365ccfb updated variable {$server_name_line} to {$server_address_line} 2013-11-08 15:43:27 +00:00