[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bayonne-devel] music on hold
From: |
Tony White |
Subject: |
[Bayonne-devel] music on hold |
Date: |
27 Aug 2004 18:47:47 +0300 |
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] music on hold,
Tony White <=