Hi all, Does anyone know a way of playing a sound while the dial command is running? I want to play a sound every 10 seconds while relevant phone(s) are ringing and have ring tones played to the caller in the gaps. I am aware of the fact that you can play a class of MoH during the dial but I can see two problems with that.... firstly that the caller won't hear the sound from the start and secondly that ring tones may not sound right after having been encoded to MP3. I've tried using Background but that waits until the sound has finished before the Dial command is executed. Thanks, Peter Spikings This message has been comprehensively scanned for viruses, please visit http://virus.e2e-filter.com/ for details.
Peter Spikings wrote:> Hi all, > > Does anyone know a way of playing a sound while the dial command is > running? I want to play a sound every 10 seconds while relevant phone(s) > are ringing and have ring tones played to the caller in the gaps. > > I am aware of the fact that you can play a class of MoH during the dial > but I can see two problems with that.... firstly that the caller won't > hear the sound from the start and secondly that ring tones may not sound > right after having been encoded to MP3. > > I've tried using Background but that waits until the sound has finished > before the Dial command is executed.Try using native music on hold with say ulaw files. The playback will start from the beginning of the file. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)