Commit Graph

735 Commits

Author SHA1 Message Date
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
Mark Crane ab54d3d068 Add new and old message count to the mwi event to the dev branch. 2013-11-07 23:49:09 +00:00
Mark Crane 556e72d7e2 Add "NO_USER_RESPONSE" for ring groups. 2013-11-05 18:17:44 +00:00
Matt Putnam e30fc1c1b9 removed leading F 2013-11-05 16:55:28 +00:00
Matt Putnam 31211b0a59 2013-11-05 16:45:19 +00:00
Matt Putnam 7f9deea2f7 Added SIPDefault.cnf to Cisco/7940 config templates 2013-11-04 21:56:55 +00:00
Matt Putnam 71d4e1b246 2013-11-04 21:42:55 +00:00
Matt Putnam 63d44912ec Updated Variables to the new RAINtpl standard 2013-11-04 18:38:53 +00:00
Matt Putnam e24700c02f Updated all variables to comply with raintpl. 2013-11-03 21:22:17 +00:00
Matt Putnam 59c772229d 2013-11-03 20:58:59 +00:00
Matt Putnam 16afd0cb7b 2013-11-03 20:58:24 +00:00
Matt Putnam 29e6e6893b Added raintpl class 2013-11-03 20:35:06 +00:00
Mark Crane f51ad7f225 Add Yealink t38g provisioning template and then add line 2 to the the t22. 2013-11-01 23:17:30 +00:00
Mark Crane 10881ae724 Fix an error that occurs on a few systems when adding a domain. 2013-11-01 15:50:49 +00:00
Mark Crane 8c8d447562 Fix a problem where the if the last phone ringing is not registered then the call ends with error user not registered. Fixed a problem where the last person rejects the call it would send a busy back to the caller rather than sending to the timeout action. 2013-10-31 01:08:45 +00:00
James Rose cd993de6e4 Debug Extension_UUID was crashing script (nil) 2013-10-30 15:15:55 +00:00
Mark Crane af8d5523cd Fix the pin number used in the dial string and switch session:execute for api:execute. Thanks soapee01 for reporting and helping with the bug. 2013-10-29 23:15:20 +00:00
Mark Crane 4c6d3fc26a If there are no ring group destinations fix the timeout destination. 2013-10-29 22:20:36 +00:00
Mark Crane c364028d43 Fix the forward to extension option 8 in voicemail. 2013-10-29 20:54:54 +00:00
Mark Crane 25d9c9d164 Fix the line 2 password on the spa525g template. 2013-10-22 22:40:35 +00:00
Mark Crane f4fd32687f Comment out the voicemail fields in the xml handler. 2013-10-08 22:26:25 +00:00
Mark Crane bf8d154914 Add the voicemail_greeting_number variable to set the greeting_id. Adjust skip_instructions so that it used. 2013-10-04 00:05:24 +00:00
Mark Crane 46d0c45c01 Additional monitoring of a busy server showed that it was the cache only that needed to be removed. 2013-09-29 10:08:27 +00:00
Mark Crane bf63091a0e Remove this code from the xml handler which made it unable to find some extensions that existed. 2013-09-29 09:22:16 +00:00
Mark Crane dbc8f7e437 FusionPBX 3.4 official release. 2013-09-28 21:08:56 +00:00
Mark Crane c96ad9c168 To speed up the install and upgrade schema only copy files that don't exist in the destination directory. 2013-09-28 21:06:16 +00:00
Mark Crane 3f57a83129 Fix the dial_string.lua so that it uses the voicemail password from v_voicemails table, and have it clear the cached extension from memcache. 2013-09-28 20:39:06 +00:00
Mark Crane 2c5a380e0e Rename the fields in call_block to conform with the database naming convention and to match the table name. 2013-09-27 10:21:43 +00:00
Mark Crane 1ebe3cd1f9 Move the call block scripts to the install/scripts/app directory for now. 2013-09-27 09:06:28 +00:00
Mark Crane 5ff597ffc9 Cleanup the menu class fixup the white space problems. 2013-09-27 04:15:43 +00:00
Mark Crane f6e3222873 Get rid of the trailing spaces. 2013-09-27 03:34:23 +00:00
Mark Crane 53bad9d442 Security enhancement for the content manager. 2013-09-27 03:24:09 +00:00
Mark Crane ba370c5ce5 Call center music on hold default add local_stream:// 2013-09-25 02:16:21 +00:00
Mark Crane de88c69b84 Set the default music on hold correctly for call center. 2013-09-25 01:29:43 +00:00
Mark Crane d4b5e926db Remove the mkdir from call center dialplan. 2013-09-23 19:58:03 +00:00
Mark Crane 894b7c5a28 Use the voicemail directory. 2013-09-23 19:57:07 +00:00
Mark Crane 3e231fa0e1 Update the reference to sip_profile_edit.php 2013-09-23 17:03:26 +00:00
Mark Crane 041a375b62 Audited the permissions names. Permissions names are to be non plural. 2013-09-21 21:45:35 +00:00
Mark Crane e599bf434c A little more work to enable the api key. 2013-09-21 07:58:29 +00:00
Mark Crane d6ddfc70ce Add a $key option for the REST API. 2013-09-21 02:55:02 +00:00
Nuno Miguel Reis cb8ac4e3b3 changed query before building modules.conf 2013-09-20 21:43:24 +00:00
Mark Crane 69b8a6aa4f Add ivr-accept_reject.wav both 8 and 16khz. 2013-09-17 22:52:21 +00:00
Mark Crane a22a3258e8 Remove option 3 for ring group confirm its not used. 2013-09-17 20:32:34 +00:00
Mark Crane 4141dd437b Fix the ring group confirm so that timeout is unscheduled. 2013-09-17 17:27:55 +00:00
Mark Crane 18cd29749d Make it so that if a call is parked to an occupied parking lot it is returned to sender. 2013-09-16 21:35:37 +00:00
Mark Crane 605866bec6 Only include the elements that are installed. 2013-09-15 05:06:34 +00:00
Mark Crane e508707bc8 If the content manager is not installed don't require it. 2013-09-15 05:02:00 +00:00
Mark Crane d47fda1798 Create a new variable for cidlookup.conf.xml and lcr.conf.xml to use to connect to FusionPBX's database aka the system database. 2013-09-14 20:43:51 +00:00
Mark Crane 057e630f25 Set the min-dtmf-duration to 640 as recommended by flowroute.
http://code.google.com/p/fusionpbx/issues/detail?id=456&start=100
2013-09-11 02:55:32 +00:00
Mark Crane 651673af34 Ring groups set origination_uuid only when using 'prompt'. 2013-09-11 02:37:57 +00:00
Mark Crane ca0b5a60b9 Fix ring group lua script so that if each extension is not registered and never has been that it still goes to the timeout destination. 2013-09-11 02:12:18 +00:00
Mark Crane 35da60e22f Add ['type'] back to $field['key']['type'] as its used in many app_config.php files. 2013-09-10 21:30:17 +00:00
Mark Crane 9cc32caff6 Remove some trailing white spaces from the ring groups index.lua. 2013-09-09 23:57:10 +00:00
Mark Crane cdf54c6267 Fix the primary key on the dev branch. 2013-09-07 16:25:35 +00:00
Mark Crane e56ee666cf Ring groups add a work around for Freeswitch's native voicemail. 2013-09-05 17:32:53 +00:00
Mark Crane d20779bcc0 Change default-mod-wait conference profile to mod-wait to match the conference lua script. 2013-09-04 20:46:08 +00:00
Mark Crane 26f4586791 Change conference profile name of wait_mod to wait-mod in the conference lua script. 2013-09-04 20:44:09 +00:00
Mark Crane 0a08f39ab7 Remove the hard coded conference profile name. 2013-09-04 20:30:38 +00:00
Mark Crane 94e9304dbb Prefix variable names in the header.php to prevent naming conflicts and unset a few more values. 2013-09-02 15:22:13 +00:00
Rüdiger Hahn e18f601790 Fix: typo in xml template 2013-09-01 07:20:06 +00:00
Mark Crane 4b832702e8 Add the password.php to check_auth.php 2013-09-01 06:40:28 +00:00
Mark Crane 7417d26a8d Add resources/functions/password.php from https://github.com/ircmaxell/password_compat. This will provide compatibility for the functions available in 5.5. This library requires PHP >= 5.3.7. PHP prior to 5.3.7 contains a security issue with its BCRYPT. 2013-09-01 06:05:59 +00:00
Rüdiger Hahn f878e5a55e Add inital config template for snom m3 2013-08-31 22:11:17 +00:00
Mark Crane 1ecf45210f Add provisioning templates for panasonic ut113, ut123, ut133, ut136 phones. 2013-08-30 00:38:00 +00:00
Mark Crane e0d07e45ac Update yealink provisionig for t22 to work with the latest firmware. 2013-08-30 00:34:07 +00:00
Rüdiger Hahn 2b7aabe159 Add provisioning template for Linksys SPA-921 2013-08-29 21:14:49 +00:00
Rüdiger Hahn 5dc2d007a5 Add initial template for snom 360 phones 2013-08-29 20:58:45 +00:00
Mark Crane 78768afaea Ring Groups: Fix a problem where the domain_uuid was null for multi-tenant and for originate_disposition add NO_ANSWER for the timeout. 2013-08-29 16:57:36 +00:00
Mark Crane 433c8806a1 Fix the select destinations tool. Get the voicemail list from the voicemail table instead of the extensions table. 2013-08-28 01:03:44 +00:00
Mark Crane 173956740a Remove i386 causes problems for mod_shout and mpg123 2013-08-27 05:35:24 +00:00
Mark Crane 1f1b73999d Remove the debug code. 2013-08-26 19:45:30 +00:00
Mark Crane c7a7f0b7ef Correct the function that updates the lua scripts make sure it correctly updates scripts except for database_handle.lua. 2013-08-26 19:45:01 +00:00
Mark Crane e7271794da Only overwrite lua scripts and add database_handle.lua as an exception. 2013-08-26 18:50:43 +00:00
Mark Crane 73375214cd Update the installed lua scripts when running upgrade.php or advanced -> upgrade schema. 2013-08-26 17:56:03 +00:00
Mark Crane a4913b9e9a Fix switch_select_destination so that it works with the changes to ivr menu. 2013-08-25 02:00:18 +00:00
Mark Crane 8775c50afd Revmove save_hunt_groups_xml function from switch.php. 2013-08-22 16:05:17 +00:00
Mark Crane 26742ae7c5 Add number alias so that it will work with the xml handler. 2013-08-21 17:53:17 +00:00
Mark Crane f6b20aae60 Re-enabled uuid_display found the real problem to the dtmf detection lag was caused by uuid_display with an incorrect rtp packet size (aka ptime) set wrong on the SPA504g. It was set to 0.030 but needs to be set to 0.020. 2013-08-20 23:54:46 +00:00
Mark Crane cabc71d163 Remove old huntgroup_originate.lua. 2013-08-20 18:59:51 +00:00
Mark Crane 604abc39a1 Update the ring group lua script. 2013-08-16 20:36:52 +00:00
Mark Crane e55589f623 Faxing if the from_address is null then use the email_address. 2013-08-14 23:07:35 +00:00
Mark Crane 540ae1c8f7 Comment out uuid_display. It caused the call to switch codecs, interrupt the audio and added a dtmf delay to voicemail after pressing 1 for new messages or 2 for old messages. Also added a lua copy function. 2013-08-13 06:09:45 +00:00
Mark Crane d1aad16157 Fix the ring group timeout when the prompt is not set to confirm. 2013-07-31 03:41:13 +00:00
Nuno Miguel Reis 0d0e105a29 logger class (very usefull for debugging) 2013-07-29 20:26:00 +00:00
Mark Crane d872af2666 Change the menu back asc order. 2013-07-29 19:40:48 +00:00
Nuno Miguel Reis e939b9e0d2 added db menu build and permissions block 2013-07-29 18:55:51 +00:00
Nuno Miguel Reis c9c4ec7361 bug fix on module category listings and new email_validate function 2013-07-29 17:22:43 +00:00
Nuno Miguel Reis 2fed568403 missing stuff dealing with group permissions 2013-07-29 17:22:40 +00:00
Nuno Miguel Reis 7b29f575bd added mod_cdr_pg 2013-07-29 17:22:17 +00:00
Mark Crane 34312fad32 Fixed the delay when using the new confirm feature for ring groups. 2013-07-27 21:05:38 +00:00
Mark Crane bece0abd28 Fixed a bug with IVR Menu where it reached the max failures +1 before moving onto the timeout action. 2013-07-25 18:25:52 +00:00
Mark Crane ea34375fdf Add xml handler fixed sip call forward. 2013-07-25 06:04:15 +00:00
Mark Crane 40df388751 Add a new confirm.lua file specifically for ring groups. 2013-07-24 20:08:06 +00:00
Mark Crane df643d8e98 Remove the old lua script file. 2013-07-24 19:54:57 +00:00
Mark Crane e8ffa2f12e Add the new ring group lua scripts. 2013-07-24 19:54:17 +00:00
Mark Crane 91d0a5ac63 Deprecate install/dialplan/default.xml. 2013-07-19 00:54:44 +00:00
Mark Crane 5fe1ebd56e Remove the install/lang/en directory now deprecated. 2013-07-19 00:48:23 +00:00
Mark Crane 7636780212 Move the wakeup from install to resources/templates/conf/lang/en directory. 2013-07-19 00:47:05 +00:00
Mark Crane 11bad68c1d Move cdr_csv.conf.xml to dev/apps/cdr as a backup for a non maintained app in apps/cdr. 2013-07-19 00:39:52 +00:00
Mark Crane b8b995a9e7 On Debian or Ubuntu the /etc/init.d seems to require /etc/freeswitch this causes a problem source compiled systems changing the directory to detect if its a package install to /etc/freeswitch/dialplan. 2013-07-18 23:50:39 +00:00
Mark Crane 223505d347 Remove a file that is not needed. 2013-07-16 01:29:14 +00:00