Commit Graph

437 Commits

Author SHA1 Message Date
Mark Crane 20ec80d46c Check for a nil to prevent an error for voicemail, ivr menu and recordings. 2015-04-04 09:09:09 +00:00
Mark Crane 17c68d7e2b Prevent a bad domain_name from causing a nil error for reverse authentication. 2015-04-04 06:24:41 +00:00
Mark Crane dc41325a8a Improve indentation, use base64 value from database bypass writing the value to a variable first. 2015-04-03 19:06:16 +00:00
Mark Crane e6eb36ff51 Additional work on option to save files in base64 for voicemail and ivr menu. 2015-04-03 18:59:12 +00:00
Nate Jones b1cef30022 IVR: Additional check for nil needed. 2015-04-03 17:58:49 +00:00
Mark Crane fb7ded71ce Set auto-gain-level to 0 or disabled. 2015-04-01 10:18:48 +00:00
Mark Crane 00873011cd Remove an extra vertical space and fix the indenting for one line. 2015-04-01 08:22:42 +00:00
Mark Crane 3b117a3d0d Remove http_cache:// from the path and allow it to be defined in the storage path. 2015-04-01 08:14:03 +00:00
Mark Crane 44295deab6 Remove trailing spaces from the ivr_menu.lua. 2015-04-01 08:12:27 +00:00
Mark Crane 6f14a0b6d5 When a new greeting is created set it as the greeting id. 2015-04-01 08:11:44 +00:00
Mark Crane 63f55e076d Add a missing semi-colon and remove trailing spaces. 2015-04-01 07:57:47 +00:00
Mark Crane 3c36351762 Add an option to save the greeting to the database. 2015-04-01 07:56:56 +00:00
Mark Crane 3111110909 Pre-define the variables for the ivr menu. 2015-04-01 06:52:45 +00:00
Mark Crane 5912dae9f0 2015-04-01 05:48:44 +00:00
Mark Crane 82c28cb9e1 Use luasql for recordings only if base64 is chosen. 2015-04-01 05:44:07 +00:00
Mark Crane bde561a950 Change base64.enc to base64.encode. 2015-04-01 03:56:23 +00:00
Mark Crane 30bb3e211d Improve the speed of base64 encode and decode. 2015-03-31 18:48:00 +00:00
Mark Crane 8e4d2092ee Prevent trying to pickup the call from the caller in the same call group. 2015-03-31 03:06:55 +00:00
Mark Crane d69df4ba65 Add base64 decode to the IVR Menu. 2015-03-31 00:50:13 +00:00
Mark Crane e263d520b7 Add an additional method to store the recordings. 2015-03-30 23:08:21 +00:00
Mark Crane 73c6cec61c No need for this include again as the scripts_dir is already set by this point. 2015-03-24 07:05:28 +00:00
Mark Crane 95344623ce Fix the XML for languages.lua. 2015-03-24 06:21:47 +00:00
Errol Samuels 87a30dcd97 Added goodbye message when maximum searches have been reached so caller is aware the call will hangup. 2015-03-23 05:35:41 +00:00
Errol Samuels 0e67783602 Added remote reboot capability for Aastra phones 2015-03-22 08:04:03 +00:00
Mark Crane 77fbe94767 Fix conference center greeting allow upper case file names. 2015-03-20 19:05:49 +00:00
Mark Crane 03181426b5 IVR Menu use the ringback method from ring groups. 2015-03-20 04:56:25 +00:00
Mark Crane eabfe79a1a IVR Menu commit ringback this approach will be replaced but is added to document the approach. 2015-03-20 04:54:49 +00:00
Mark Crane ee3f09be15 Fix ringback on the ivr menu by getting the global variable representing the ring back tones. 2015-03-18 23:31:14 +00:00
Mark Crane 4385aac2dd Remove trailing spaces or tabs. 2015-03-18 20:51:13 +00:00
Nate Jones 266f9e1063 Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Mark Crane 812a0618e9 Fix IVR Menu ringback. 2015-03-13 16:45:05 +00:00
Mark Crane 006af7d74d Fix the indentation in callcenter.conf.lua. 2015-03-11 19:33:07 +00:00
Mark Crane 700f27d89f Call Center XML Handler now generates XML correctly. 2015-03-11 19:28:18 +00:00
Mark Crane 94163c7537 Fix a missing comma. 2015-03-10 10:41:26 +00:00
Mark Crane 3406ff62b4 Add the missing include for the languages section. 2015-03-09 23:49:15 +00:00
Mark Crane a1055b60a3 Add time-of-day to the XML handler. 2015-03-09 15:51:49 +00:00
Mark Crane 4642a6e4a5 Add XML Handler section language. 2015-03-09 05:26:10 +00:00
Mark Crane 5b9e7deeb2 Add lua function settings. 2015-03-02 18:07:06 +00:00
Digital Daz 3dd2ec4a2e Remove a log line used for debug 2015-02-25 20:40:51 +00:00
Digital Daz ad82d7fe49 Fixed a couple of typos and changed the way the DSN is inserted. 2015-02-25 20:35:22 +00:00
Nate Jones 9a1b836f6d Voicemail: Email notification script updated to support multiple languages. 2015-02-24 09:40:45 +00:00
Nate Jones cbb39328f5 Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Nate Jones eb7a47917f Voicemail: Remove prompt to listen to new or saved messages if no new or saved messages exist. 2015-02-23 22:51:24 +00:00
Mark Crane 93d22dce39 Voicemail IVR is now completed and ready to go. 2015-02-22 23:58:37 +00:00
Mark Crane bf8247d332 Add additional protection to prevent intercepting calls that have already been answered. 2015-02-21 20:33:23 +00:00
Mark Crane 7887e4ddd3 Add callcenter.conf.lua for xml handler. 2015-02-21 09:33:36 +00:00
luis daniel lucio quiroz 0bc858bffa debug messages for conference center 2015-02-13 18:51:19 +00:00
Digital Daz cc96241171 Use the domain timezone in voicemail message playback. 2015-02-10 00:01:37 +00:00
Mark Crane fe0575faa6 Fix hot desking internal and outbound caller id for the hot desked phone. 2015-02-06 18:51:22 +00:00
Mark Crane 6d901034ad Work on intercept.lua to prevent an error with the hostname. 2015-01-30 01:32:38 +00:00
Mark Crane 37e5339fd3 Fix the conference default greeting. 2015-01-29 10:07:50 +00:00
Mark Crane 5fefdd595b Tested gateway with registration set to false on 1.4.15 no longer requires a username and password so it is no longer required in fusionpbx when the registration is set to false. 2015-01-29 07:07:54 +00:00
luis daniel lucio quiroz 56872c05a2 for_fax now on fax 2015-01-27 14:51:57 +00:00
luis daniel lucio quiroz 226651280e accountcode now on fax, PCMU/A as absolute codec string 2015-01-26 19:54:52 +00:00
Mark Crane 1e989c23f0 Fix the handling for * with stream file. 2015-01-23 18:10:48 +00:00
Philippe Rioual bb27d3bf5d removed extra digit in FR toll allow templates 2015-01-22 19:44:58 +00:00
Philippe Rioual 659adc8731 added french "FR" country toll_allow templates 2015-01-21 16:11:06 +00:00
luis daniel lucio quiroz 230be9198f better voicemail templates 2015-01-19 18:59:59 +00:00
Mark Crane 6c1bf58baf Fix voicemail copy to multiple destinations. 2015-01-17 21:56:56 +00:00
Mark Crane 2de87d1b49 Fix is_local.lua script on the stable branch. 2015-01-17 07:31:50 +00:00
Mark Crane 058dcb0f0e Add streamfile.lua to provide ability to stream files and change the volume, position of the playback, pause and more. 2015-01-04 09:29:02 +00:00
Mark Crane 3744bb9eb0 If mod shout exits use it to save voicemail messages as mp3. 2015-01-04 00:10:52 +00:00
Mark Crane 5aac3aa44d Add trim function to is_local.lua. 2014-12-22 19:34:55 +00:00
Mark Crane 36589ca987 Fix a problem with wakeup calls prompting for the extension. 2014-12-22 18:18:55 +00:00
Nate Jones ab9a4f5ef9 Issue 767 Fix: Invalid Sound file path was hard coded in lua, modified as suggested to use file path defined in IVR. 2014-12-10 03:26:52 +00:00
Mark Crane 5cdd2561d2 Prevent call_hostname nil issue by pre-defining it. Improve the uuid nil check to prevent an error. 2014-12-07 02:06:32 +00:00
Mark Crane 2c2d129790 Fix forward on busy. 2014-12-05 12:55:04 +00:00
Mark Crane b135de42f0 Fix a problem with the previous commit. 2014-12-05 02:45:56 +00:00
Mark Crane fb4fd4d471 Play only the Conference Center Greeting if it has been provided. 2014-12-05 02:40:21 +00:00
Mark Crane 7c37ecd4a2 Add support for voicemail forward destinations. 2014-12-04 13:43:09 +00:00
Mark Crane 0dbe87a1cc Update the failure handler to work with the new call forward no answer feature. Optimize it using the variables instead of the database. Change the indentation. 2014-12-03 11:57:34 +00:00
Mark Crane d4f2c57455 Get the values from the database and set them as lua variables. 2014-12-03 09:02:54 +00:00
Mark Crane 2495e9e935 Set extension variables for forward all, busy, no answer, and do not disturb. 2014-12-03 08:05:41 +00:00
Nate Jones bbd8c183ef Conference Center: Lua script mods for Room Schedule (start/stop) functionality completed. 2014-11-30 03:08:02 +00:00
Nate Jones f31db4fec8 Fax Retry (LUA): nulls to nils. 2014-11-29 15:24:02 +00:00
Mark Crane cbe9e9f619 Ensure that call forward doesn't update follow me if follow_me_uuid is an empty string. 2014-11-28 20:40:59 +00:00
luis daniel lucio quiroz fb02f54a6a xml_handler directory.lua is now tolerant when no memcache available, fix a nil variable 2014-11-27 14:43:28 +00:00
Mark Crane d9ce24a7a2 Revert r7258 as caused problems with endpoints receiving calls. 2014-11-26 20:54:44 +00:00
Riccardo Granchi 390a5d4724 Engineered the management of bridge failures in local extension, with optional variables which by default provides the standard behavior. Changed the default order for extension_queue, which has *800 prefix, before the extension-intercom, which has the *8 prefix 2014-11-21 15:38:26 +00:00
Mark Crane 3daa03d2a5 Fix the alias for the XML handler. 2014-11-21 04:37:43 +00:00
Mark Crane daad4f0ca3 If forward all destination is not set then request it when using *72 otherwise use the current destination. 2014-11-18 11:16:59 +00:00
Mark Crane 3f603e664f Default behavior before call forward on busy was if busy go to voicemail. I just re-established that default for any company wanting to simply hangup on calls when the destination is busy then set system -> variables or domain -> variables to send_to_voicemail=false. This is a better default as it would require those wanting to simply hangup to set the value to false allowing the default behavior is preserved. 2014-11-18 10:29:03 +00:00
Mark Crane c35a348347 Add a few spaces to make the code consistent such as if( changed to if ( 2014-11-18 10:10:37 +00:00
Mark Crane a2daf9a3a3 (not forward_on_busy and originate_disposition ~= "CALL_REJECTED") needs to be optional behavior as it contradicts current behavior. My response here is complaints that the new behavior is a bug at least in some peoples eyes so needs to be a configurable option that is not forced onto those that don't want it. 2014-11-18 10:09:29 +00:00
Mark Crane 4a2d99d3a2 Remove hangup on subscriber absent user_exists condition on dialplan_local extension already verifies that it is an extension. 2014-11-18 10:04:17 +00:00
Mark Crane bd597ab23e Adjust app.lua improve the line spacing. 2014-11-18 10:03:00 +00:00
Mark Crane 1f201eaca6 Cleanup up the tabbing and trailing spaces and tabs. 2014-11-18 09:35:33 +00:00
Mark Crane 8add692a43 Correct the English used in the comment. 2014-11-18 09:33:19 +00:00
luis daniel lucio quiroz 17b8c3ac69 cosmetic coding for disa 2014-11-14 22:12:18 +00:00
luis daniel lucio quiroz 1e732b9467 new enhanced disa without loopback 2014-11-14 20:39:15 +00:00
luis daniel lucio quiroz 00c6b78950 new enhanced disa 2014-11-14 17:47:45 +00:00
luis daniel lucio quiroz c37897b45a console messages for eavesdrop 2014-11-13 15:32:02 +00:00
Riccardo Granchi 9aacbb4d73 Disabled debug and minor log changes 2014-11-13 13:09:53 +00:00
Riccardo Granchi f9d854bc94 Added toll allow and ability to enable it in outbound routes 2014-11-13 12:12:41 +00:00
Mark Crane 0d166590dd xml_handler will bind if memcached is down 2014-11-13 08:51:46 +00:00
Mark Crane a8a2631381 Fix remove excessive messages when using XML handler. 2014-11-08 04:46:51 +00:00
Riccardo Granchi 8b7429f38c Added toll type assignment based on country templates 2014-11-06 16:56:31 +00:00
Riccardo Granchi 98987576ce Added cleaning for own international prefix and sqlite compatibility 2014-11-04 15:29:05 +00:00
Mark Crane 6338b038e0 Paging - Prevent calling the user that initiated the page 2014-11-03 18:57:01 +00:00
Riccardo Granchi a86b83be7a Added it-ring definition 2014-11-03 11:16:10 +00:00
Riccardo Granchi b4c6906520 Added forward on busy and extension queue features 2014-10-29 16:06:53 +00:00
Mark Crane 14fa909cd2 Ensure the api object is set for is_local. 2014-10-25 00:25:08 +00:00
Mark Crane b006d8c28c Fix *98 for extensions with number-alias. 2014-10-25 00:01:46 +00:00
Mark Crane 50dcfc3fae Update the Voicemail MWI LUA script to use the new scripts/resources/run directory. 2014-10-22 08:09:10 +00:00
Mark Crane 71bfd161b3 Replace if statement so that it doesn't cause a problem with user_exist. 2014-10-22 00:32:00 +00:00
Mark Crane fb4a561149 Fix extension number-alias for extensions using paging. 2014-10-21 22:57:29 +00:00
Mark Crane 7508c06034 Fix the xml handler nil error for number_alias and fix some indentation. 2014-10-21 19:30:40 +00:00
Mark Crane f79e1f0b2e Add extension number-alias support to voicemail to fix a problem when using number-alias and checking voicemail with *97. 2014-10-21 19:19:04 +00:00
Riccardo Granchi 22aae7955b Fixed audio stream absolute path in fifo member 2014-10-21 10:46:05 +00:00
Mark Crane fe4d4c64a4 disable registration for number-alias 2014-10-21 10:01:30 +00:00
Mark Crane 0265989a2d Add max tries to pin_number.lua so that if the pin number is wrong it will request the pin number again up to the maximum tries. 2014-10-21 05:48:27 +00:00
Mark Crane 024f536037 Fix a problem with DND when Follow Me hasn't been used for a particular extension. 2014-10-20 09:03:23 +00:00
Mark Crane 5ab03d30ad Allow 2 digit pins. 2014-10-17 20:39:56 +00:00
Mark Crane 759621255a Fix the xml handler nil error for number_alias. 2014-10-15 17:32:02 +00:00
Mark Crane 7d5f648f10 Fix XML handler with number_alias. 2014-10-13 20:10:14 +00:00
Mark Crane 0a1962c637 Allow making longer recordings with *732 2014-10-03 06:21:38 +00:00
Mark Crane 71c0a33143 Fix the hostname used in conference center 2014-10-03 06:19:03 +00:00
Mark Crane 0665e83aa4 Add voicemail params to the directory section of the xml handler 2014-10-03 06:17:43 +00:00
Mark Crane 9cf7ba063d Fix call forward user_exists result is a string this fixes ability to call external numbers 2014-09-23 08:01:56 +00:00
Mark Crane 7265388ca1 Fix 2 problems with call forward first fix the alias and unforward. 2014-09-23 07:45:40 +00:00
Mark Crane d15bf10ed8 Fix a problem where in rare cases dialplan was cached without global dialplans 2014-09-15 15:56:18 +00:00
Mark Crane bfcdd28e9d Prevent an empty call forward destination 2014-09-13 09:30:25 +00:00
Mark Crane 24be63aa3b Add fax_uuid to the fax_retry.lua script 2014-09-09 11:03:00 +00:00
Mark Crane ceaef7bdb2 Add domain_uuid, fax_date, fax_epoch to fax retry 2014-09-07 05:18:35 +00:00
Mark Crane a2b5cd59e1 Add ring group cid number prefix to the database and to the ring group lua script 2014-09-06 07:45:17 +00:00
Mark Crane 29d01ee57a Add Fax logging. 2014-09-04 07:12:47 +00:00
Mark Crane e33bdcd119 Fix ring group enterprise confirm 2014-08-30 18:22:06 +00:00
Mark Crane 3d131cc514 Fix a white space and a empty uuid 2014-08-29 08:33:15 +00:00
Mark Crane f5d579eb21 Ring groups remove spaces 2014-08-25 20:40:03 +00:00
Mark Crane 1380052688 Fix ring group move the domain check 2014-08-25 20:25:42 +00:00
Mark Crane 811ecd9bd8 Fix ring group skip active issue 2014-08-25 16:07:47 +00:00
Mark Crane a5643cf97b Remove the digit-map for polycom to allow it to dial any digits and add a comma in the dialstring for ring groups that was missing 2014-08-23 21:12:06 +00:00
Errol Samuels 6e3656cdfd Fixed intercept **[ext] to work better when using multiple Freeswitch servers 2014-08-23 14:03:23 +00:00
Mark Crane cba59236ee Align intercept with group interceptl 2014-08-22 07:57:47 +00:00
Mark Crane 28eb38d0ad XML Handler dialplan set dialplan to 1 hour cache timeout 2014-08-22 07:40:34 +00:00
Mark Crane ca66aa8214 Feature code call forward *72 on, *73 off, *74 request id and password toggle on/off 2014-08-22 07:36:07 +00:00
Errol Samuels 93c316dfa6 Improved group intercept to work with load balanced FusionPBX servers. 2014-08-20 21:24:05 +00:00
Mark Crane fa4260057d Move is_local to the dialplan and app/is_local/index.lua 2014-08-17 13:16:18 +00:00
Mark Crane b22eb25460 Remove the confirm default only prompt to confirm if confirm is set to true 2014-08-14 18:26:50 +00:00
Mark Crane 3f9644bef0 Add a short delay before playing the audio 2014-08-14 09:00:41 +00:00
Mark Crane 6c6cd6903e Update confirm.lua 2014-08-14 03:35:59 +00:00
Mark Crane e1b9886d87 Improve group confirm for ring groups 2014-08-14 03:06:00 +00:00
Mark Crane 26c378e263 Fix recordings per extension for ring groups 2014-08-14 01:21:55 +00:00
Mark Crane 4dfb7a824e Add ring group skip active to the lua script 2014-08-13 10:51:51 +00:00
Mark Crane 9d2b040978 Fix the spelling 2014-08-12 08:02:09 +00:00
Mark Crane f322d8a88f Very minor changes 2014-08-12 08:00:32 +00:00
Mark Crane 8781180730 When the ring group confirm is not set then do not request the confirm 2014-08-12 07:51:31 +00:00
luis daniel lucio quiroz 2b4fb544e5 some nore details about cidlookup.conf.xml 2014-08-11 17:48:46 +00:00
luis daniel lucio quiroz d9e56efc3f cidlookup lua script that allows private cnam using concact application 2014-08-09 03:25:42 +00:00
Mark Crane 14d0d5129a Change the order of the code so that domain_name is preserved for multi-tenant in additional cases. 2014-08-06 06:31:47 +00:00