Howdie-

Can anyone please confirm that the BACKGROUND application does ***NOT*** return IMMEDIATELY when called from within an AGI EXEC command?

It seems that EXEC waits until DTMF or THE END OF THE AUDIO FILE to return to the AGI script.

This essentially prevents repeated calls to BACKGROUND (or I assume any other asterisk dialplan application) from within an AGI, and prevents "building" a "queue" of audio files--- which is the default functionality of launching ***SEQUENTIAL*** BACKGROUND entries from the DIALPLAN.

Is there a work-around from within AGI which will return IMMEDIATELY?

The practical application here is to queue-up the following INDIVIDUAL audio segments from within the AGI and go on to other tasks without EXEC (or is it AGI command?) blocking the building of the audio queue:

Build Queue with calls to EXEC Background--
segment 1: "Option 1"
segment 2: "Press 11 for Sales"
segment 3: "Option 2"
segment 4: "Press 22 for Marketing"
...etc
Return and do other stuff IMMEDIATELY.

Thanks & Cheers-
JJQ

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to