[Spce-user] network.yml editing question
Alex Lutay
alutay at sipwise.com
Fri May 10 07:06:09 EDT 2019
Hi,
Can you please try this way:
> root at spce:~# vim /etc/ngcp-config/config.yml
> root at spce:~# ngcpcfg check
> 2019-05-10 13:03:04 spce: yml configs were validated successfully
> 2019-05-10 13:03:04 spce: configs were checked successfully
> root at spce:~# ngcpcfg diff
> diff --git a/config.yml b/config.yml
> index eca78c9..f3661a6 100644
> --- a/config.yml
> +++ b/config.yml
> @@ -40,8 +40,10 @@ asterisk:
> unavail_custom_greeting: /home/user/file_no_extension
> unavail_overwrite_default: no
> unavail_overwrite_subscriber: no
> - mailbody: You have received a new message from ${VM_CALLERID} in voicebox ${VM_MAILBOX}
> - on ${VM_DATE}.
> + mailbody: |
> + You have received a new message from ${VM_CALLERID} in voicebox ${VM_MAILBOX} on ${VM_DATE}.
> + line 2
> + line 3
> mailsubject: '[Voicebox] New message ${VM_MSGNUM} in voicebox ${VM_MAILBOX}'
> max_msg_length: '180'
> maxgreet: '60'
> root at spce:~# cat /etc/sipwise_ngcp_version
> System installed. NGCP version mr7.3.1 on 2019-05-10 01:18:20
> System configured. NGCP version mr7.3.1 on 2019-05-10 01:31:08
> root at spce:~#
P.S. pay attention on pipe in "mailbody: |"!
Have fun!
On 5/9/19 9:44 PM, William Fulton wrote:
> I am trying to customize the voicemail email body, but I am running in
> to issues with using carriage returns in the network.yml file. It
> doesn’t access <cr> or /r/n. Is there another thing I can use to make
> this do a carriage return? Additionally, if it is possible to make it
> add an indent that would be useful as well.
--
Alex Lutay
More information about the Spce-user
mailing list