In your dialplan, you should put in...sth like exten => 1001,hint,Custom:virtext1001
In your script, you should put in...sth like Set(DEVSTATE(Custom:virtext001=INUSE); Set(DEVSTATE(Custom:virtext001=NOTINUSE); In the phone directory.xml, define an entry with ct=1001 and turn bw on. Reboot phone of course. > -----Original Message----- > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- > boun...@lists.digium.com] On Behalf Of jon pounder > Sent: Tuesday, 2 February 2010 1:19 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Use a BLF for monitoring > > Richard Kenner wrote: > >> Is there a way to make a virtual extension busy programmatically? > >> > >> I want to be able to turn lights on and off on a Polycom phone from a > script. > >> > > > > That's what the "Custom" device type is for. > > > > > please elaborate I would like to know too > > -- > _____________________________________________________________________ > -- 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 -- _____________________________________________________________________ -- 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