Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Jimenez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 2007/8/17, Doug Lytle : > Just a note, > > You will want to make sure that (911/999) calls are handled properly > when the phone is locked down. > Good point. - -- Andres Jimenez GPG : http://www.andresin.com/gpg/[EMAIL PROTECTED] -BEGIN PGP S

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Doug Lytle
Andres Jimenez wrote: > In the latest version (see below) I added some playback that will say > if the phone is lock or unlock, before and after locking/unlocking it. > Just a note, You will want to make sure that (911/999) calls are handled properly when the phone is locked down. Doug --

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Jimenez
2007/8/17, Andres Paglayan <[EMAIL PROTECTED]>: > Guys, very nice dialplan programming, > as a user's opinion, the two extension approach might be better. > so the user doesn't need to remember whether the phone is locked or not, > and accidentally lock it when the contrary was meant, > (unless yo

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Gordon Henderson
On Fri, 17 Aug 2007, Andres Paglayan wrote: > Guys, very nice dialplan programming, > as a user's opinion, the two extension approach might be better. > so the user doesn't need to remember whether the phone is locked or not, > and accidentally lock it when the contrary was meant, > (unless you se

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Paglayan
On Aug 17, 2007, at 6:52 AM, Doug Lytle wrote: > Gordon Henderson wrote: >> On Fri, 17 Aug 2007, Andres Jimenez wrote: >> >> exten => ,1,Answer() >> exten => ,n,Set(me=${CALLERID(num)}) >> exten => ,n,Set(DB(${me}/locked)=1) >> >> exten => ,1,Answer() >> exten => ,n,Set(me=${C

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Jimenez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks to Gordon & Doug I have now a very good locking system using one only extension. Extension informs you about the current lock situation and, if authentacated, it changes it and explain the change done. ;Locking system ;LOCK exten => 88

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Doug Lytle
Gordon Henderson wrote: > On Fri, 17 Aug 2007, Doug Lytle wrote: > > > XOR in dialplan :) > > 9 lines of code vs. my 7 (which include a validation) though ;-) > > Ooops! Missed that line. > One thing I noted recently is that phones sometimes do weird things with > *'s and #'s )-: The Sieme

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Gordon Henderson
On Fri, 17 Aug 2007, Doug Lytle wrote: > Gordon Henderson wrote: >> On Fri, 17 Aug 2007, Andres Jimenez wrote: >> >> exten => ,1,Answer() >> exten => ,n,Set(me=${CALLERID(num)}) >> exten => ,n,Set(DB(${me}/locked)=1) >> >> exten => ,1,Answer() >> exten => ,n,Set(me=${CALLERID(n

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Doug Lytle
Gordon Henderson wrote: > On Fri, 17 Aug 2007, Andres Jimenez wrote: > > exten => ,1,Answer() > exten => ,n,Set(me=${CALLERID(num)}) > exten => ,n,Set(DB(${me}/locked)=1) > > exten => ,1,Answer() > exten => ,n,Set(me=${CALLERID(num)}) > exten => ,n,VMAuthenticate(${me}) >

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Jimenez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 2007/8/17, Gordon Henderson : > S (all untested!) > > exten => ,1,Answer() > exten => ,n,Set(me=${CALLERID(num)}) > exten => ,n,Set(DB(${me}/locked)=1) > > exten => ,1,Answer() > exten => ,n,Set(me=${CALLERID(num)}) > ext

Re: [asterisk-users] Lock extension from asterisk

2007-08-17 Thread Gordon Henderson
On Fri, 17 Aug 2007, Andres Jimenez wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all > > I am working in a new set up with Grandstream GXP-2000 handsets. I > like those phone, but they lack a feature I need: the phone cannot be > locked by the user. > > What I actually want is a

[asterisk-users] Lock extension from asterisk

2007-08-17 Thread Andres Jimenez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I am working in a new set up with Grandstream GXP-2000 handsets. I like those phone, but they lack a feature I need: the phone cannot be locked by the user. What I actually want is a user to be able to avoid someone else making calls from his

Re: [Asterisk-Users] Lock Extension

2005-09-07 Thread Stephen
Hi Robert, Do you have the sample script for locking the extension? Thanks, Stephen Robert Goodyear wrote: On Aug 18, 2005, at 3:07 AM, Stephen wrote: Hi All, How can I lock the extension in Asterisk? For example , my extension is 1000 and I am away for business trip. I want to lock my e

Re: [Asterisk-Users] Lock Extension

2005-08-20 Thread Robert Goodyear
On Aug 18, 2005, at 3:07 AM, Stephen wrote: Hi All, How can I lock the extension in Asterisk? For example , my extension is 1000 and I am away for business trip. I want to lock my extension during my absence. Can it be done in Asterisk? regards, Stephen You could write a little script to

[Asterisk-Users] Lock Extension

2005-08-18 Thread Stephen
Hi All, How can I lock the extension in Asterisk? For example , my extension is 1000 and I am away for business trip. I want to lock my extension during my absence. Can it be done in Asterisk? regards, Stephen ___ Asterisk-Users mailing list Asterisk