Commit Graph

374 Commits

Author SHA1 Message Date
Mark Crane 102d368aac Fixed the following issue 396: ring_group.lua aborts when ring group is empty. 2013-04-13 07:34:31 +00:00
Mark Crane cccc4dd9d9 Remove the changes of the previous commit. 2013-04-12 19:08:22 +00:00
Mark Crane ee9a3ce840 Make sure the voicemail directory exists. 2013-04-12 18:58:53 +00:00
Mark Crane 90711f34bc Update the lua scripts to use the new mkdir function. 2013-04-12 18:46:02 +00:00
Mark Crane d747bc4542 Add a mkdir function that is compatible to both unix and windows. 2013-04-12 18:27:56 +00:00
Mark Crane 212b9a8d78 Fix a bug that affected dialplan entries for ring groups when using MySQL. Add additional exception handling. 2013-04-11 10:20:50 +00:00
Mark Crane 94adaa61a6 Fix domain_uuid for directory.lua. 2013-04-10 07:52:17 +00:00
Mark Crane b22db7a3f7 Remove a deprecated file that is no longer needed. It was replaced by directory.lua. 2013-04-09 19:20:15 +00:00
Mark Crane fc5714ec3d Dump scripts that are no longer used. 2013-04-09 18:19:19 +00:00
Mark Crane fc6865456e Fix a spelling mistake 2013-04-09 17:04:19 +00:00
Mark Crane 9d8c13f43a Remove call_timeout from the script have a better place to put it. 2013-04-05 23:21:13 +00:00
Mark Crane 09bb1a1cc1 Prevent errors when someone abandons a call to conference center before providing a pin number. 2013-04-03 07:38:29 +00:00
Mark Crane 8266953887 Prevent an error from being displayed when someone abandons leaving a voicemail during the greeting. 2013-04-03 07:26:01 +00:00
Mark Crane f3a49c39c1 Add call_timeout to the xml handler. 2013-04-02 07:38:52 +00:00
Mark Crane e4448fe4d6 Move the referred_by into the 'if statement' 2013-04-02 05:44:51 +00:00
Mark Crane 9009f98a7e Blind transfer to an extension that doesn't have voicemail if it timesout send the call back. 2013-03-31 08:22:58 +00:00
Mark Crane 4930d592e1 Adjust the LUA database connection to accommodate native PostgreSQL support and the recent change to the database connection syntax. 2013-03-31 08:18:41 +00:00
Mark Crane 3e3715ab76 Release the database connection before sending the caller into the conference. 2013-03-27 07:07:00 +00:00
Mark Crane 0fc7641f61 Remove the set for db_path variable which replaced the variable in config.php. 2013-03-26 18:35:19 +00:00
Mark Crane 307d82bb1f Add ability to rename tables. 2013-03-26 06:17:35 +00:00
Mark Crane 5742787a57 Remove effective_ from the caller id on the hunt group. 2013-03-25 17:02:02 +00:00
Mark Crane 9c896e0e23 Change kick and kick all to uuid_kill so that the participant's call is logged to the database. Fix recordings and the announce that the call is being recorded for the first person to join the conference. Add a permission to control the conference session 'details' column in the conference sessions so CDR link can be hidden from the user. Don't allow a conference moderator and participant to use the same pin number. 2013-03-15 17:12:13 +00:00
Mark Crane 9324381578 Fix caller id prefix for hunt groups. 2013-03-15 14:20:28 +00:00
Mark Crane 75a2b9250e Remove trailing white spaces from mwi.lua. 2013-03-14 03:04:47 +00:00
Mark Crane 1c00040a96 Add an optional mwi script to ensure the message waiting light is on for all models of phones. 2013-03-14 02:52:57 +00:00
Mark Crane b23cf69a81 Add sqlite:// to the lua scripts to match the new syntax. Add debian package files produced by rneese. 2013-03-13 14:25:39 +00:00
Mark Crane 7af82a6ece Move save_extension_xml to the extension->xml class method. 2013-03-10 05:53:18 +00:00
Mark Crane 1abc8fc935 Add extension_uuid to xml cdr. 2013-03-10 05:39:45 +00:00
Mark Crane c06ccfd33e Conference, announce that the conference is being recorded for active conferences when its changed in the gui. Add a pin search tool for conference rooms. Finish conference center templates. 2013-02-28 18:55:36 +00:00
Mark Crane c9748225ea Move the conference center templates to the resources directory. 2013-02-28 18:20:01 +00:00
Mark Crane eb3059fdc9 Move the conference center lua scripts to freeswitch/scripts/app/conference_center directory. 2013-02-27 09:50:57 +00:00
Mark Crane 6125670757 Put the ring groups in order based on the delay and extension number. 2013-02-23 01:46:52 +00:00
Mark Crane 15323f8f51 Fixed the following bug. When dialing *99 it produces this error.
2013-02-21 18:39:28.016638 [ERR] mod_lua.cpp:198 ...app/voicemail/resources/functions/record_message.lua:39: bad argument #1 to 'len' (string expected, got nil)
2013-02-22 20:50:44 +00:00
Mark Crane 78f2cbe010 Work on a problem with http_user_agent() that affects a limited number of systems. 2013-02-20 11:48:19 +00:00
Mark Crane 09bafd825c Replace ${dsn} with $${dsn} 2013-02-19 22:15:29 +00:00
Mark Crane 80dac680ce Fix the ring group timeout action so that is not executed when a call is parked using the approach used by hunt groups. 2013-02-19 20:25:50 +00:00
Mark Crane 96a4ab0146 Add pre_answer to ring groups. 2013-02-14 07:20:52 +00:00
Mark Crane d558d2da16 Set http_host to HTTP_HOST. 2013-02-13 07:17:24 +00:00
Mark Crane cbe7849de8 Fix a problem with the multi-domain login and make it easier to understand. 2013-02-13 06:51:09 +00:00
Mark Crane 2bd04da04b Add ivr menu cid prefix. 2013-02-12 11:19:52 +00:00
Mark Crane 05c274e9c5 Add the ring group leg delay and timeout to ring_group.lua. 2013-02-12 02:56:46 +00:00
Mark Crane 9deaed2fa0 Clear additional values from the Session array when switching domains. 2013-02-11 14:47:40 +00:00
Mark Crane 363bebafb2 Only add the user account if the ldap authentication was successful. 2013-02-11 14:46:41 +00:00
Mark Crane 3036f64d4e Fix a menu regression which was caused by multi-lingual changes. This reenables customized menu titles that are protected is set to true. 2013-02-09 20:30:36 +00:00
Mark Crane d9e45ea941 Remove ignore_early_media variable for the hunt group it caused calls to fail for external calls. 2013-02-09 02:24:39 +00:00
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 fc4e00380a Update the schema update sql code. 2013-02-03 15:25:05 +00:00
Mark Crane 5d1a7374cb Improve some of the text in conference center. Toggle mute all with unmute all. A few other minor adjustments. 2013-02-02 09:54:20 +00:00
Mark Crane bbfbcf7729 Enable the sounds true/false for conference_center.lua 2013-02-01 12:27:57 +00:00
Mark Crane ee2eefd2fc Remove domain_name variable from the extension which hurts single tenant systems. 2013-01-31 22:07:01 +00:00
Mark Crane cfdd1b597d Add two variables to extensions domain_name and domain_uuid. 2013-01-31 07:10:40 +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 832c0e3ca0 More work on the sqlite upgrade schema bug. 2013-01-29 09:13:18 +00:00
Mark Crane 37f31eb280 Fix a sqlite upgrade schema bug. 2013-01-29 02:15:12 +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 b712498d62 If you customize the permissions and restore the menu it puts the permissions back to default. Therefore I'm removing the restore permissions on the menu class and moving it to the a button on the group permissions page. 2013-01-23 15:56:00 +00:00
Mark Crane e711cd0bfc Remove trailing white space and update the comments. 2013-01-23 13:49:51 +00:00
Mark Crane ce7fc92eb0 A few changes from the merge. 2013-01-20 01:13:19 +00:00
Mark Crane dd70941a22 Update the version to FusionPBX 3.2. 2013-01-19 20:10:54 +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 d6ece94578 Add conference center to the destination select list. Hide the older conferences if there are no conferences in the database. 2013-01-19 06:55:13 +00:00
Mark Crane 360b45bac6 Make the install and upgrade of the scripts directory included directories, sub directories and files. 2013-01-19 02:15:08 +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 6019c49f41 Fix caller id prefix for hunt groups. 2013-01-16 01:41:07 +00:00
Mark Crane 751b1c721c Clear memcache as needed. 2013-01-16 00:26:48 +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