<!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>
So now that they are done how about you post the files for us? Share the wealth. Mark Paul Redstone wrote:> To add something to a post of a few days ago on this: > > > 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. > > 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 > 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. > > The messages go immediately into the gb sounds folder so are active > immediately. > We've also done the same with digits, letters etc - the scripts put the > message straight into the correct folder. > > 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. > > Send an e-mail to soundsrequest@solica.com > <mailto:soundsrequest@solica.com> with subject "Sounds Request for Paul" > and we'll end back the script once we have it done. > 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. > > [macro-record-message] > ; > ; ARG1 file name of message, assumed to be in sounds folder, but if > below has a subfolder name prepended > ; ARG2 text describing message (NT YET USED) > ; > exten => s,1,Wait(1) > exten => s,2,Record(/var/lib/asterisk/sounds/gb/${ARG1}:gsm) > exten => s,3,Wait(1) > exten => s,4,Playback(/var/lib/asterisk/sounds/gb/${ARG1}) > exten => s,5,Wait(1) > exten => s,6,Hangup > > [record-messages] > ; Special context used to record voicemail messages > exten => 8001,1,Macro(record-message,hours,hours) > exten => 8002,1,Macro(record-message,minutes, minutes) > exten => 8003,1,Macro(record-message,auth-incorrect, Password incorrect. > Please enter your password followed by the hash key) > exten => 8004,1,Macro(record-message,auth-thankyou, Thank you. ) > exten => 8005,1,Macro(record-message,invalid, 'I am sorry, that is not a > valid extension. Please try again' ) > exten => 8006,1,Macro(record-message,pbx-invalid, 'I am sorry, that's > not a valid extension. Please try again. ') > exten => 8007,1,Macro(record-message,pbx-invalidpark, 'I am sorry, there > is no call parked on that extension. Please try again.') > exten => 8008,1,Macro(record-message,pbx-transfer, Transfer. ) > etc > > Paul > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Yall' (being a southern Yankee!) should checkout the app_dictate app in the Mantis, It allows you to replay and gives you better control for something like this. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mark Phillips Sent: Wednesday, April 27, 2005 8:57 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] UK (english) sound files (Paul R) So now that they are done how about you post the files for us? Share the wealth. Mark Paul Redstone wrote:> To add something to a post of a few days ago on this: > > > 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. > > 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 messageand> then clicks #. It then plays back the message. It took her about 2hours> 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. > > The messages go immediately into the gb sounds folder so are active > immediately. > We've also done the same with digits, letters etc - the scripts putthe> message straight into the correct folder. > > 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 readwhat> should be said. The message list is taken from the asterisk wiki pageon> sounds and we'd adding in a few company specific ones. > > Send an e-mail to soundsrequest@solica.com > <mailto:soundsrequest@solica.com> with subject "Sounds Request forPaul"> and we'll end back the script once we have it done. > 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. > > [macro-record-message] > ; > ; ARG1 file name of message, assumed to be in sounds folder, but if > below has a subfolder name prepended > ; ARG2 text describing message (NT YET USED) > ; > exten => s,1,Wait(1) > exten => s,2,Record(/var/lib/asterisk/sounds/gb/${ARG1}:gsm) > exten => s,3,Wait(1) > exten => s,4,Playback(/var/lib/asterisk/sounds/gb/${ARG1}) > exten => s,5,Wait(1) > exten => s,6,Hangup > > [record-messages] > ; Special context used to record voicemail messages > exten => 8001,1,Macro(record-message,hours,hours) > exten => 8002,1,Macro(record-message,minutes, minutes) > exten => 8003,1,Macro(record-message,auth-incorrect, Passwordincorrect.> Please enter your password followed by the hash key) > exten => 8004,1,Macro(record-message,auth-thankyou, Thank you. ) > exten => 8005,1,Macro(record-message,invalid, 'I am sorry, that is nota> valid extension. Please try again' ) > exten => 8006,1,Macro(record-message,pbx-invalid, 'I am sorry, that's > not a valid extension. Please try again. ') > exten => 8007,1,Macro(record-message,pbx-invalidpark, 'I am sorry,there> is no call parked on that extension. Please try again.') > exten => 8008,1,Macro(record-message,pbx-transfer, Transfer. ) > etc > > Paul > > >------------------------------------------------------------------------> > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Paul Redstone
2005-Apr-28 00:12 UTC
[Asterisk-Users] Re: UK (english) sound files (Paul R)
>So now that they are done how about you post the files for us? Share the >>wealth. >>MarkWill be happy to do so once macro refined a little, but it is rather long (about 600 lines) and I thought long posts were bad manners. Otherwise this will be odne by the end of the weekend/ Paul