Commit Graph

191 Commits

Author SHA1 Message Date
Mark Crane 71be36fce3 Fix a bug in the new voicemail for single tenant systems where the domain_uuid shows as nil. 2013-02-06 05:20:59 +00:00
Mark Crane bbfbcf7729 Enable the sounds true/false for conference_center.lua 2013-02-01 12:27:57 +00:00
Mark Crane fa42fa983d Change the voicemail recording max length from 30 seconds to 300 seconds. 2013-01-30 23:08:47 +00:00
Mark Crane 707ed29702 Comment out dbh:release for now until certain that is works 100%. 2013-01-30 06:19:25 +00:00
Mark Crane a0498d61ff If the extension_uuid is not found then set continue to false. 2013-01-30 02:29:59 +00:00
Mark Crane c25139f312 Prevent an error when voicemail box does not exist. 2013-01-29 21:24:48 +00:00
Mark Crane 9761a3ef0e Fix an error with trim on the xm handler. 2013-01-29 21:02:15 +00:00
Mark Crane fa280e433a Send not found xml response when an extension does not exist. 2013-01-29 19:42:38 +00:00
Mark Crane 990835e9bc Enable the IVR Menu Direct Dial. Remove * from the direct dial for security to prevent calls to feature codes. 2013-01-27 07:28:19 +00:00
Mark Crane 96ad21eddc Fix ringback on directory.lua. 2013-01-27 03:33:34 +00:00
Mark Crane 807d71299a Fix ringback on directory.lua. 2013-01-26 22:15:41 +00:00
Mark Crane ce7fc92eb0 A few changes from the merge. 2013-01-20 01:13:19 +00:00
Mark Crane 6317c6ec63 If the extension does not exist send "not found" xml. 2013-01-19 16:44:56 +00:00
Mark Crane 60aed98919 Add voicemail with multi-lingual voicemail to email templates. Voicemail.lua has been broken down to individual files and a few additional directories to make it easier to manage in the long run. 2013-01-19 00:16:01 +00:00
Mark Crane 167c632ad1 Voicemail - When reviewing voicemail the menu 0 goes to the main menu. When a voicemail is being left use 0 will send the call to the operator. When 9 is pressed fix the emailed notification. 2013-01-17 02:09:45 +00:00
Mark Crane 1d675d5b81 Add a short delay after answering the company directory to ensure the audio is ready. Also if you don't select any of the entries of the search provide an opportunity to search again. 2013-01-17 01:11:43 +00:00
Mark Crane 4a18a37617 Record greeting and name both have option 1 to replay the message. For this reason playing the greeting seems redundant. 2013-01-15 19:00:49 +00:00
Mark Crane b574877335 A few voicemail.lua optimizations. Such as on_dtmf add = to > to make >=. Declare the set set api for freeswitch's api access at the top of the code. Change the position of a comment in on_dtmf. 2013-01-15 18:28:50 +00:00
Mark Crane 4d7a3b66cd Fix the voicemail delete. Add option to replay, save, and delete for the record greeting and name. 2013-01-15 12:10:50 +00:00
Mark Crane 0c9a039a82 If the name was recorded for a voicemail box use it the company directory. Change the extension number from pronounced to iterated. 2013-01-14 19:37:50 +00:00
Mark Crane f13ffe0c99 Turn off debug info. 2013-01-13 10:46:37 +00:00
Mark Crane 78c5883e91 Change the direct dial max digits to 4 on voicemail.lua it is recommended the park_slots dialplan be prefixed with a * on pre-existing installs. 2013-01-13 10:39:38 +00:00
Mark Crane 059c72dcb6 Add * to check voicemail remotely. Add direct dial option to voicemail when leaving a voicemail message. For security numbers prefixed by * are not allowed and number of digits are limited. 2013-01-13 10:19:19 +00:00
Mark Crane 96972c5529 Add playback_terminators to voicemail.lua 2013-01-13 07:54:55 +00:00
Mark Crane abb71e45e8 Fix a few bugs with voicmeail.lua. Add ability to use voicemail.lua from command line for sending message waiting events. 2013-01-13 06:45:50 +00:00
Mark Crane f14515827e Add single quotes to the record to make it inside directories with a spaces in the path. 2013-01-13 01:55:06 +00:00
Mark Crane 2c4e86821e Improve the variable naming convention used for memcache. Add memcache support for call groups. 2013-01-12 19:57:54 +00:00
Mark Crane 2a7274d50a Add ability to delete the email attachment after sending it. 2013-01-12 02:13:30 +00:00
Mark Crane 8746d26a82 Take Two: Fix bug: An email is not sent if the Mailbox has “Local After Email” = FALSE 2013-01-12 02:12:34 +00:00
Mark Crane 65d94c9f4d Replace start_epoch with created_epoch to fix the message in the voicemail to email. Use voicemail_id with the message_waiting function to fix MWI. Add a few more commands for logging to the console. 2013-01-12 00:30:47 +00:00
Mark Crane a8598e9281 Fix bug: An email is not sent if the Mailbox has “Local After Email” = FALSE 2013-01-11 22:16:15 +00:00
Mark Crane 5083a3a96e Several update to voicemail including ability to set the message file type with the same variable used for mod_voicemail which is vm_message_ext. Add several timeouts to the voicemail menus that repeat themselves. Fix forwarding a message to another extension. 2013-01-11 08:45:21 +00:00
Mark Crane 58dda416cd Fix file attachment for email.lua. 2013-01-11 08:34:50 +00:00
Mark Crane b78bf21574 Make voicemail.lua use the new email.lua. 2013-01-10 21:59:59 +00:00
Mark Crane e1ba85dcea Add a way to return escaped &#39, and &#34 back to single and double quotes. 2013-01-10 21:58:42 +00:00
Mark Crane a6dc082460 Remove commented out code that is no longer needed. 2013-01-10 20:17:43 +00:00
Mark Crane 13aa6f49ba Add an email.lua script. 2013-01-10 20:14:39 +00:00
Mark Crane 0104470603 Change DTMF handling to make it more responsive. Add maximum number of tries for voicemail id and password for added security. 2013-01-10 10:52:10 +00:00
Mark Crane 8c8cd1daea Add message-count place holder to the xml_handler.lua 2013-01-08 22:46:37 +00:00
Mark Crane bbbfc2b0a5 Add voicemail skip_instructions, and skip_greetings they both work the same as FreeSWITCH's mod_voicemail. Fix a problem session:ready check was preventing the voicemail from being saved and emailed. 2013-01-08 03:34:51 +00:00
Mark Crane 98ae72f8cf Add group call capability to the xml handler this enables it to work with call groups. 2013-01-07 19:49:01 +00:00
Mark Crane b6e029258a Add max_digits to the macro function calls. Wrap 'if session:ready around most actions so that if the call ends that it doesn't throw unnecessary errors simply because the call ended. 2013-01-06 07:43:24 +00:00
Mark Crane e77fbf2fdd Conference center mute only participants. 2013-01-05 11:50:26 +00:00
Mark Crane ba6e3873a7 Remove enter_sound from conference center manager it in the conference profile instead. 2013-01-05 11:38:10 +00:00
Mark Crane 3ecfacf38d In voicemail.lua change "en" to use the default_language variable. 2013-01-05 11:23:47 +00:00
Mark Crane 675cfb385c Require the message to be 3 seconds or longer to save the recording. Remove a session:ready from the send_email function to fix voicemail to email. 2013-01-04 06:14:52 +00:00
Mark Crane 00e0f9c5b8 Hide some of the errors when you hangup from a call with voicemail.lua. 2013-01-04 02:23:53 +00:00
Mark Crane e3458daa71 Update the voicemail script and add the ability to send an email on demand for the voicemail message and then add ability to forward the message to another extension. 2013-01-03 14:05:45 +00:00
Mark Crane d1456dcb29 When changing the voicemail password announce the 'Has been changed to' followed by the new password. 2013-01-03 08:10:08 +00:00
Mark Crane eb4453d3f4 Many improvements to voicemail when exiting the voicemail ivr say good bye, notify when the message is below the minimum length, record message menu 1 to listen to the recording, 2 to save the recording and 3 to re-record, and other enhancements. 2013-01-03 07:58:13 +00:00
Mark Crane 89d5534ff4 When calling *98 and it requests the voicemail ID if it isn't entered fast enough request the voicemail ID again. 2013-01-02 23:05:30 +00:00
Mark Crane 068e1d2a72 Improve the date and time and format the seconds to 00:00:00 for voicemail to email. 2013-01-02 22:23:01 +00:00
Mark Crane cad3b941af Make an adjustment to the xml_handler.lua file. 2013-01-02 11:17:02 +00:00
Mark Crane 04f3f3ad86 Add mkdir to ensure the directory structure is in place. Fix a bug with *98. 2013-01-01 00:47:46 +00:00
Mark Crane 08f4f92366 Use the standard voicemail greeting if the greeting_id is not provided. 2012-12-31 16:47:49 +00:00
Mark Crane 0c9168f853 Use the new greeting id option when leaving a voicemail and add an option to transfer to 0 for the operator, add * for exit instead of #. 2012-12-29 11:33:16 +00:00
Mark Crane e80aa77efe Add ability to make a recording of the persons name to the voicemail.lua 2012-12-29 11:11:34 +00:00
Mark Crane 3921dc26f0 Record and select the greeting for voicemail. 2012-12-29 09:13:15 +00:00
Mark Crane f5ceb2c3a9 Remove hot desked variable extension which would make hot desked extensions unable to register. 2012-12-29 01:03:38 +00:00
Mark Crane e657fd7468 Add the voicemail beep when leaving a voicemail. 2012-12-28 21:32:45 +00:00
Mark Crane 54ee755134 Add voicemail to email, whether to save the save the voicemail locally and whether to attach the voicemail to the email. 2012-12-28 21:02:27 +00:00
Mark Crane dba0fd3f76 Add ability to check voicemail messages in voicemail.lua, add the advanced menu and many other improvements. 2012-12-28 03:09:27 +00:00
Mark Crane 93464fcbaa Adding voicemail.lua which is the beginning of a native voicemail feature for FusionPBX. 2012-12-21 08:23:47 +00:00
Mark Crane 16517b8214 A few more adjustments to domain_uuid. 2012-12-16 07:41:15 +00:00
Mark Crane a1211c9ba2 Add bind_meta_app to the ring groups to allow in call transfer, and recordings. 2012-12-16 00:54:47 +00:00
Mark Crane 2ba4cf1228 Adjust the domain_name, and domain_uuid. Then add the dialplan_uuid to the order by to prevent duplicate dialplan names from creating invalid xml. 2012-12-16 00:53:12 +00:00
Mark Crane 9e9ba6d02b debug xml file change from directory.xml to the extension@domain.com 2012-12-10 20:41:59 +00:00
Mark Crane 97b813e58a Account for single tenant on the intercept.lua 2012-12-05 09:08:36 +00:00
Mark Crane 9b32ac9d73 Limit the global intercept to the correct tenant domain. 2012-12-05 08:48:43 +00:00
Mark Crane 8a3292a975 Add invalid entry announcement to the ivr_menu.lua. 2012-12-05 07:21:59 +00:00
Mark Crane a64be39334 Fix bugs with the ivr_menu.lua 2012-12-05 06:52:03 +00:00
Mark Crane a8e52e0adc Additional work on ivr_menu.lua 2012-12-04 23:00:27 +00:00
Mark Crane 4a9041ba1d Add the following == "true" to fix the if statement. 2012-12-04 20:09:57 +00:00
Mark Crane b2e44340b6 Fix a bug in the new ivr_menu.lua script. 2012-12-04 19:51:46 +00:00
Mark Crane 2be182e4f8 Add confirm.lua which is used with follow me. 2012-12-02 17:46:50 +00:00
Mark Crane 24e83a3f6c Add global intercept capability to intercept.lua, fix a problem with ivr_menu.lua, and white space problem in wakeup.lua. 2012-12-02 08:38:24 +00:00
Mark Crane 8098056fce Lua freeswitch.IVRMenu object was crashed FreeSWITCH on 1.2.3 so it has been replaced by a database driven Lua solution. This actually adds a lot more flexibility that will be used in the future. It still supports stacking options and regex. 2012-11-30 10:44:58 +00:00
Mark Crane ef25f25e48 Move the line of code that starts with pos up two lines. And change one word in a comment. 2012-11-30 10:37:39 +00:00
Mark Crane c961648083 The back slash should only be for the cache. 2012-11-30 05:08:58 +00:00
Mark Crane 2254b8d30a Improve the backslash escaping. 2012-11-29 23:05:34 +00:00
Mark Crane c071b5551d Replace the &#39 with a single quote after getting it from the cache. And escape the back slashes. 2012-11-29 22:16:16 +00:00
Mark Crane 6c6f07c16d Adjust the time out and remove the to do list. 2012-11-29 03:55:46 +00:00
Mark Crane d2e53cd125 Add gateways and sip profiles to the xml handler. 2012-11-29 03:43:58 +00:00
James Rose 87f639002e forgot \n on messages. 2012-11-28 23:10:53 +00:00
James Rose f6b0243546 Added log lines for Statistics gathering. group your logs for FAX_RETRY_STATS to keep track on what methods work best with the gateway used. Fixed minor error that did not affect use. 2012-11-28 23:03:05 +00:00
Mark Crane 1bf42197d4 Make the ivr_menu.lua file multi-lingual capable. 2012-11-25 07:13:14 +00:00
Mark Crane 1f7b039983 Add IVR Menu lua script. 2012-11-24 18:22:25 +00:00
James Rose c743a06875 fax retry will now send using different combinations of t38 (on/off) ecm (on/off) fast/slow. also sends an email based on success or failure. 2012-11-23 18:28:14 +00:00
Mark Crane 46f4f2cc29 Add a script to monitor sip profiles and restart them if necessary. 2012-11-22 19:36:09 +00:00
Mark Crane d81308ab14 Add the basic infrastructure to send an email notification for success or failure for fax_retry.lua 2012-11-21 20:54:15 +00:00
Mark Crane 56ec690168 Re-arrange the code for directory.lua and add 'no matching results' and then allow the caller to try again. 2012-11-08 21:07:36 +00:00
Mark Crane cbe5126df9 Begin to simplify the script a bit more. 2012-11-08 20:26:15 +00:00
Mark Crane 657b2681f4 Initial commit for directory.lua. 2012-11-08 20:16:32 +00:00
Mark Crane a31827b4d1 Don't end the conference when the moderator leaves. 2012-11-06 22:55:12 +00:00
Mark Crane ddf51cd4c7 play a message that the conference is being a recorded 2012-11-06 22:53:13 +00:00
Mark Crane 845c3cb73f Add a sip header for page.lua to fix auto answer on Polycom phones. 2012-10-28 00:34:14 +00:00
Mark Crane 9b0361ac7a When max members is set to 0 that means to allow an unlimitted number of members in the conference. 2012-10-27 00:10:48 +00:00
Mark Crane 72e21a426b Add a new caller id lua script. 2012-10-23 23:00:25 +00:00
Mark Crane be23b9216e Add caller id prefix option to call park. 2012-10-23 04:59:09 +00:00
Mark Crane e842b26976 Add ringback to ring_group.lua 2012-10-22 20:08:18 +00:00