[asterisk-users] How to stop a background music

Danny Nicholas danny at debsinc.com
Fri May 22 16:56:55 CDT 2009


You could make the background file into a MOH file in a separate class and
use the MOH commands to start and stop it.  Easier than coding C and
recompiling.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Noel R. Morais
Sent: Friday, May 22, 2009 4:45 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to stop a background music

 

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()"?

Thanks

On Fri, May 22, 2009 at 6:35 PM, Danny Nicholas <danny at debsinc.com> wrote:

Background(file,m) will stop when user hits a DTMF digit that is an active
extension in your dialplan.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Noel R. Morais
Sent: Friday, May 22, 2009 4:29 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] How to stop a background music

 

Hi Guys,

I would like to know if is there a way to actively stop a Background()
music?

Thanks,


Noel


_______________________________________________
-- 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090522/f63d49bd/attachment.htm 


More information about the asterisk-users mailing list