Commit Graph

415 Commits

Author SHA1 Message Date
Nuno Miguel Reis 4cb72d88cc menu fixing utf8 and ring groups pt-ring option 2014-01-16 23:30:56 +00:00
Richard Neese 09f6d2825b fix cisco 504g template 2014-01-16 22:55:50 +00:00
Mark Crane d2875882a0 Update Cisco SPA provisioning templates to get the key assignment working. 2014-01-15 23:53:25 +00:00
Mark Crane 2bac44aee7 Add app/dialplan/ to the dialplan class path. 2014-01-13 14:34:13 +00:00
Mark Crane d0c9cf7715 Move the dialplan class to the dialplan/resources/classes directory. 2014-01-13 14:21:27 +00:00
Mark Crane 527f537f3a Set the Yealink -> live dialpad option to enabled in the common config. 2014-01-09 03:39:22 +00:00
Mark Crane 9c51439eb7 Update the app.lua script. 2014-01-09 03:04:28 +00:00
Mark Crane f0eb71950c Fix TLS option for the sip transport. 2014-01-09 02:35:29 +00:00
Mark Crane 6209f82858 Change the default setting to another method. 2014-01-09 01:28:21 +00:00
Mark Crane 57291e733d Improve the method to determine a default sip port number. 2014-01-09 01:07:57 +00:00
Mark Crane bb817445c6 Add event_notify lua script. 2014-01-08 09:15:35 +00:00
Mark Crane 6dc16dec51 Update a few more things. 2014-01-08 01:34:15 +00:00
Mark Crane 6fb834709e Change the old provisioning syntax to the new syntax. 2014-01-08 01:30:30 +00:00
Mark Crane 540819901b Fix ring groups for originate_disposition add 'failure' 2014-01-07 06:25:16 +00:00
Mark Crane c080637207 Add yealink t42g, and t46g templates. 2014-01-05 10:17:42 +00:00
Mark Crane 9f8e130644 Update yealink auth_name 2014-01-05 10:16:40 +00:00
Mark Crane c30de90032 Correct the common config file name for yealink vp530. 2014-01-05 07:21:36 +00:00
Mark Crane 2cbdfbe793 Add the p to the template name. 2014-01-05 07:04:05 +00:00
Mark Crane e3893760b9 Add the p to the template name. 2014-01-05 07:03:45 +00:00
Mark Crane 7bee0be113 Add the p to the template name. 2014-01-05 07:02:53 +00:00
Mark Crane 16105fe591 Add the p to the template name. 2014-01-05 07:02:30 +00:00
Mark Crane 1052cea2fd Update the yealink common file for the t28p 2014-01-05 06:56:05 +00:00
Mark Crane a806e7e367 Update the yealink common file for the t26p 2014-01-05 06:54:51 +00:00
Mark Crane 44f99f8f35 Update the yealink common file. 2014-01-05 06:53:59 +00:00
Mark Crane 22ff37be57 2014-01-05 06:52:17 +00:00
Mark Crane 74fe48cf3c Add the missing {/if} 2014-01-04 05:58:22 +00:00
Mark Crane 63741a35ca Fix the yealink memory keys 2014-01-04 05:50:41 +00:00
Mark Crane f466af0c42 Update the yealink templates for key line and extension options. 2014-01-04 01:48:58 +00:00
Mark Crane 45c254f6e0 Dev Branch: Conference center fix the domain_uuid. 2014-01-04 00:11:09 +00:00
Mark Crane b2e1017294 Change log messages from [conference] to [conference center] 2014-01-03 21:04:37 +00:00
Mark Crane 93543936f5 Dev branch, Fix conference center by adjusting the database connection. 2014-01-03 21:02:21 +00:00
Mark Crane 58530d843e Use the correct database connection object. 2014-01-03 20:07:36 +00:00
Mark Crane 0f56dcc01a Update the provisioning key assignment so that it will work for yealink phones. 2014-01-03 02:55:16 +00:00
Mark Crane 7ff34446a5 Fix register expires on spa508g. 2014-01-02 23:32:34 +00:00
Mark Crane 82df486187 Update Cisco SPA sip_transport, sip_port, and register_expires. 2014-01-02 23:06:25 +00:00
Mark Crane e1b5d9587b SPA provisioning set Resync_Periodic to 0 for linksys devices. 2014-01-02 21:01:55 +00:00
Mark Crane d0d0e72b0d SPA provisioning set Resync_Periodic to 0. 2014-01-02 20:59:24 +00:00
Mark Crane ac07b4a613 Add the key assignment to the yealink templates. 2014-01-01 08:54:03 +00:00
Mark Crane 2725e25be3 Add an include to ensure the domains class exists. 2013-12-30 16:03:29 +00:00
Mark Crane 0c272c7906 Add an option for the user accounts to be globally unique. 2013-12-27 18:24:57 +00:00
Mark Crane 67ee471d5f Fix this error: [ERR] freeswitch_lua.cpp:374 DBH NOT Connected. Caused by releasing DBH which is done in the parent script. 2013-12-24 16:25:16 +00:00
luis daniel lucio quiroz e7d3d5c934 previous changes reverted, agreed with mcrane 2013-12-23 20:21:25 +00:00
luis daniel lucio quiroz fbc34dfab8 database_host nil prevention 2013-12-23 00:39:02 +00:00
luis daniel lucio quiroz a85673b66f dialed_extension assigned before showing 2013-12-23 00:34:34 +00:00
luis daniel lucio quiroz 41ea11528c fix a dbh sintax that fails in some servers, seems old sintax is not supported 2013-12-23 00:29:54 +00:00
luis daniel lucio quiroz f306ff68ea dialed_extensions was nil when coming from ringing group 2013-12-22 19:06:00 +00:00
Mark Crane bafbfe8b47 Correct the variables in the Cisco SPA122 template. 2013-12-22 07:33:03 +00:00
Mark Crane 9e437da3fe Update the Yealink t20, and t22 provisioning files and add the t32g, t38g, and vp530. 2013-12-22 07:07:33 +00:00
Mark Crane 37dc88c439 Provisioning - Add key assignment, fix vertical spacing on some of the templates, trailing spaces, fix the dialplan and disable Group_Paging_Script tag which uses extension 800. 2013-12-21 20:24:17 +00:00
Mark Crane ae43fa83bf Update the Cisco spa504g provisoning template. It is now the first to use the key assignment. 2013-12-21 16:49:01 +00:00
Mark Crane 5fac0278d6 Fix the update to the call center dialplan. 2013-12-19 10:04:37 +00:00
Mark Crane d72187ede2 Add Cisco spa508g template. 2013-12-17 22:42:20 +00:00
Mark Crane d02d4e863d Add Cisco spa514g template. 2013-12-17 20:03:40 +00:00
Mark Crane 49414038cd Add and update sip port, transport and sip expires on spa112 and spa504g 2013-12-10 22:56:49 +00:00
Mark Crane 82689c0d29 Add port and transport to the SPA112 template. 2013-12-10 18:06:07 +00:00
Mark Crane ae5e7ae848 Add the rest of the Grandstream provisioning files. 2013-12-07 03:06:02 +00:00
Mark Crane 49029f7ebb Change the RTP packet size <RTP_Packet_Size group="SIP/RTP_Parameters">0.020</RTP_Packet_Size> 2013-12-07 01:30:19 +00:00
Mark Crane 4f8ab969d9 Fix that code that writes the gateway xml to the file system so that it will use the gateway uuid for the filename and gateway name. Benefit of using the XML is that it is a major step closer to renaming tenants, or changing the gateway name without hurting the outbound routes. 2013-12-06 12:36:52 +00:00
Mark Crane 91d489b8b2 Change the gateway name to gateway_uuid in the XML handler. 2013-12-06 08:26:55 +00:00
Mark Crane d3fc19f75a Get rid of a trailing white space in voicemail/index.lua 2013-12-04 18:15:34 +00:00
Mark Crane 20ee58b5ba Remove a trailing space from dial_string.lua 2013-12-04 18:06:07 +00:00
Mark Crane b01ccb2ebb Adjust the voicemail_authorized if statement. 2013-12-04 17:24:44 +00:00
Mark Crane 73096006a2 Add voicemail_authorized variable as an option set it up to work with for *97 and *4000. When you check voicemail then press * it prompts for the password or if *98 is dialed it asks for the password. 2013-12-04 17:07:34 +00:00
Mark Crane 51daa8b8ee Add per leg ring group domain name control. Contributed by Daniel Lucio.
dest1:  100
dest2:  999@otherdomain
dest3: 555
2013-12-04 08:14:40 +00:00
Mark Crane 602f6d038f Remove a file_exists where it didn't belong. 2013-12-01 07:17:28 +00:00
Mark Crane dd78750044 Fix the scripts to copy missing freeswitch scripts again. 2013-12-01 06:56:55 +00:00
Mark Crane 569c22f319 Add the dialed_extension to ring groups. 2013-12-01 03:59:06 +00:00
Mark Crane 178f475e64 Add scripts/app/dialplan accessible with action: lua data: app.lua dialplan 2013-12-01 03:46:04 +00:00
Mark Crane 79cbecb5e9 Fix the call center extension list.
Reported as https://code.google.com/p/fusionpbx/issues/detail?id=510&start=100
2013-11-26 17:04:00 +00:00
Mark Crane 323a486b01 Yealink t22 and t38g set account.1.transport = 1 for TCP. 2013-11-26 07:57:40 +00:00
Mark Crane ee7a772b40 Remove dbh:release(); from directory.lua because its done in the parent script after this script completes. 2013-11-25 20:56:27 +00:00
Mark Crane 7c3300faf6 Change menu class method restore2 to restore_all. Remove group permissions from restore (Restore Default) and leave in restore_all (Restore All) 2013-11-24 01:35:37 +00:00
Mark Crane a812951dc1 Improve the efficiency of the Menu PHP class by removing redundant code in the restore method of the PHP class and add PDO transactions. Improve the menu language for better multi-lingual support, escape the menu item title to so it will work correctly for French and other languages. 2013-11-24 00:15:02 +00:00
Mark Crane 4bd5b6a018 Add Grandstream GXP140x and GXP1450 templates. 2013-11-23 06:07:02 +00:00
Mark Crane ff8322988b Add templates for the Cisco spa122, spa501g, and spa509g. Thanks Keng for providing these templates. 2013-11-23 06:04:55 +00:00
Mark Crane 9159389034 Add templates for the Cisco spa301, spa502g, and spa512g. 2013-11-23 05:43:11 +00:00
Mark Crane 734943e723 Provisioning add Granstream gxp21xx, ht701, and a minor update to dp715. 2013-11-21 00:45:17 +00:00
Mark Crane 33a3cddf5e Add a missing if statement: if (conference_hostname ~= local_hostname) then
Contributed by Luis Daniel Lucio
2013-11-20 07:35:38 +00:00
Mark Crane d71bb5ceac Check the hostname for conference center. 2013-11-20 06:14:18 +00:00
Mark Crane 8076d2af85 config.php can be located in /etc/fusionpbx this change makes it use that location during install if it exists. Thanks Richard Neese who reported this error and the solution. 2013-11-19 16:15:00 +00:00
Mark Crane 8131f3473e Edge case fix ring group when an extension is not registered. 2013-11-19 05:59:47 +00:00
Mark Crane 137176ae1f Add a additional debug information and fix some problems in directory.lua. 2013-11-17 11:44:02 +00:00
Mark Crane 15aff26905 Fix the template dp715 so it will work with the template engine changes. 2013-11-16 23:56:40 +00:00
Mark Crane c9266bfe8e Rename the provisioning file so that it is valid for the template engine. 2013-11-16 23:46:01 +00:00
James Rose 92be86f8a2 Add provisioning template for the Grandstream DP715 Dect phone. 2013-11-15 21:10:30 +00:00
Mark Crane ff7fd2645c Add a bridge option to the destination select list. 2013-11-14 09:38:17 +00:00
Mark Crane ed56592d78 Make sofia.conf.lua hostname backwards compatible. 2013-11-13 08:26:18 +00:00
Mark Crane 452e323152 Add hostname to sofia.conf.lua 2013-11-12 16:09:07 +00:00
Mark Crane df31794cf8 Add reverse-auth-lookup to the xml handler script. 2013-11-12 08:44:32 +00:00
Mark Crane a10b8cceee Check the local hostname in the xml handler. 2013-11-12 08:43:13 +00:00
Mark Crane e770d141a2 Add the uppercase Twig to the template class. 2013-11-12 04:39:54 +00:00
Mark Crane 75aa1d9e92 Rename twig to Twig to get it working. 2013-11-12 04:37:38 +00:00
Mark Crane 53cb0c1454 Fix the path for raintpl and remove some trailing spaces and extra tabs. 2013-11-11 20:17:50 +00:00
Matt Putnam 47e3fda5c6 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 76e60e1303 2013-11-10 16:54:18 +00:00
Matt Putnam 548ddeab39 2013-11-10 16:51:48 +00:00
Mark Crane 2a861661a6 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:20:27 +00:00
Mark Crane 8a34d7b0bb Change the file name {v_mac} variable to {$mac} 2013-11-10 07:19:50 +00:00
Mark Crane e35287d940 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:19:11 +00:00
Mark Crane 6d25029ad3 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:18:41 +00:00
Mark Crane 6d5e32f56d Change the file name {v_mac} variable to {$mac} 2013-11-10 07:18:02 +00:00
Mark Crane bc5800665e Change the file name {v_mac} variable to {$mac} 2013-11-10 07:17:09 +00:00
Mark Crane 3e81fe435c Change the file name {v_mac} variable to {$mac} 2013-11-10 07:16:39 +00:00
Mark Crane 83305380ed Change the file name {v_mac} variable to {$mac} 2013-11-10 07:16:03 +00:00
Mark Crane 8a66720fb2 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:15:12 +00:00
Mark Crane 3889a6b277 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:14:44 +00:00
Mark Crane 010595ad47 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:14:03 +00:00
Mark Crane 9e7f5571f8 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:13:25 +00:00
Mark Crane b64c62321f Change the file name {v_mac} variable to {$mac} 2013-11-10 07:12:55 +00:00
Mark Crane 06ddddcb2d Change the file name {v_mac} variable to {$mac} 2013-11-10 07:10:43 +00:00
Mark Crane 2cf5e5140e Change the file name {v_mac} variable to {$mac} 2013-11-10 07:10:06 +00:00
Mark Crane a52bffd9ba Change the file name {v_mac} variable to {$mac} 2013-11-10 07:09:36 +00:00
Mark Crane 7740903664 Change the file name {v_mac} variable to {$mac} 2013-11-10 07:08:29 +00:00
Mark Crane 3b8a5a3068 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:07:33 +00:00
Mark Crane fe239b567e Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:07:06 +00:00
Mark Crane 0bc1d722cd Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:06:35 +00:00
Mark Crane 94cd911436 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:06:08 +00:00
Mark Crane cfb9cf4d68 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:05:39 +00:00
Mark Crane 96bbf877ef Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:04:47 +00:00
Mark Crane c5131bbabf Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:04:05 +00:00
Mark Crane 1b5b63b2b3 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:03:37 +00:00
Mark Crane a492567baa Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:03:01 +00:00
Mark Crane a62138be7d Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:02:03 +00:00
Mark Crane a5962327a3 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:01:29 +00:00
Mark Crane d4fa976278 Change the file name ${v_mac} variable to {$mac} 2013-11-10 07:00:33 +00:00
Mark Crane 4a56cc7a97 Fix the file paths in the template engine. 2013-11-10 06:55:00 +00:00
Mark Crane 29c17fd906 Add the template class. 2013-11-09 20:37:46 +00:00
Mark Crane 37c3b78ea1 move raintpl into templates/engine 2013-11-09 20:08:02 +00:00
Mark Crane f12cb6b3fb Add smarty template engine. 2013-11-09 20:02:56 +00:00
Matt Putnam 5bf11c919c updated variable {$server_name_line} to {$server_address_line} 2013-11-08 15:43:27 +00:00
Mark Crane 6f8bb769cc Add new and old message count to the mwi event to the dev branch. 2013-11-07 23:49:09 +00:00
Mark Crane 30953af524 Add "NO_USER_RESPONSE" for ring groups. 2013-11-05 18:17:44 +00:00
Matt Putnam 9ab7344edf removed leading F 2013-11-05 16:55:28 +00:00
Matt Putnam efaf8eff0f 2013-11-05 16:45:19 +00:00
Matt Putnam 6de89d8f7e Added SIPDefault.cnf to Cisco/7940 config templates 2013-11-04 21:56:55 +00:00
Matt Putnam d9420c4ac2 2013-11-04 21:42:55 +00:00
Matt Putnam 94e7e88347 Updated Variables to the new RAINtpl standard 2013-11-04 18:38:53 +00:00
Matt Putnam 1e1c3d8c08 Updated all variables to comply with raintpl. 2013-11-03 21:22:17 +00:00
Matt Putnam 60802d22ca 2013-11-03 20:58:59 +00:00
Matt Putnam a55e966753 2013-11-03 20:58:24 +00:00
Matt Putnam 993b997c15 Added raintpl class 2013-11-03 20:35:06 +00:00
Mark Crane 34d59291ff Add Yealink t38g provisioning template and then add line 2 to the the t22. 2013-11-01 23:17:30 +00:00
Mark Crane fdeb3fb1b0 Fix an error that occurs on a few systems when adding a domain. 2013-11-01 15:50:49 +00:00
Mark Crane 07d9e95d04 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 b51b9eab2a Debug Extension_UUID was crashing script (nil) 2013-10-30 15:15:55 +00:00
Mark Crane 4f8203d8d3 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 013303a6c2 If there are no ring group destinations fix the timeout destination. 2013-10-29 22:20:36 +00:00
Mark Crane 92e7b5a2ab Fix the forward to extension option 8 in voicemail. 2013-10-29 20:54:54 +00:00
Mark Crane 16c3c9a521 Fix the line 2 password on the spa525g template. 2013-10-22 22:40:35 +00:00
Mark Crane e5b72715f0 Comment out the voicemail fields in the xml handler. 2013-10-08 22:26:25 +00:00