Noel R. Morais wrote:
> But I need a way to actively stop it. Without waiting for user hit a
> DTMF or the background timeout.
> 
> Like "StopMusicOnHold()", is there something like "StopBackground()"?

No, because the dialplan does not continue running until Background
either times out or the user presses DTMF that matches an extension in
the context Background was called from. There is no dialplan code
executing while Background is running, so where do you want to be able
to issue this 'StopBackground' command from?

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: [email protected]
Check us out at www.digium.com & www.asterisk.org

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

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

Reply via email to