bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [Bayonne-devel] music on hold


From: Tony White
Subject: Re: FW: [Bayonne-devel] music on hold
Date: 27 Aug 2004 21:05:00 +0300

Thanks Julien - I'll give it a try
--
Tony


On Fri, 2004-08-27 at 18:56, Julien Chavanton wrote:
> 
> 
> -----Original Message-----
> From: Julien Chavanton 
> Sent: August 27, 2004 11:55 AM
> To: 'Tony White'
> Subject: RE: [Bayonne-devel] music on hold
> 
> You can use the FIFO(bayonne.ctrl) and the SEND command to notify the
> script using ^event 
> 
> Julien
> 
> -----Original Message-----
> From: Tony White [mailto:address@hidden 
> Sent: August 27, 2004 11:48 AM
> To: address@hidden
> Subject: [Bayonne-devel] music on hold
> 
> Hi,
> 
> I'm trying to play 'music on hold' while a long perl script executes, so
> the caller doesn't think the system has hung up on him. Currently, with
> no music (ie. silence) I have:
> 
> libexec 60 long_perl.pl var1=%var1 var2=%var2 var3=%var3 etc.
> 
> and long_perl.pl returns several variables back to bayonne.
> 
> so what I want to do is:
> 
> libexec 0 long_perl.pl var1=%var1 var2=%var2 var3=%var3 etc.
> play music
> 
> In this case, the libexec will return immediately, and start playing the
> file music.au 
> 
> What I don't know how to do is (a) get the return values from
> long_perl.pl back into bayonne when it finishes, and (b) how to signal
> back to bayonne that it *has* finished, and stop playing music.
> 
> Any ideas?  (Please assume I'm an idiot, and give an example of
> suggested usage)
> 
> Thanks,
> Tony
> 
> 
> 
> 
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bayonne-devel
> 
> 
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bayonne-devel
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]