Ictp Voip Lab 2010

Embed Size (px)

Citation preview

  • 8/6/2019 Ictp Voip Lab 2010

    1/12

    VOIP: Lab Exercise

    Stephen Okay

    Abdus Salam Intl Center for Theoretical Physics, Trieste Italy

    March 4th 2010

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    2/12

    Goals

    Exercise 1

    Set up a small office phone system using analog phones, ATAs and anAsterisk server on a LAN

    Add users and extensions to the Asterisk server

    Configure the ATAs to register with the Asterisk server

    Test it out: Make calls, leave and check voicemail, have fun!

    Exercise 2Set 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

  • 8/6/2019 Ictp Voip Lab 2010

    3/12

    Contacting the Asterisk Server

    From a web browser open the following link:

    http://192.168.4.200:8088/asterisk/static/config/index.htmlLogin with the username:administrator password:wireless

    From the menu on the left, click on Users

    Friday, March 5, 2010

    http://192.168.4.200:8088/asterisk/static/config/index.htmlhttp://192.168.4.200:8088/asterisk/static/config/index.htmlhttp://192.168.4.200:8088/asterisk/static/config/index.htmlhttp://192.168.4.200:8088/asterisk/static/config/index.html
  • 8/6/2019 Ictp Voip Lab 2010

    4/12

    Adding users with Asterisk-GUI

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

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    5/12

    Adding an extension to Asterisk(concluded)

    Click on System Status and you should see the new extension

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    6/12

    Configure 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://

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    7/12

    Configure the ATA

    Click on Admin Login

    Admin

    Login

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    8/12

    Configure the ATA

    Go to this URL:

    http:///admin/advancedClick 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

  • 8/6/2019 Ictp Voip Lab 2010

    9/12

    Configure 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 wireless

    Set to your group name Your extension

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    10/12

    Configure the ATA

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

    Save settings

    Set to 60 just to start, then change to

    something more like 600 once youve

    verified things are up and running

    Friday, March 5, 2010

  • 8/6/2019 Ictp Voip Lab 2010

    11/12

    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

  • 8/6/2019 Ictp Voip Lab 2010

    12/12

    Exercise 2

    Suppose now that have a University campus where the buildings are

    connected to each other via WLAN. We now want to provide accessto the Asterisk server to those buildings using wireless.

    Configure 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 ATAPlug 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