UKVoIPTalk.com

UKVoIPTalk.com

The UK's Number One VoIP Resource

 

"Good Morning / Good afternoon" in Asterisk

This is a discussion on "Good Morning / Good afternoon" in Asterisk within the uk.telecom.voip forums, part of the Newsgroup Forums category; On Mar 26, 4:09 pm, Desk Rabbit <nos...@example.com> wrote:[color=blue] > Matt wrote:[color=...


Go Back   UKVoIPTalk.com > Newsgroup Forums > uk.telecom.voip

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 26-03-2007, 16:10
Matt
Guest
 
Posts: n/a
Default Re: "Good Morning / Good afternoon" in Asterisk

On Mar 26, 4:09 pm, Desk Rabbit <nos...@example.com> wrote:[color=blue]
> Matt wrote:[color=green]
> > On Mar 26, 2:47 pm, "Matt" <matthew.humphr...@gmail.com> wrote:[color=darkred]
> >> On Mar 26, 2:27 pm, gor...@drogon.net (Gordon Henderson) wrote:[/color][/color]
>[color=green][color=darkred]
> >>> In article <JpidnevNj4DjVZrbnZ2dneKdnZzin...@pipex.net>,
> >>> Desk Rabbit <nos...@example.com> wrote:
> >>>> Matt wrote:
> >>>>> Hi,
> >>>>> I'd like to be able to record a "Good Morning", "Good Afternoon" and
> >>>>> "Good Evening" greeting to play to callers on the asterisk pbx?
> >>>>> Is this easy? Has anyone achieved this?
> >>>>> Can someone point to some suitable information?
> >>>>> Many thanks
> >>>>> Matthew
> >>>> Hmm.. lets try Google with the search recording sounds for asterisk
> >>>> Oh look! First hit![url]http://www.voip-info.org/wiki/view/Asterisk+sound+files[/url]
> >>> I'm suspecting the OP actually wanted to playback those files based on
> >>> the time of day rather than the mechanics of recording them... If this
> >>> is the case, lookup the GotoIfTime application:
> >>> dsx*CLI> show application GotoIfTime
> >>> -= Info about application 'GotoIfTime' =-
> >>> [Synopsis]
> >>> Conditional Goto based on the current time
> >>> [Description]
> >>> GotoIfTime(<times>|<weekdays>|<mdays>|<months>?[[context|]exten|]priority):
> >>> This application will set the context, extension, and priority in
> >>> the channel structure if the current time matches the given time
> >>> specification. Otherwise, nothing is done. Further information on
> >>> the time specification can be found in examples illustrating how to do
> >>> time-based context includes in the dialplan. If the target jump location
> >>> is bogus, Asterisk will respond as outlined in Goto.
> >>> See also page 105 of the Asterisk - The Future of Telephony book. (Free
> >>> to download now, just google for it)
> >>> Gordon
> >> Thanks Gordon, you got it right![/color][/color]
>[color=green][color=darkred]
> >> I'll go and find the book now....[/color][/color]
>[color=green][color=darkred]
> >> Many thanks[/color][/color]
>[color=green][color=darkred]
> >> Matthew[/color][/color]
>[color=green]
> > Replying to my own message...[/color]
>[color=green]
> > Is there an easy way to implement this with freepbx or trixbox?[/color]
>
> Assuming you are asking this question and not something completely
> different.....;-)
>
> In FreePBX you need to look at Time Conditions & Announcments.
>
> You will need to daisy chain the Time Conditions to achieve what you
> want. i.e 1 for AM with a failover to PM if it doesn't match.
>
> IMHO the Time Conditions in Asterisk and Freepbx are a nightmare and
> best avoided if it can be helped.[/color]

Cheers - I'll go and have a look at those settings.

Reply With Quote
  #12 (permalink)  
Old 26-03-2007, 17:27
alexd
Guest
 
Posts: n/a
Default Re: "Good Morning / Good afternoon" in Asterisk

Matt wrote:
[color=blue]
> Hi,
>
> I'd like to be able to record a "Good Morning", "Good Afternoon" and
> "Good Evening" greeting to play to callers on the asterisk pbx?[/color]

In FreePBX, go to System > System Recordings to record a custom message.
You'll then be able to use these in IVRs where it says "Announcement", for
example.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
17:23:23 up 31 days, 20:36, 2 users, load average: 0.94, 0.47, 0.38
This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK

Reply With Quote
  #13 (permalink)  
Old 29-03-2007, 23:08
DesG
Guest
 
Posts: n/a
Default Re: "Good Morning / Good afternoon" in Asterisk

> I'm suspecting the OP actually wanted to playback those files based on[color=blue]
> the time of day rather than the mechanics of recording them... If this
> is the case, lookup the GotoIfTime application:
>
> dsx*CLI> show application GotoIfTime
> -= Info about application 'GotoIfTime' =-[/color]

I think the gotoiftime function uses UTC time, so it can be a bit
tricky getting a changeover like morning/afternoon right depending on
if we are in summer time or winter time etc.

I havn't investigated it fully yet, but I think that is the current
situation.

Cheers, Des.

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 23:21.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0