[asterisk-users] Disable MoH for certain phones

Forrest Beck jonforrest.beck at gmail.com
Wed Aug 15 08:11:51 CDT 2007


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



More information about the asterisk-users mailing list