I have a customer that wants to lock his phone when he goes home at night so no one else can use it. What would be the easiest way to do this? -- Carlos Chavez Prats Director de Tecnolog?a Telecomunicaciones Abiertas de M?xico S.A. de C.V. Tel: +52-55-91169161 Ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061017/d7d0f3d7/attachment.pgp
On Tue, 2006-10-17 at 10:25 -0500, Carlos Chavez wrote:> I have a customer that wants to lock his phone when he goes home at > night so no one else can use it. What would be the easiest way to do > this?To do something similar, I created a dialplan extension that - if dialled - creates a file on the server. If dialled again, it removes the file again. Then, in the context of the phone I check for existence of that file and if it exists I play a busy signal and hangup. (Of course, unless the extension to re-enable it is dialled ;) ). Additionally, I ask the user for a password to lock/unlock it.
Use AstDB to keep State from Lock and Unlock and create a simple menu where user with a pincode may unlock his phone (also stored in Astdb, or other database) So 2 Menus one to lock the phone with a *XXX combination call, and another to unlock requesting pin code. Seems to me the simple way On 10/17/06, Carlos Chavez <cursor@telecomabmex.com> wrote:> I have a customer that wants to lock his phone when he goes home at > night so no one else can use it. What would be the easiest way to do > this? > > -- > Carlos Chavez Prats > Director de Tecnolog?a > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Tel: +52-55-91169161 Ext 2001 > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >-- Com os melhores cumprimentos, Marco Mouta
Use a master context that include the context holding the extens based on time: http://www.voip-info.org/wiki/index.php?page=Asterisk+tips+openhours On 10/17/06, Carlos Chavez <cursor@telecomabmex.com> wrote:> I have a customer that wants to lock his phone when he goes home at > night so no one else can use it. What would be the easiest way to do > this? > > -- > Carlos Chavez Prats > Director de Tecnolog?a > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Tel: +52-55-91169161 Ext 2001 > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >