[asterisk-users] Looped message playback
Earle Clubb
eclubb at valcom.com
Fri Sep 22 06:31:53 MST 2006
John Marvin wrote:
> Earle Clubb wrote:
>> Hello,
>>
>> I'm trying to play an audio file to a phone an arbitrary number of
>> times. The audio is a five-second segment of a sine wave. I need
>> this to be played repeatedly without gaps between playbacks. I've
>> tried doing this in the dial plan, e.g.:
>>
>> exten => s,1,Playback(tonefile)
>> exten => s,2,Goto(1)
>>
>> but there is too long of a gap between the playbacks. Does anyone
>> know of a way to achieve this?
>
> Well, I don't have a solution for the general case (looped playback),
> but if you are only playing a sine wave, couldn't you use Playtones()
> instead? It has the ability to play a tone indefinitely until you tell
> it to stop.
>
> John
I thought about that. The problem is that I need to be able to play any
kind of tone (e.g. warble, etc.). I'm only using a pure tone right now
because it's easy to hear the gaps.
Earle
More information about the asterisk-users
mailing list