Voice Over IP in UK - Re: "Good Morning / Good afternoon" in Asterisk

This is Interesting: Free IT Magazines  
Home > Archive > Voice Over IP in UK > March 2007 > Re: "Good Morning / Good afternoon" in Asterisk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: "Good Morning / Good afternoon" in Asterisk
Matt

2007-03-26, 1:11 pm

On Mar 26, 2:27 pm, gor...@drogon.net (Gordon Henderson) wrote:
> In article <JpidnevNj4DjVZrbnZ2dneKdnZzin...@pipex.net>,
> Desk Rabbit <nos...@example.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
> 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!

I'll go and find the book now....

Many thanks


Matthew

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com