On 9/5/07, Mike C. Fletcher <[EMAIL PROTECTED]> wrote: > Anyone know of a mechanism that can play a sound-file over an existing > linked channel? I'm wanting to implement a simple warning "beep" played > into a channel a minute before a timed call expires, but I can't seem to > see a good mechanism in AMI to do that. I don't want to interrupt the > audio channel. I can use any combination of AMI or AGI operation to > achieve the effect, I just don't see a combination that results in the > linked audio stream continuing as I play into it.
Are you using the L() option to Dial() to time limit the call? If so, why not just use the built-in warning message facilities? Set(LIMIT_WARNING_FILE=path/to/some/sound/file) Dial(SIP/whatever/number,20,L(60000,20000) That will limit the call to 60 seconds and blend in the sound file to the caller when 20 seconds remain. -- j.
