Commit Graph

184 Commits

Author SHA1 Message Date
Mark Crane cbbb7250c1 This fixes a problem where non-existent domains could cause the lua script to fail which would then leave the database connection open and eventually lead to denial of service when the database runs out of connections. Everyone using xml handler needs this update. 2013-05-20 11:38:58 +00:00
Mark Crane c96a2b0fd9 Fix a syntax problem in intercept.lua 2013-05-07 21:41:33 +00:00
Mark Crane e18d08659d Make the lua scripts that use config.lua to use the new config function. 2013-05-02 01:10:45 +00:00
Mark Crane 7d5f914ad1 Add functions/config.lua to find the correct config.lua. 2013-05-02 00:57:17 +00:00
Mark Crane 2f7d8fd672 Only include section: configuration for the lua scripts that exist. 2013-04-30 07:17:47 +00:00
Mark Crane 3e790bda07 Update the method to connect to the database with lua. 2013-04-29 23:29:46 +00:00
Mark Crane 68fe4b6600 If VM local after email is set to false and email address is not provided still save the voicemail message and send the mwi. 2013-04-29 17:30:13 +00:00
Mark Crane 35b1b2cb1d Make it possible to use # and * in the IVR Menu. 2013-04-21 01:58:41 +00:00
Mark Crane b4b7418a85 Add the new XML handler. 2013-04-20 23:28:45 +00:00
Mark Crane 4ddf62d0c8 Security improvement dial_string.lua 2013-04-18 07:30:55 +00:00
Mark Crane 3d6eba86a5 Fix the queries that check the pin number. 2013-04-16 07:39:31 +00:00
Mark Crane 5ccbc4830e Update the the conference center lua script pin management. 2013-04-16 06:57:42 +00:00
Mark Crane 70af1d955b MWI improvements for voicemail. 2013-04-13 08:19:19 +00:00
Mark Crane 2194aebcf5 Fixed the following issue 396: ring_group.lua aborts when ring group is empty. 2013-04-13 07:34:31 +00:00
Mark Crane 7c6c6e9f71 Remove the changes of the previous commit. 2013-04-12 19:08:22 +00:00
Mark Crane 7f94b55e7a Make sure the voicemail directory exists. 2013-04-12 18:58:53 +00:00
Mark Crane 526d0e6f32 Update the lua scripts to use the new mkdir function. 2013-04-12 18:46:02 +00:00
Mark Crane 7fde8c93d1 Add a mkdir function that is compatible to both unix and windows. 2013-04-12 18:27:56 +00:00
Mark Crane fcad8599bb Fix domain_uuid for directory.lua. 2013-04-10 07:52:17 +00:00
Mark Crane 37c1231660 Dump scripts that are no longer used. 2013-04-09 18:19:19 +00:00
Mark Crane e01c729f94 Fix a spelling mistake 2013-04-09 17:04:19 +00:00
Mark Crane d3be2536ef Remove call_timeout from the script have a better place to put it. 2013-04-05 23:21:13 +00:00
Mark Crane b3aded198b 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 24199dcc6b 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 c21c7f2b2f Add call_timeout to the xml handler. 2013-04-02 07:38:52 +00:00
Mark Crane ab7b345ad5 Move the referred_by into the 'if statement' 2013-04-02 05:44:51 +00:00
Mark Crane 2b97191660 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 ac203b91ed 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 02b2b9c5ea Release the database connection before sending the caller into the conference. 2013-03-27 07:07:00 +00:00
Mark Crane faeee96624 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 d706900be5 Remove trailing white spaces from mwi.lua. 2013-03-14 03:04:47 +00:00
Mark Crane a8c7284562 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 c56bf3e447 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 1993560b35 Add extension_uuid to xml cdr. 2013-03-10 05:39:45 +00:00
Mark Crane e446847537 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 103fa44a5a Move the conference center templates to the resources directory. 2013-02-28 18:20:01 +00:00
Mark Crane a9abe08db9 Move the conference center lua scripts to freeswitch/scripts/app/conference_center directory. 2013-02-27 09:50:57 +00:00
Mark Crane 7e160b34f2 Put the ring groups in order based on the delay and extension number. 2013-02-23 01:46:52 +00:00
Mark Crane bff9b55d37 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 fbaf548be0 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 391f77f68e Add pre_answer to ring groups. 2013-02-14 07:20:52 +00:00
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