[asterisk-users] Parking calls

Robert Lister robl at linx.net
Wed Dec 3 12:17:37 CST 2008


On Wed, Dec 03, 2008 at 03:27:28PM -0200, Sebastian wrote:
> The thing is I have to wait checking a database value to change the state,
> that duration is not long, but on any case I don't know when will be ready
> to go on.
> If I use MusicOnHold app the dialplan get stuck there and there's no further
> movement on my dialplan lines.
> I will have a while loop checking for a database value to change, if it
> changes the call will go on through the dialplan depending on the result,
> but I can't make the call wait without any sound (I thought PlayTones could
> be a possibility but I prefere MOH).
> For these reasons I can't use a shell script launched in background.
> Is there any way to launch in background some app like Background but follow
> with the next dialplan line while it plays the sound??
> (Just like Ringing does on my solution), I know making a local channel is
> not the best solution, but at this moment I can't think on a different one
> that not involves agi.

In passing, you may be interested in:

http://www.voip-info.org/wiki/index.php?page=Asterisk+Local+channels


I haven't tested but it seems to suggest a possibility for "Using the local 
channel to play music on hold when already answered, while waiting for a 
script that takes a while."




More information about the asterisk-users mailing list