<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> P, UL, OL, DL, DIR,
MENU, PRE { margin: 0 auto;}</STYLE>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY leftMargin=1 topMargin=1 rightMargin=1><FONT
face=Tahoma size=2>
<DIV>To add something to a post of a few
days ago on this:</DIV>
<DIV> </DIV>
<DIV><BR>We're just putting in an asterisk
system and wanted to have our own messages.
We're Asterisk and are not yet live but the
following works.</DIV>
<DIV><BR>Our PA simply has a list of the
extract from extensions.conf as shown below,
calls a number e.g. 8004, then hears a beep,
says the message and<BR>then clicks #. It
then plays back the message. It took her
about 2 hours to do all the messages. The
benefit of your own voice is that company
specific messages sound consistent. We've
also changed some of the prompts a little
to Anglicise them - e.g. hash instead of
pounds key.</DIV>
<DIV> </DIV>
<DIV>The messages go immediately into the
gb sounds folder so are active immediately.<BR></DIV>
<DIV>We've also done the same with digits,
letters etc - the scripts put the message
straight into the correct folder.</DIV>
<DIV> </DIV>
<DIV>The macro is intended to be enhanced
so as to allow the message to be just played
and also, in the future perhaps to use festival
to read what should be said. The message
list is taken from the asterisk wiki page
on sounds and we'd adding in a few company
specific ones.</DIV>
<DIV> </DIV>
<DIV>Send an e-mail to <A href="mailto:soundsrequest@solica.com">soundsrequest@solica.com</A>
with subject "Sounds Request for Paul" and
we'll end back the script once we have it
done. </DIV>
<DIV>The benefit of this is it is easy to
add new scripts and to amend one. The [record-messages]
context can be included just for some users
and even disabled most of the time.</DIV>
<DIV><BR>[macro-record-message]<BR>;<BR>;
ARG1 file name of message, assumed to be
in sounds folder, but if below has a subfolder
name prepended<BR>; ARG2 text describing
message (NT YET USED)<BR>;<BR>exten =>
s,1,Wait(1)<BR>exten => s,2,Record(/var/lib/asterisk/sounds/gb/${ARG1}:gsm)<BR>exten
=> s,3,Wait(1)<BR>exten => s,4,Playback(/var/lib/asterisk/sounds/gb/${ARG1})<BR>exten
=> s,5,Wait(1)<BR>exten => s,6,Hangup</DIV>
<DIV> </DIV>
<DIV>[record-messages]<BR>; Special context
used to record voicemail messages<BR>exten
=> 8001,1,Macro(record-message,hours,hours)<BR>exten
=> 8002,1,Macro(record-message,minutes,
minutes)<BR>exten => 8003,1,Macro(record-message,auth-incorrect,
Password incorrect. Please enter your password
followed by the hash key)<BR>exten =>
8004,1,Macro(record-message,auth-thankyou,
Thank you. )<BR>exten => 8005,1,Macro(record-message,invalid,
'I am sorry, that is not a valid extension.
Please try again' )<BR>exten => 8006,1,Macro(record-message,pbx-invalid,
'I am sorry, that's not a valid extension.
Please try again. ')<BR>exten => 8007,1,Macro(record-message,pbx-invalidpark,
'I am sorry, there is no call parked on that
extension. Please try again.')<BR>exten =>
8008,1,Macro(record-message,pbx-transfer,
Transfer. )</DIV>
<DIV>etc</DIV>
<DIV><BR>Paul<BR></DIV></FONT>
<DIV></DIV></BODY></HTML>