Damon Estep
2007-Aug-07 22:24 UTC
[asterisk-users] turn off music on hold for a single sip user
Is there a clean way to disable music on hold for a specific user sip user? I have seen one example that creates a class called [none] that points to an empty directory, which creates log errors that are annoying (but not harmful?) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070807/c6f1ace3/attachment.htm
Steve Totaro
2007-Aug-07 22:27 UTC
[asterisk-users] turn off music on hold for a single sip user
Damon Estep wrote:> > Is there a clean way to disable music on hold for a specific user sip > user? > > > > I have seen one example that creates a class called [none] that points > to an empty directory, which creates log errors that are annoying (but > not harmful?) >How about using the same method but dial your recording extension with your phone on mute and leave it going for as long as you need. It will then play a file with no audio and not throw any errors. Thanks, Steve Totaro
voiplist
2007-Aug-07 22:44 UTC
[asterisk-users] turn off music on hold for a single sip user
You could set a variable in the users sip.conf details like: setvar=PlayMOH=NO or setvar=PlayMOH=NO Then in your extensions.conf setup a GoToIf() which reads the variable PlayMOH and either sets the "m" or the "r" in the dial command.. This should work fine and I know it will work in 1.4.x but not sure about earlier versions only because I am not sure how far back version wise you can set a variable in the sip.conf. Maybe it's always been possible, not sure. Hope this helps. Regards, Todd R. -- Prestige Messaging Live Answering Services SIP or Toll-Free Connectivity Light Accounts From $14.95/mo http://www.PrestigeMessaging.com On 8/7/07, Damon Estep <damon at suburbanbroadband.net> wrote:> > > > > Is there a clean way to disable music on hold for a specific user sip user? > > > > I have seen one example that creates a class called [none] that points to an > empty directory, which creates log errors that are annoying (but not > harmful?) > _______________________________________________ > --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 >