Alexey Melnichuk
82301775c3
Fix. Build correct SQL in vm/menu_messages.lua ( close #2189 ) ( #2195 )
2016-11-25 23:03:19 -07:00
Alexey Melnichuk
c28fbf9c6a
Fix. Close database object in vm/forward_to_extension.lua ( #2196 )
2016-11-25 23:01:43 -07:00
Alexey Melnichuk
21b63b086b
Fix. Store message_intro_base64 in database. ( #2197 )
2016-11-25 23:01:18 -07:00
Alexey Melnichuk
b16dbcc125
Fix some minor typos related with new Database class. ( #2174 )
2016-11-24 10:04:42 -07:00
Chris Black
ca456d6b10
Couple firmware URL fixes ( #2106 )
...
* Couple firmware URL fixes
* Add handset OTA upgrade to W52p
* Remove profanity from returned results.
2016-11-23 23:21:35 -07:00
Alexey Melnichuk
c43f71c177
Add. Use params in vm/change_password.lua ( #2156 )
2016-11-23 02:01:50 -07:00
FusionPBX
eafabdb2ca
Update index.lua
...
Get the sip_from_user and sip_number_alias from the session.
2016-11-23 01:20:00 -07:00
Alexey Melnichuk
58b2dae615
Add. Use params in vm/record_menu.lua ( #2130 )
2016-11-22 11:22:41 -07:00
Alexey Melnichuk
4097d449f8
Add. Use params in vm/message_waiting.lua ( #2132 )
2016-11-22 11:19:38 -07:00
Alexey Melnichuk
6ac04e29cd
Add. Use params in vm/message_saved.lua ( #2133 )
2016-11-22 11:19:04 -07:00
Alexey Melnichuk
af88889983
Add. Use params in vm/message_count.lua ( #2134 )
...
* Add. Use params in vm/message_count.lua
* Update message_count.lua
Change spelling prams to params.
2016-11-22 11:18:38 -07:00
Alexey Melnichuk
b8537b2f35
Add. Use params in vm/menu_messages.lua ( #2135 )
2016-11-22 11:15:40 -07:00
Alexey Melnichuk
26e3c5b0fb
Add. Use params in vm/main_menu.lua ( #2136 )
2016-11-22 11:14:28 -07:00
Alexey Melnichuk
adc852563d
Add. Use params in vm/listen_to_recording.lua ( #2137 )
2016-11-22 11:14:04 -07:00
Alexey Melnichuk
3ef2f69a3e
Add. Use params in vm/forward_to_extension.lua ( #2138 )
2016-11-22 11:13:40 -07:00
Alexey Melnichuk
38dc420655
Add. Use params in vm/delete_recording.lua ( #2139 )
2016-11-22 11:13:19 -07:00
Alexey Melnichuk
a7d54f03fe
Add. Use params in vm/choose_greeting.lua ( #2140 )
2016-11-22 11:13:03 -07:00
Alexey Melnichuk
79dd1faaea
Add. Use params in vm/check_password.lua ( #2141 )
2016-11-22 11:12:50 -07:00
Alexey Melnichuk
ad542a5db5
Add. Use params in vm/mwi_subscribe.lua ( #2143 )
2016-11-22 11:12:37 -07:00
Alexey Melnichuk
09bdea108f
Add. Use params in vm/play_greeting.lua ( #2131 )
2016-11-22 11:12:10 -07:00
Alexey Melnichuk
86bdf059e0
Add. Use params in vm/record_message.lua ( #2129 )
2016-11-22 11:11:55 -07:00
Alexey Melnichuk
bf4922387b
Add. Use params in vm/record_name.lua ( #2128 )
2016-11-22 11:11:36 -07:00
Alexey Melnichuk
6e5239e1f9
Add. Use params in voicemail/index.lua ( #2147 )
2016-11-22 11:08:26 -07:00
Alexey Melnichuk
eec5c353a7
Add. Use params in vm/send_email.lua ( #2127 )
2016-11-22 09:54:58 -07:00
SJS87
018588fa8d
Update index.lua for E-164 Caller ID ( #2047 )
...
When saving Caller ID numbers which are in E-164 format these may include a '/' prefix used to escape '+'. This causes the '/' to be saved with the number which prevents the call from being returned.
The above fixes the issue by removing '/' prefix from the start of the Caller ID number before saving the voicemail message.
2016-11-11 10:48:21 -06:00
FusionPBX
88aab774b3
Update index.lua
...
Improve security for voicemail_authorized = true;
2016-11-06 01:01:55 -06:00
Chris Black
25b0479c68
Changes to API per issue 2036 ( #2038 )
...
https://github.com/fusionpbx/fusionpbx/issues/2036
2016-11-04 11:18:02 -06:00
Chris Black
e7fae7587e
add built in ability for microsoft bing speech to text ( #1960 )
...
* add built in ability for microsoft bing speech to text
* move json.lua to lower case and more error checking in record_message
* Replaced Creative Commons json.lua with lunajson.lua which is MIT license
https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00
FusionPBX
75eecb9dd9
Update message_waiting.lua
2016-10-30 12:15:25 -06:00
FusionPBX
cd6481ed1a
Update macro.lua
2016-10-08 09:52:21 -06:00
Chris Black
2a26a3b590
one more spot to add playandgetdigits ( #1942 )
2016-09-25 01:43:20 -06:00
FusionPBX
72beb086cb
Update macro.lua
2016-09-20 10:56:34 -06:00
FusionPBX
1a61142007
Update macro.lua
2016-09-20 10:27:47 -06:00
FusionPBX
cc8ef0cc2f
Update index.lua
2016-09-20 10:22:05 -06:00
jebsolutions
513e22a766
Update macro.lua to fix reading voicemail extension number ( #1929 )
...
Expected result: The person at extension XXX is unavailable ...
Actual result: The person at is unavailable...
i.e. it doesn't say the extension number.
bug: trying to access local variable voicemail_greet_id outside it's scope...so it doesn't exist and you get this in the logs:
2016-09-18 12:32:54.615249 [ERR] switch_cpp.cpp:977 Error! invalid args.
Fix moves local variable creation outside the inner "if" so it's available for the later table.insert
2016-09-18 14:02:25 -06:00
FusionPBX
db38b8dba3
Update macro.lua
2016-09-17 18:20:58 -06:00
Chris Black
1a9f7737e9
fix the voicemail IVR with custom greeting ( #1917 )
2016-09-14 15:28:04 -06:00
Alexey Melnichuk
28d3ebb51f
Allow use odbc to store files (record/voicemail) in database. ( #1535 )
...
* Change. Allow use odbc to store files (record/voicemail) in database.
* Fix. Generate correct default config.
2016-09-04 13:05:47 -06:00
FusionPBX
b90ea47471
Update forward_add_intro.lua
2016-09-03 21:15:07 -06:00
FusionPBX
56b34a1c97
Update delete_recording.lua
2016-09-03 15:40:27 -06:00
FusionPBX
b8b39a880e
Update delete_recording.lua
...
Remove the into_<uuid> voicemail file.
2016-09-03 15:40:11 -06:00
FusionPBX
29e3cc1b86
Update listen_to_recording.lua
...
Play the voicemail introduction if it exists.
2016-09-03 15:39:13 -06:00
FusionPBX
919783d4da
Update forward_add_intro.lua
2016-09-03 15:27:41 -06:00
FusionPBX
75395be626
Update forward_add_intro.lua
...
Use phrase:voicemail_forward_prepend and record the intro. Use the following naming convention for the intro_<uuid>.wav.
2016-09-03 15:18:53 -06:00
FusionPBX
8928570b55
Update index.lua
2016-09-01 14:38:56 -06:00
FusionPBX
260e056e6c
Update forward_add_intro.lua
2016-09-01 14:37:30 -06:00
FusionPBX
cfdee5aa81
Update mwi.lua
2016-09-01 14:25:51 -06:00
FusionPBX
6c8bae55f2
Update forward_to_extension.lua
2016-09-01 13:33:41 -06:00
FusionPBX
ed5a422083
Update forward_add_intro.lua
2016-09-01 13:31:55 -06:00
FusionPBX
034b325b38
Update record_message.lua
2016-08-20 18:54:02 -06:00
FusionPBX
29050e29f3
Create forward_add_intro.lua
2016-08-10 16:10:22 -06:00
Alexey Melnichuk
868c7dd153
Change. Use `service::control` event to control services ( #1790 )
...
* Change. Use `service::control` event to control services
This is more FS way. E.g. sofia sends `sofia::register` event
and add all information to headers. So now `service` script
emit `fusion::service::control` event and each service responsible
for test its own name. This also allows add in future evnets to
e.g. monitor service status like `fusion::service::satus` so it
will be possible write service which will be restart services.
* Change. rename service name from `flow` to `call_flow`
2016-08-02 14:00:49 -06:00
FusionPBX
c87e0f6f05
Update macro.lua
...
Add forward_add_intro to macro.lua.
2016-07-29 09:46:56 -06:00
Alexey Melnichuk
d47151ba8d
Add `service` script and make timout optional for EventConsumer ctor ( #1775 )
...
* Change. Pass pid file first. Because there really no need pass timeout.
Add. `fsc` script to be able shutdown MWI and Call Flow subscribe services.
* Change. rename `fsc` to `service`.
* Change. Use `stop` command instead of `shutdown`
2016-07-26 11:58:37 -06:00
Mafoo
4ed30bfe53
Enhance Voicemail Emails ( #1738 )
...
* Renamed template variable account to voicemail_id and adjusted all
templates
* Added ${voicemail_description}
* Added ${voicemail_name_formatted} (will render the voicemail identifier in accordance with Default/Domain Settings > Voicemail > display_domain_name)
* Updated templates to be consistent spacing
* Updated templates to include use of ${voicemail_name_formatted}
* Changed ${account} to be voicemail_name_formatted instead of id
2016-07-22 09:23:03 -06:00
pixel2920
e1feb2364d
Add silence_stream to default voicemail message ( #1761 )
...
This corrects the issue in #1760 , where the default voicemail message was not being played and instead skipped directly to recording (start recording tone).
2016-07-18 22:55:41 -06:00
FusionPBX
3bf7b917d4
Update play_greeting.lua
...
Voicemail greeting will not play after being transferred from IVR #1749 . Replace session:streamFile( with session:execute("playback", fixes this problem.
2016-07-15 08:43:53 -06:00
Mafoo
904a52434a
BugFix-Add PROJECT_PATH for lua ( #1740 )
...
added project_path for lua to use where it needs to build urls
2016-07-08 13:12:37 -06:00
Alexey Melnichuk
cae644c8a1
Add. EventConsumer class. ( #1741 )
...
Rewrite MWI and CallFlow subscribe handlers based on EventConsumer class.
Also on my test VirtualBox/Debian system Lua function `os.clock` produce
very strange result(delta ~0.015 for 1 second) so I switch to `os.time`.
Now to to stop this background Lua scripts it possible send CUSTOM event
with subclass `fusion::XXX::shutdown`. Where XXX is `mwi` or `flow`.
Usage of EventConsumer class
```Lua
-- create new object with timeout one minute
local events = EventConsumer.new(60000)
-- bind to some FS event
events:bind("SHUTDOW", function(self, name, event) ... end)
-- bind to another FS event with subclass
events:bind("CUSTOM::fusion::mwi::shutdown", function(self, name, event) ... end)
-- handle timeout event
events:on("TIMEOUT", function(self, name) ... end)
--run event loop
events:run()
```
2016-07-08 13:10:43 -06:00
Alexey Melnichuk
3d1f5b6866
Add. Support multiple events. ( #1736 )
...
Now subscriber stops and remove pid files when FS shutdown.
So if you use Status->Services you will see correct status.
2016-07-06 12:37:16 -06:00
Alexey Melnichuk
b7506b5b18
Fix. Send message count in each MWI notify. ( #1728 )
...
* move send event code to separate function
* move get message count to separate function
2016-07-01 10:08:55 -06:00
Alexey Melnichuk
8a72e2afd8
Add. Event handler to support MWI. ( #1720 )
...
* Add. Event handler to support MWI.
* Fix. store cache only when get data from memcache
* Change. Use UUID as PID.
2016-06-30 09:55:37 -06:00
Alexey Melnichuk
a4dfa0c04d
Fix. Set default values for max length settings ( #1706 )
2016-06-26 11:42:33 -06:00
Alexey Melnichuk
7a9a4bc3da
Fix. Load required libraries in voicemail. ( #1705 )
2016-06-26 09:03:21 -06:00
Mafoo
628c825201
Enhance-make voicemail length configurable ( #1702 )
...
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
markjcrane
6d6a3a3574
Increase the voicemail greeting length that is allowed to 90 seconds.
2016-06-21 18:35:05 -06:00
mafoo
0eb7d5ddac
WhitespaceClean-resources/install/scripts
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
markjcrane
58bbf9ae7b
Remove trailing whitespaces.
2016-02-03 19:03:16 -07:00
markjcrane
986784e3fa
Base64 - Make sure the directory structure exists.
2016-02-03 10:01:43 -07:00
markjcrane
d3e89f0540
Change the comment in check_password.lua.
2016-01-22 12:24:18 -07:00
Alexey Melnichuk
da1aa87b9e
Fix. Do not prompt password if there no mailbox.
2016-01-22 11:37:34 +03:00
FusionPBX
f062ddf289
Revert "cherry picked changes from 4.0 branch"
2016-01-04 13:13:48 -07:00
Matthew Vale
7c74d5cf48
cherry picked changes from 4.0 branch
2015-12-31 10:11:31 +00:00
Alexey Melnichuk
fedd5ba9fc
Add. Text class to manage translate texts.
2015-11-30 10:22:55 +03:00
Alexey Melnichuk
406e95ab29
Add. `send_mail` wrapper function to freeswitch.email and v_mailto.php.
...
Fix. Send voicemail when set unknown language/dialect.
2015-11-27 15:47:14 +03:00
markjcrane
9761699ae7
Add voicemail record-silence-threshold variable and change the default threshold from 30 to 300.
2015-11-16 16:59:11 -07:00
markjcrane
e701b5a1b3
MWI only turn on the light for new messages.
2015-10-29 17:34:39 -06:00
markjcrane
51087791e6
Play the message number first then the caller id number.
2015-10-24 21:12:43 -06:00
markjcrane
cdd4cb5ccd
Add vm_say_caller_id_number option for true or false.
2015-10-24 21:00:22 -06:00
markjcrane
09e645ac2b
Add voicemail caller id number announce as iterated.
2015-10-24 20:09:36 -06:00
markjcrane
d850ac2e37
Listen for dtmf key presses when voicemail message is played.
2015-10-14 16:03:33 -07:00
markjcrane
ef3b08b081
Fix sip_to_user and dialed_user for voicemail.
2015-10-02 17:46:39 -06:00
FusionPBX
9617b9d6cf
Merge pull request #1171 from rdissauer/fix/suppress-debug-messages
...
Fix. suppress debug messages
2015-09-24 15:19:20 -06:00
roman.dissauer
29ec9f7d18
forgot commenting out end
2015-09-24 09:29:57 +02:00
roman.dissauer
c5036298b8
do not display voicemail sql debug messages
2015-09-24 09:29:57 +02:00
markjcrane
5f7565b07c
Email template add indentation to make it more readable.
2015-09-11 16:18:40 -06:00
roman.dissauer
3864e64198
added german voicemail templates and modified language file
2015-08-31 12:52:15 +02:00
Alexey Melnichuk
69717e31d5
Revert "Revert "Change. Use `require "resources.functions.config"` to load co…"
2015-08-11 05:06:33 +03:00
FusionPBX
d1f3b05cf6
Revert "Change. Use `require "resources.functions.config"` to load config file."
2015-08-10 11:50:29 -06:00
FusionPBX
8d9430352b
Merge pull request #1053 from moteus/require_config
...
Change. Use `require "resources.functions.config"` to load config file.
2015-08-10 11:31:35 -06:00
Alexey Melnichuk
a8142f527a
Change. Use only `require` to load function.
...
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk
59c1fbe2ef
Fix. Always use `/` separator on FS command.
...
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk
2234b42c07
Change. Use `require "resources.functions.config"` to load config file.
...
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
markjcrane
d283075d64
Voicemail to email send the email in the send_email.lua rather than with email.lua. So that the delete doesn't occur until after email is sent.
2015-07-20 11:40:31 -06:00
FusionPBX
4b7604e4a4
Merge pull request #1037 from moteus/copy_voice_mail
...
Fix. Use OS specific copy function.
2015-07-18 12:55:05 -07:00
Alexey Melnichuk
3796a66df8
Change. Use predefined phrases in vm menu.
...
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk
8f554cf889
Fix. Use OS specific copy function.
2015-07-13 10:44:47 +04:00
markjcrane
b6d95174b0
Play voicemail messages with the newest messages first.
2015-07-08 15:46:34 -03:00
Mark Crane
42357f443e
When leaving a voicemail use the message_waiting function.
2015-06-11 06:31:10 +00:00
Mark Crane
5dad058dc8
Use the mwi_account under accounts -> extensions to allow sending MWI to multiple extensions.
2015-06-11 06:30:21 +00:00