Sie sind auf Seite 1von 12

VOIP: Lab Exercise

Stephen Okay Abdus Salam Intl Center for Theoretical Physics, Trieste Italy March 4th 2010

Friday, March 5, 2010

Goals
Exercise 1
Set up a small ofce phone system using analog phones, ATAs and an Asterisk server on a LAN
Add users and extensions to the Asterisk server Congure the ATAs to register with the Asterisk server Test it out: Make calls, leave and check voicemail, have fun!

Exercise 2
Set up a extensions for users at a remote campus connected via WLAN
Users are moving to different buildings at a University. These are all connected up by a WLAN. Set up an access point to allow the phone/ATA to register to the Asterisk server over the wireless network.
What mode(client/AP/bridge) would be best to do this with ? Should you NAT ?

Friday, March 5, 2010

Contacting the Asterisk Server


From a web browser open the following link: http://192.168.4.200:8088/asterisk/static/cong/index.html Login with the username:administrator password:wireless From the menu on the left, click on Users

Friday, March 5, 2010

Adding users with Asterisk-GUI


Click on Create New User ll in like below and click Update

Friday, March 5, 2010

Adding an extension to Asterisk(concluded)


Click on System Status and you should see the new extension

Friday, March 5, 2010

Congure your ATA


Perform a factory-reset of your ATA
Pick up the phone and dial **** When prompted, enter 73738#, wait a moment, then press 1 The ATA will be reset to factory defaults

Find out the IP address of your ATA


Pick up the phone and dial **** When prompted, enter 110# and write down the IP address spoken to you In a browser window go to: http://<IP Address you were given>

Friday, March 5, 2010

Congure the ATA


Click on Admin Login

Admin Login

Friday, March 5, 2010

Congure the ATA


Go to this URL: http://<your ATA address>/admin/advanced Click on Line1 and you should see a screen like this:
set to yes Leave as no for now

set to 5060

Friday, March 5, 2010

Congure the ATA


Make these changes, then click Save Settings. You can leave the other settings alone
IP of Asterisk Server Set to yes

Set to your group name Set to wireless

Your extension

Friday, March 5, 2010

Congure the ATA


Click on SIP and conrm/set the settings indicated below, then Save settings

Set to 60 just to start, then change to something more like 600 once youve veried things are up and running

Friday, March 5, 2010

Check Registration
Registration State should now be Online

If you pick up the phone now, you should hear a dial tone. This will sound like a continuous hum rather than an alternating tone. Go back to the Asterisk Server Status page and dial an extension that is marked as Free

Friday, March 5, 2010

Exercise 2
Suppose now that have a University campus where the buildings are connected to each other via WLAN. We now want to provide access to the Asterisk server to those buildings using wireless. Congure a Ubiquiti AP to connect to the wireless school AP so that it allows the ATA to talk to the Asterisk server without NAT-ing. Power off the ATA Plug the ATA into the Data port of the AP client and power it back on. It should re-register with the Asterisk Server.

Friday, March 5, 2010

Das könnte Ihnen auch gefallen