[asterisk-users] Music on hold - 1.4.5

Ade Vickers javickers at solutionengineers.com
Tue Jul 3 10:36:25 CDT 2007


Hi Richard,

Thanks for those replies - I'll give them a shot shortly.


Cheers,
Ade. 

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Richard Lyman
> Sent: 03 July 2007 16:15
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Music on hold - 1.4.5
> 
> Richard Lyman wrote:
> > Ade Vickers wrote:
> >   
> >> *snipped
> >>     
> >
> >   
> >> Hi all, thanks for the responses so far.
> >>
> >>
> >> I too understood it to be a configuration thing, with the 
> addition of 
> >> a streaming music server (which, obviously, provides the 
> MoH stream). 
> >> Asterisk should then simply pick up the stream & play it 
> whenever MoH is requested.
> >>
> >> It'd also be nice to periodically interrupt the stream 
> with a "your 
> >> call is important to us (no, honestly)" message, although 
> I probably 
> >> wouldn't use that on my own server.
> >>
> >> Does no-one have any suggestions for a streaming MoH setup?
> >>
> >>   
> >>     
> >
> > here are my notes
> >
> > http://dynx.net/ASTERISK/gnudialer/moh.txt
> >
> >   
> (replying to my own post because i am sure the next reply 
> will be how does this work)
> 
> when you use the above method it will load up all the files 
> in that dir to the rawplayer instance (like this)
> 
> ... Jun18   1:09 /usr/bin/rawplayer fpm-calm-river.raw 
> fpm-sunshine.raw 
> fpm-world-mix.raw
> 
> by doing so, it will cycle those 3 files. 
> 
> you can test it out using a variation of the ael snippet below.
> 
>                 WaitExten(1);
>                 Playback(one-moment-please);
>                 WaitMusicOnHold(5);
>                 for (x=0; ${x} < 3; x=${x} + 1) {
>                         Verbose(3|x is ${x} !);
>                         Playback(thnk-u-for-patience);
>                         WaitMusicOnHold(5);
>                 };
>                 Playback(pls-hold-while-try);
> 
> 
> i hope this helps
> 
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.9.14/884 - Release 
> Date: 02/07/2007 15:35
>  
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.9.14/884 - Release Date: 02/07/2007
15:35
 





More information about the asterisk-users mailing list