agi music on hold

Joined: Wed 01 of Apr, 2009

Re: agi music on hold

Posted:Wed 01 of Apr, 2009 (11:40 UTC)
We can help you in the following matter
Feel Free to contact us
Joined: Sun 08 of Mar, 2009

agi music on hold

Posted:Sun 08 of Mar, 2009 (06:43 UTC)
hi all...
i would like to know if there is a way to start and interrupt playback/background/music on hold from an agi script.

like... the control is passed from the dial plan to the script. the script starts playing some music while it goes to find some stuff elsewhere. usually the search lasts 30 - 45 seconds. so i'd like to start a playback at the beginning of the script and the moment it gets back the search result to cut off the playback and write another command back to the dial plan.

what would be the most practical way to do that?