419 Commits

Author SHA1 Message Date
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 b9a858317881315c52cd33c61d90b1e6c75156bd.
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
Brian West
40aeedcbe4 url_decode the cid_name when you vm_cc 2013-10-11 17:20:46 -05:00
Anthony Minessale
1d992ea9ea FS-5797 --resolve 2013-09-17 13:34:56 -05:00
Brian West
53307c8f35 regression from FS-5614 on forward 2013-09-09 13:38:25 -05:00
Anthony Minessale
7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00
Ken Rice
cae7d029ab FS-5694 --resolve 2013-08-14 09:09:22 -05:00
Brian West
612c81c13d You can't prefix this one with MWI as it ends up in the body of the MWI notify causing some devices to have a heart attack 2013-07-23 17:23:04 -05:00
Anthony Minessale
ce80ddc93a FS-5614 --resolve 2013-07-19 13:41:56 -05:00
Michael S Collins
e21c57b099 BNPH-5393: --resolve add vars to affect mod_voicemail behavior: skip_record_check and skip_record_urgent_check 2013-07-08 13:45:27 -07:00
Brian West
384cf3381c use the correct repeat key to replay messages 2013-06-26 15:17:56 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Travis Cross
505815c902 Avoid crashing FS after delivering a VM
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.

FS-5329
2013-06-03 09:29:51 +00:00
Anthony Minessale
3438337a16 FS-5329 --resolve 2013-04-23 10:27:40 -05:00
Kristin King
14f77e1b9a FS-5249: --resolve add message sort ordering. 2013-04-17 15:09:39 -07:00
Anthony Minessale
1ac0654f23 FS-5281 --resolve 2013-04-08 11:53:53 -05:00
Jeff Lenk
5406fb8a11 FS-5185 --resolve 2013-03-22 08:40:45 -05:00
Anthony Minessale
424738e9c5 FS-5184 --resolve never too much logging 2013-03-15 09:40:01 -05:00
Anthony Minessale
5655320dae FS-5087 --resolve 2013-03-11 09:33:08 -05:00
Michael Jerris
3e4fb4b0a2 check for vm caller id info later so if its transfered it gets the updated details 2013-03-06 13:23:28 -05:00
Brian West
090cdaa9d3 sigh 2013-02-12 17:03:06 -06:00
Marc Olivier Chouinard
b594503c04 mod_voicemail: add extra param inside the MWI event to know if it was fired because of a new message, or other reason 2013-01-30 14:58:35 -05:00
Brian West
ccad34f0b5 sigh, wip cisco mwi issue 2013-01-29 14:45:43 -06:00
Marc Olivier Chouinard
165ffb9f8f FS-5025 Added user/group/domain merge of param/var before calling vm delivery allowing to have variable or param value set at the domain or group level 2013-01-24 16:41:29 -05:00
Michael Jerris
92cdd30458 not implemented so lets not break compile 2013-01-24 09:59:09 -05:00
Marc Olivier Chouinard
5542d040a2 mod_voicemail: Add new vm_fsdb_pref_greeting_get
mod_voicemail_ivr: Added the new param for API vm_fsdb_pref_greeting_get WARNING, you must add it to the config or else module will complain of missing value... With the new API, it will now playback the greeting when setting it.  Will need to figure out a better way to deal with api being added in the future...  Add support to auto start new message playback and made it default in the config file.
mod_voicemail_ivr phrases : make value = 0 as plural (0 messages).  Don't tell the option for new message if no new message present.  Changes a few default key to match more closely mod_voicemail key settings.
2013-01-24 00:04:34 -05:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00