Commit Graph

193 Commits

Author SHA1 Message Date
Mark Crane 83d388b822 Add ivr menu cid prefix. 2013-02-12 11:19:52 +00:00
Mark Crane 9872b991ee Add the ring group leg delay and timeout to ring_group.lua. 2013-02-12 02:56:46 +00:00
Mark Crane 54661b299f 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 7d10a2df8f Enable the sounds true/false for conference_center.lua 2013-02-01 12:27:57 +00:00
Mark Crane 8a684cc7a2 Change the voicemail recording max length from 30 seconds to 300 seconds. 2013-01-30 23:08:47 +00:00
Mark Crane 47b346475d Comment out dbh:release for now until certain that is works 100%. 2013-01-30 06:19:25 +00:00
Mark Crane 73d11043c3 If the extension_uuid is not found then set continue to false. 2013-01-30 02:29:59 +00:00
Mark Crane a769d338c2 Prevent an error when voicemail box does not exist. 2013-01-29 21:24:48 +00:00
Mark Crane c0be5c6fc3 Fix an error with trim on the xm handler. 2013-01-29 21:02:15 +00:00
Mark Crane 9718d246aa Send not found xml response when an extension does not exist. 2013-01-29 19:42:38 +00:00
Mark Crane 43ffea900a 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 c80e78d191 Fix ringback on directory.lua. 2013-01-27 03:33:34 +00:00
Mark Crane 41ff0822dd Fix ringback on directory.lua. 2013-01-26 22:15:41 +00:00
Mark Crane d1faa30d41 A few changes from the merge. 2013-01-20 01:13:19 +00:00
Mark Crane 6e9c0b13d0 If the extension does not exist send "not found" xml. 2013-01-19 16:44:56 +00:00
Mark Crane 806dc7014c 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 87dca160d6 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 461f4465ef 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 d580d33017 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 4f74fe0148 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 e174465502 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 f4438f6ebe 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 b57f9f4108 Turn off debug info. 2013-01-13 10:46:37 +00:00
Mark Crane 4acbe2a27c 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 72269e5fc4 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 67cb077be8 Add playback_terminators to voicemail.lua 2013-01-13 07:54:55 +00:00
Mark Crane f760115339 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 1f14f1858d 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 5e6638d090 Improve the variable naming convention used for memcache. Add memcache support for call groups. 2013-01-12 19:57:54 +00:00
Mark Crane eeb6e80442 Add ability to delete the email attachment after sending it. 2013-01-12 02:13:30 +00:00
Mark Crane 115e8cd835 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 deb2a2afa5 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 72a6d370e8 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 baae27c341 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 c0b2f201f0 Fix file attachment for email.lua. 2013-01-11 08:34:50 +00:00
Mark Crane 1485437ba8 Make voicemail.lua use the new email.lua. 2013-01-10 21:59:59 +00:00
Mark Crane 1e0634ab85 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 09523deab1 Remove commented out code that is no longer needed. 2013-01-10 20:17:43 +00:00
Mark Crane 76fd7b20fb Add an email.lua script. 2013-01-10 20:14:39 +00:00
Mark Crane 49050ce930 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 3397fe3619 Add message-count place holder to the xml_handler.lua 2013-01-08 22:46:37 +00:00
Mark Crane bb96e07144 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 7d2c77fd18 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 0eecc8c2c9 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 a41b300f62 Conference center mute only participants. 2013-01-05 11:50:26 +00:00
Mark Crane b4725e1ea9 Remove enter_sound from conference center manager it in the conference profile instead. 2013-01-05 11:38:10 +00:00
Mark Crane 0aad1b0944 In voicemail.lua change "en" to use the default_language variable. 2013-01-05 11:23:47 +00:00
Mark Crane daffa7d856 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 fb59acd07b Hide some of the errors when you hangup from a call with voicemail.lua. 2013-01-04 02:23:53 +00:00
Mark Crane c0493dcdaf 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 b5312ae911 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 914e1504ac 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 4f68c6bfc0 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 a654012f8b 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 cf542fae22 Make an adjustment to the xml_handler.lua file. 2013-01-02 11:17:02 +00:00
Mark Crane a1fe967a3a 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 64e7d1a723 Use the standard voicemail greeting if the greeting_id is not provided. 2012-12-31 16:47:49 +00:00
Mark Crane bae3c61b87 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 5fcf191953 Add ability to make a recording of the persons name to the voicemail.lua 2012-12-29 11:11:34 +00:00
Mark Crane 49075e7db2 Record and select the greeting for voicemail. 2012-12-29 09:13:15 +00:00
Mark Crane 7e0713bdca Remove hot desked variable extension which would make hot desked extensions unable to register. 2012-12-29 01:03:38 +00:00
Mark Crane f15b001681 Add the voicemail beep when leaving a voicemail. 2012-12-28 21:32:45 +00:00
Mark Crane 21eb881418 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 eebad7dc5d 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 c6358c52f0 Adding voicemail.lua which is the beginning of a native voicemail feature for FusionPBX. 2012-12-21 08:23:47 +00:00
Mark Crane 462211173f A few more adjustments to domain_uuid. 2012-12-16 07:41:15 +00:00
Mark Crane 2fa1608037 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 219fbced48 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 7f6e65ab44 debug xml file change from directory.xml to the extension@domain.com 2012-12-10 20:41:59 +00:00
Mark Crane ba1324b95b Account for single tenant on the intercept.lua 2012-12-05 09:08:36 +00:00
Mark Crane a049b10cf2 Limit the global intercept to the correct tenant domain. 2012-12-05 08:48:43 +00:00
Mark Crane 00b7a81627 Add invalid entry announcement to the ivr_menu.lua. 2012-12-05 07:21:59 +00:00
Mark Crane 8f4717cdc8 Fix bugs with the ivr_menu.lua 2012-12-05 06:52:03 +00:00
Mark Crane caa3c395d5 Additional work on ivr_menu.lua 2012-12-04 23:00:27 +00:00
Mark Crane b649ce9264 Add the following == "true" to fix the if statement. 2012-12-04 20:09:57 +00:00
Mark Crane 74073d6cc4 Fix a bug in the new ivr_menu.lua script. 2012-12-04 19:51:46 +00:00
Mark Crane e12faaae81 Add confirm.lua which is used with follow me. 2012-12-02 17:46:50 +00:00
Mark Crane 997b63ac85 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 bbe3759a68 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 fe2b89ff00 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 6dfa6e1aaf The back slash should only be for the cache. 2012-11-30 05:08:58 +00:00
Mark Crane b345faf058 Improve the backslash escaping. 2012-11-29 23:05:34 +00:00
Mark Crane 634da03e67 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 270099a7bb Adjust the time out and remove the to do list. 2012-11-29 03:55:46 +00:00
Mark Crane b9617c9a5f Add gateways and sip profiles to the xml handler. 2012-11-29 03:43:58 +00:00
James Rose a8db9964c3 forgot \n on messages. 2012-11-28 23:10:53 +00:00
James Rose 6b2f67fe09 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 8e816ceaf3 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