Skip to content

Commit

Permalink
HELP-15378: Add voicemail.vmbox_name macro to voicemail to email temp…
Browse files Browse the repository at this point in the history
…late (#6594)

* HELP-15378: Add voicemail.vmbox_name macro to voicemail to email template

* HELP-15378: Move voicemail macros to header file

* HELP-15378: Fix failing ci checks

* HELP-15378: revert previous commit

* HELP-15378: List missing macros for teletype_voicemail_to_email template

* HELP-15378: Make tests output more readable

* HELP-15378: remove tests
  • Loading branch information
harenson authored Sep 2, 2020
1 parent a1f859b commit 2bfbf8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion applications/teletype/src/teletype.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@
,?MACRO_VALUE(<<"error.fax_info">>, <<"error_fax_info">>, <<"Fax Processor Error">>, <<"Fax Processor Error">>)
]).


-define(DEFAULT_CALL_MACROS
,[?MACRO_VALUE(<<"call_id">>, <<"call_id">>, <<"Call ID">>, <<"Call ID of the caller">>)
| ?CALLER_ID_MACROS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ id() ->
macros() ->
kz_json:from_list(
[?MACRO_VALUE(<<"voicemail.vmbox_id">>, <<"voicemail_vmbox_id">>, <<"Voicemail Box Id">>, <<"Which voicemail box was the message left in">>)
,?MACRO_VALUE(<<"voicemail.vmbox_name">>, <<"voicemail_vmbox_name">>, <<"Voicemail Box Name">>, <<"Name of the voicemail box were the message was left in">>)
,?MACRO_VALUE(<<"voicemail.vmbox_number">>, <<"voicemail_vmbox_number">>, <<"Voicemail Box Number">>, <<"Number of the voicemail box were the message was left in">>)
,?MACRO_VALUE(<<"voicemail.vmbox_include_message_on_notify">>, <<"voicemail_vmbox_include_message_on_notify">>, <<"Voicemail Box Include Message On Notify">>, <<"Whether or not to include the attachment when sending a new voicemail to email notification">>)
,?MACRO_VALUE(<<"voicemail.msg_id">>, <<"voicemail_msg_id">>, <<"Voicemail Message ID">>, <<"Message Id of the voicemail">>)
,?MACRO_VALUE(<<"voicemail.transcription">>, <<"voicemail_transcription">>, <<"Voicemail Message Transcription">>, <<"Voicemail Message Transcription">>)
,?MACRO_VALUE(<<"voicemail.length">>, <<"voicemail_length">>, <<"Voicemail Length">>, <<"Length of the voicemail file (formatted in HH:MM:SS)">>)
Expand Down

0 comments on commit 2bfbf8b

Please sign in to comment.