Commit Graph

444 Commits

Author SHA1 Message Date
Chris Rienzo 1a90bc20a9 FS-11785 [mod_voicemail] fix a couple other places- unused code 2019-07-17 21:50:14 +04:00
Chris Rienzo ddfa208177 FS-11785 [mod_voicemail] removed dead assignments and dead code 2019-07-17 21:49:29 +04:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
Emmanuel Schmidbauer df4490a7df FS-9148: add new voicemail.conf.xml param `send-full-vm-header` 2016-05-12 15:44:39 -04:00
Michael Jerris 8a4ad0da03 Revert "FS-9148: add new voicemail.conf.xml param `send-full-vm-header`"
This reverts commit 98cb363f18.

This commit does not compile
2016-05-12 15:05:56 -04:00
Emmanuel Schmidbauer 98cb363f18 FS-9148: add new voicemail.conf.xml param `send-full-vm-header`
- if enabled, `Voice-Message` header sends urgent new and urgent saved
2016-05-12 14:14:10 -04:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Joshua Gigg c50d87a09c FS-8311 [mod_voicemail] Pass session to deliver_vm
Allows the leave-message event to add the verbose data

FS-8311 #resolve
2015-10-07 18:54:51 +01:00
Anthony Minessale d56c716c3f FS-1772 build err 2015-09-09 13:54:03 -05:00
Mike Jerris edbffd3462 Merge pull request #468 in FS/freeswitch from ~NCOPA/freeswitch:bugfix/FS-1772-need-a-way-for-individual-end-users to master
* commit '367dabcb55f48a3db1b02c0364e2352993eaa581':
  FS-1772 #resolve fix reset of voicemail greeting to default
2015-09-09 12:57:22 -05:00
Natanael Copa 7aba5d52ee FS-8131: [mod_voicemail] fix disallowed empty password set
Prevent users to change password to an empty password when
allow-empty-password-auth is set to true.
2015-09-07 16:33:44 +02:00
Natanael Copa 367dabcb55 FS-1772 #resolve fix reset of voicemail greeting to default
Allow entering 0 to restore the default greeting.
2015-09-04 16:22:20 +02:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris 288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Michael Jerris e1aa9b11ca FS-8056: [mod_voicemail] fix segfault on vm_inject, regression from FS-7968 2015-08-26 17:06:28 -05:00
Joshua Gigg 1e27e9f5e7 FS-7968: [mod_voicemail] fix verbose events
- Fix record-name event missing VM-Name-Path
 - Fix verbose events for mod_voicemail 'folder-summary'
 - Send change-password event in mod_voicemail
 - Fix verbose events for mod_voicemail 'leave-message'
2015-08-24 18:12:17 +01:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Anthony Minessale 45bc79af78 FS-7985 #resolve [mod_voicemail fails to compile on 32-bit PPC platform] 2015-08-18 16:11:14 -05:00
Joshua Gigg 5802ba71ac Fix record-greeting event missing VM-Greeting-Path
FS-7975 #resolve
2015-08-18 09:14:14 +01:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk 345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris 2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Brian West a41505f66b FS-7313 #resolve any further issues in this code it will just be removed 2015-02-23 16:38:20 -06:00
Brian West 17585e831a FS-7307 #resolve dont session log in an api command as there is no session 2015-02-23 09:48:08 -06:00
E. Schmidbauer 01dcb74f33 FS-7187 add switch_cache_db_create_schema() to test for SCF_AUTO_SCHEMAS flag 2015-01-22 15:41:22 -05:00
Michael Jerris 1b0bdaf85e CID:1214212 Resource leak in voicemail_list 2014-05-15 14:11:39 +00:00
Michael Jerris 3e18f08796 clean up coverity warnings and improve error checking 2014-05-12 09:08:52 -04:00
Anthony Minessale 7f18b80e60 FS-6503 --resolve remove unused code 2014-05-02 01:28:12 +05:00
Michael Jerris b0fd845786 remove dead assignment 2014-05-01 14:04:56 -04:00
Travis Cross 39f960a212 Avoid leaking memory on mod_voicemail unload 2014-04-12 06:48:36 +00:00
Travis Cross 1e273e514d Avoid playback on dead channels in voicemail
For years we've been generating spurious messages like:

  [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns

This would happen when the caller hangs up during the playback of
certain prompts in the voicemail system where we weren't checking the
return value of vm_macro_get().  Looking closely at the log, it's
clear we were calling down into switch_ivr_phrase_macro() long after
the channel was gone.

The message above is also misleading -- switch_ivr_phrase_macro()
would have been able to find that pattern just fine, but it never
actually looked because the channel was gone.  We'll clean up that
message in a follow on commit.
2014-04-09 04:46:47 +00:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Marc Olivier Chouinard c7f138557a FS-5543 --resolve 2014-02-24 19:07:32 -05:00
Brian West e2d7bb417b FS-5799 extra channel variables when leaving a message 2014-02-24 03:57:27 -06:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Travis Cross 4efb258678 Fix copy/paste error
This amends commit b9a8583178.
2014-02-12 11:43:26 +00:00
Travis Cross a6c90763ec Add voicemail parameter storage-dir-shared
If this is set to true (default false) we assume the storage-dir is
shared, organized by realm/domain, with uses other than voicemail, so
we adopt a directory structure of:

  <storage_dir>/<realm>/voicemail/<id>
2014-02-11 17:40:58 +00:00
Travis Cross b9a8583178 Add vm-domain-storage-dir param
This replaces the semantics of the storage-dir parameter without the
deprecation notice.  The behavior of storage-dir never should have
been deprecated, though it was probably correct to deprecate the name
itself.

Rather than having both vm-storage-dir and vm-domain-storage-dir it
might be nice if the config system could just notice at what level it
was defined and do the right thing.  Indeed, this is why I'd left
things as-is for so long.

But as Master Foo famously said, "which one will reach the other side
of the river: the one who dreams of a raft, or the one that hitchhikes
to the next bridge?"

FS-5329
2014-02-11 15:50:50 +00:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Anthony Minessale fadad7995c fix crash in mod_voicemail when trying to forward to another extension in some cases 2014-01-22 22:55:09 +05:00
Anthony Minessale 1a2942cd60 FS-6032 2013-12-10 01:02:24 +05:00
Anthony Minessale 726b607667 FS-5841 --resolve 2013-11-22 22:52:59 +05:00
Ken Rice 37d566c6f6 FS-5943 --resolve 2013-11-13 11:23:25 -06:00
Brian West 4108193d42 doh, use the decoded value 2013-10-11 17:23:47 -05:00