4.3.133
Changes for 4.3.133
Changes to branch 4.3
after version 4.3.132
.
Commits
-
PISTON-1170: Sets prepend_on_forward media content_type correctly. - by Roger Neate
The
kzm_message:forward_message/4
function branches, depending on whether the user has recorded an additional message to be prepended to the voicemail message being forwarded. Prepending the additional message requires the two media files to be merged into a temporary file. This is then written to the database as an attachment.Prior to this fix, the code assumed that the merged media file has an
mp3
format, which is not necessarily true. In addition, it did not pass any content-type option to thekz_datamgr:put_attachment/5
function which actually writes the attachment. As a result, the attachment metadata in the database always indicated a content-type ofapplication/octet-stream
.Calls to
kz_media_util:join_media_files/2
now ensure that the merged output format is specified explicitly, rather than relying on default behaviour. The same format is also mapped to the corresponding MIME type which is passed tokz_datamgr:put_attachment/5
to ensure the attachment metadata is correct. -
fix kapi decode_pid - by lazedo
-
PISTON-1163: Refactors cf_acdc_agent status update logic. - by Roger Neate
Voxter has introduced an additional
end_wrapup
action that requirescf_acdc_agent
changes. The existing logic seems somewhat harder to follow than necessary; in inconsistent in various ways; and seems to still include obsolete code. These changes only refactor the status update logic to give the code a more consistent structure and simplify future changes. Other than making log messages more consistent, these changes should have no functionally observable effect. -
add wav support and remove unnecessary code - by Taran Romana
Added wav supported and removed unnecessary code which was creating confusion, we already have the preferred audio codec not sure why we are looking for it again.
-
backport e911 crash fix - by Taran Romana
-
function. - by Ben Bradford
I had a issue where make code checks would change the line
-spec text(doc()) -> kz_term:api_ne_binary().
To
-spec kz_term:text(doc()) -> kz_term:api_ne_binary().
Kazoo 5pr 2600hz/kazoo5#39