I was thinking of a script that just copied a different/random/sequential audio file to it's stdout everytime it was called. Name the pipe with a .gsm (or whatever format you use) extension. And tell asterisk to use the pipe instead of a static file. I think in theory it should work. I'm not sure if there'll be blocking issues should the script fail. But it's something to think about.

-Steve


A.J. Paxson wrote:
On 5/15/06 10:24 PM, "Steve Feinstein"  wisely said:

I haven't thought it through really, so if  it's a bad idea please let
me know.  But I think a named pipe would be a good unix-y way to do this.

-Steve Feinstein

A.J. Paxson wrote:
Hi All!

I've really been struggling trying to get around this.  Instead of the same
announcement being played over and over again, I want to be able to play
more than 1 announcement in a queue.

Does anyone have any brainstorming ideas on how I can try this?

Once a caller is in a queue, I no longer have any control inside that queue.
I can have that queue timeout, play a different announcement, and place them
back in the queue, but then the caller loses it's place.

Any ideas?

~~Aaron

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks for the reply, Steve!

How so?  I understand what you mean by named pipes, but not sure how to use
it in this context.  Care to give a pseudo example of what you are thinking?

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
begin:vcard
fn:Steve Feinstein
n:Feinstein;Steve
org:GatherWorks Inc.
adr:;;27 Dupaw Gould Road;Brookline;NH;03033;USA
email;internet:[EMAIL PROTECTED]
tel;work:+1 (603) 672-1472
x-mozilla-html:TRUE
url:http://www.gatherworks.com/
version:2.1
end:vcard

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to