Passcode_for_extension

Page 1

Inure to Advance

Password lock of an extension is one of the features that permit the user to lock the extension when required. Phone lock or extension lock is the system based lock for the extensions or phones and this works based on ASTdb. After locking the extension user will be able to receive call but no outgoing calls could be made without entering the passcode expect the emergency numbers, which was set earlier in the configurations. User will be able to place calls without any prompt for passcode once the extension is unlocked until it was locked again. In this section will explain the extension lock in two ways, one with vm authenticate and second one with ASTdb.

AST DB

Add the below context to extensions_custom.conf

Change the context for the user to extension-lock, provided from-internal is the main context

[Setlock-Passwordsaving] exten => *87,1,Playback(vm-nobox) exten => *87,n,NoOp(AMPUSER/${CALLERID(num)}/set) ; checking whether already user has set passcode or not, ;if not, will prompt to set new passcode by proceeding the call to option newpassword exten => *87,n,Gotoif($[${DB_EXISTS(AMPUSER/${CALLERID(num)}/set)}=0]? newpassword)


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.