Commit Graph

485 Commits

Author SHA1 Message Date
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