jan.sarin at securia.se
2007-Aug-15 12:11 UTC
[asterisk-users] Disable MoH for certain phones
Hi, Is it possible to configure asterisk so it doesn't play MoH from certain phones? Regards, Jan
You can define a new class in musiconhold.conf with an empty directory. Create a directory with nothing in it /var/lib/asterisk/moh/empty Add this class to musiconhold.conf [empty] mode=files directory=/var/lib/asterisk/moh/empty Then for the phone' entry in sip.conf add: musiconhold=empty Be sure to conect to the CLI and do "sip reload" On 8/15/07, jan.sarin at securia.se <jan.sarin at securia.se> wrote:> Hi, > > Is it possible to configure asterisk so it doesn't play MoH from certain > phones? > > Regards, > Jan > > _______________________________________________ > --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 >-- *** Forrest Beck IAXTEL: 17002871718 jonforrest.beck at gmail.com http://www.shift8.biz
you can set in sip.conf the moh to an invalid class or you can create an mp3 that is blank ----- Original Message ----- From: <jan.sarin at securia.se> To: <asterisk-users at lists.digium.com> Sent: Wednesday, August 15, 2007 3:11 PM Subject: [asterisk-users] Disable MoH for certain phones> Hi, > > Is it possible to configure asterisk so it doesn't play MoH from certain > phones? > > Regards, > Jan > > _______________________________________________ > --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 >