Hi All.  I have a question - I have an AGI script that may run for 10
seconds, or it may run for 60 seconds while an agent becomes available
(agents are geographically dispersed).  Is there a way to have the music
play in the background while the AGI scripts executes?  When the AGI script
finishes, then the music should also finish.

I tried this, but the music needs to finish before moving on to step 4 and
execute the script.

exten => _NXZNXXXXXX,1,Answer()
exten => _NXZNXXXXXX,2,MusicOnHold()
exten => _NXZNXXXXXX,3,AGI(SetRecordingID.php,${UNIQUEID})

Any help would be appreciated.

Alex
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Reply via email to