Configuration
Configuring Asterisk
Asterisk needs configuring in two places:
- manager.conf
- extensions.conf
In manager.conf under [general] make sure that enabled=yes and that a user like this exists with whatever username and password you prefer:
[admin] secret=password123 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user
In extensions.conf you'll need to add three extensions like these, with whatever numbers you choose:
; the extension number for incoming calls
exten => 100,1,answer
exten => 100,2,ringing
exten => 100,3,wait(30)
exten => 100,4,goto(${EXTEN},3)
; the hold extension
exten => 101,1,answer
exten => 101,2,WaitMusicOnHold(30)
exten => 101,3,goto(${EXTEN},2)
; the meetme extension
exten => _102.,1,answer
exten => _102.,2,meetme(${EXTEN:-6:5},1d)
The operator's telephone
Enable auto-answer and auto-hangup. You'll probably want to use it with headphones - the phone is then totally controlled from the software.
If you don't want to do automatic pickup, don't want to use headphones, or your phone can't clear calls automatically when the other party disconnects you will need to change the operator's extension in extensions.conf to use RetryDial instead of Dial like this:
exten => 123,1,RetryDial(beep,2,-1,sip/oper1)
Configuring * Receptionist
To configure the application itself go to the Edit menu and select Preferences. These parameters can also be specified from the command line or through the applet configuration if you prefer - see the installation documentation for details. The following parameters can be configured.
Server
Enter the host name or ip address of your Asterisk server.
Port, Username and Password
Enter the port specified in the manager.conf file and the details of the user set up there.
Operator extension number
Enter the extension number of the operator's telephone.
Incoming, hold and meetme extensions
These are the three extensions that you just have added in extensions.conf.
Directory configuration
For directory lookup support see the directory section of the documentation.