G4USP

Page last updated: 07/08/2014

Changes to TclVoiceMail.conf

As superuser whilst logged in as pi@raspberrypi
From command line in the following directory /etc/svxlink then using the following command

  sudo nano TclVoiceMail.conf amend the existing script as per the listing below...

   

NOTE: the listing below, highlighted text indicates what is to be amended in the existing script...

###############################
# #
# TclVoiceMail configuration #
# #
###############################

#
# The user list.
# Format: set users(userid) "call=callsign pass=password email=mail_address";
# userid - A three digit code that identifies the user
# callsign - The callsign of the user
# password - The users password. One to seven digits.
# email - The e-mail address to send a text message to when a new voice
# mail have arrived. This is optional.
#
set users(001) "call=G4USP pass=1234 [email protected]";
set users(002) "call=M3EBK pass=1234";
set users(003) "call=M3EFJ pass=1234";

#
# The directory where the voice mails are stored
#
set recdir "/var/spool/svxlink/voice_mail";

#
# Maximum recording times in milliseconds
#
set max_subj_time 10000
set max_mesg_time 120000


#
# These settings are used when sending e-mail to users when a new voice mail
# has been recorded for that user.
# mail_from_addr - The used from-address
# mail_from_name - The displayed name of the sender
# mai_subj - The subject of the message
# mail_msg - The message body
#
set mail_from_addr "[email protected]";
set mail_from_name "SvxLink Voice Mail";
set mail_subj "SvxLink: New voice mail received";
set mail_msg {Hi!

You have received a new voice mail at SvxLink node $Logic::CFG_CALLSIGN
from [id2var $userid call].

To listen to your voice mail, follow these steps:

1. Activate the voice mail module using DTMF $CFG_ID#
2. Login by using DTMF $rec_rcpt[id2var $rec_rcpt pass]#
3. Listen to your message using 1#

73 de MYCALL / MyName};

#
# This file has not been truncated
#

 

HOME