Commit Graph

176 Commits

Author SHA1 Message Date
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
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
Mark Crane 1c3d638bfe Add domain_uuid to make the feature multi-tenant ready. 2012-10-19 23:41:52 +00:00
Mark Crane 5edcafef1a Fix a bug with ring group where when sending the call from an IVR Menu where answer was called then the ring group timeout was not working. Now using last_bridge_hangup_cause to know whether the call was answered already or whether to send the call to the timeout destination. 2012-10-18 19:46:38 +00:00
Mark Crane bae9d6fcef Update the conference center lua script with an updated recordings_dir 2012-10-16 06:02:05 +00:00
Mark Crane 84c1cc6a61 Improve conference_center.lua add better logging, caller announce, and wait for moderator. 2012-10-16 01:42:44 +00:00
Mark Crane 642ff8b1ca Add conference session logging, add several variables, and ensure the uuids are lower case. 2012-10-13 17:08:19 +00:00
Mark Crane 6dc9eec702 Fix a few more line space, indentation, and other white space issues. 2012-10-11 06:36:24 +00:00
Mark Crane 4b093bf0a4 Adjust syntax for fax_retry.lua 2012-10-10 02:28:46 +00:00
Mark Crane a74de0b7f0 Set the fax retry to send retry after 5 minutes up to 5 times. 2012-10-10 02:18:40 +00:00
Mark Crane dc8af02be7 Add the database connection to fax_retry.lua. 2012-10-10 02:04:25 +00:00
Mark Crane 83f9b3d047 Fix a bug with default settings -> voicemail when ssl is selected. 2012-10-08 18:31:06 +00:00
Mark Crane 06beb9d38d Update conference_center.lua with the new table names. 2012-10-04 23:56:04 +00:00
Mark Crane d4f16ba846 change conference.lua to conference_center.lua 2012-10-04 23:53:52 +00:00
Mark Crane 48ebd1378a Fix xml problems with time conditions, break, and dialplan groups. 2012-10-02 20:49:18 +00:00
Mark Crane 99e5dfe015 Add the dialplan context to the debug filename. Add a uuid attribute to make it easier to trouble shoot. 2012-09-28 20:03:44 +00:00
Mark Crane 1b781dd048 Fix a problem with call flows. Increase the security for both the xm_edit and the provision_editor. 2012-09-23 10:31:31 +00:00