Asterisk

=Network Configuration with Communication Stations and Hub Server=

Note: This is not the complete network, merely showing how communication stations connect to the network



=Before Configuring Asterisk=  For more information on the parts of the communication station, see the Inveneo Low Power Computer Hardware Manual, Chapter 5 Communication Station Components.
 * 1) Remove the cover from the back of the communication station.
 * 2) Plug in the Ethernet cable into the open/empty Ethernet port on the power board.
 * 3) Plug the phone into the port marked Phone 1 on the ATA, which is the port closest to the top. It is NOT right next to the Ethernet cables on the ATA
 * 4) Verify the communication station is on the network by opening a terminal window. Start > Administration > Terminal
 * 5) Typed the following command: ping 192.168.100.1
 * 6) If you get a reply back from 192.168.100.1, which is the IP address of the server, the communication station is properly connected to the network. If you do not get a reply back, you need to first troubleshoot the network.  Asterisk can only be configured if the network is properly working.

=Server Configuration= For more information on Asterisk, visit the O'Reilly website. You can also download the O'Reilly Asterisk Book .
 * 1) Log into the webmin, see Chapter 1: Accessing the Webmin
 * 2) System > Inveneo Asterisk Configuration
 * 3) Under Asterisk Management, click Asterisk Configuration (will open a new tab)
 * 4) Log into Askerisk; username: inveneo password: 1nvene0
 * 5) Click Options in the lower left corner
 * 6) Set the “First extension number” to 6000 > Save[[image:Asterisk1.gif|frame|none]]
 * 7) Click Users in the upper left of the window
 * 8) Click New
 * 9) In the Extension field, use the default 6000
 * 10) The Name field refers to an office or location. This field is for human use and does not effect phone’s ability to connect.
 * 11) Make password same as extension, in this case the password is 6000
 * 12) For Voicemail Password, use default of 1234
 * 13) Leave rest of fields blank
 * 14) Under Extension Options
 * 15) *Check voicemail, SIP, IAX, Call Waiting, 3-Way Calling, NAT
 * 16) *Uncheck In Directory, CTI, Is Agent and Can Reinvite.
 * 17) *Note: setting up voicemail is optional. If client does want to use voicemail, do not check the voicemail box and skip steps 18 – 21.
 * 18) Make sure DTMFMode is set to rfc2833[[image:Asterisk3.gif|frame|none]]
 * 19) Click New under the User Extensions box to add as many users as needed. As users in sequential order, 6000, 6001, 6002, etc.  Make sure the password always matches the extension.  For example user 6001 would have a password of 6002.  Only the extension field, Name field and password field will vary from user to users.  All other settings are the same as the first user.
 * 20) To setup voicemail, click Voicemail on the left side.
 * 21) A window asking you set an extension number will pop up > OK
 * 22) In the field “Extension for checking messages:” to 5000 > Save[[image:Asterisk2.gif|frame|none]]
 * 23) Click on the Users menu, now you will see 5000 – Check Voicemail listed under User Extensions
 * 24) Click Activate Changes in the upper right corner. It is an orange button.  YOU MUST CLICK THIS BUTTON!!![[image:Asterisk4.gif|frame|none]]

=Communication Station Configuration= =Checking Voicemail=
 * 1) Start > Administration > Configure Inveneo Servers
 * 2) Enter the administrative password
 * 3) Click “Configure in web browser”
 * 4) This will open webmin interface of the ATA in Firefox. If Firefox is not already running, it will take a minute to load.
 * 5) By default, the WAN connection is set to DHCP. For most network setups, WAN should be left as DHCP client.
 * 6) Click the Voice Tab
 * 7) Click Admin Login
 * 8) Click Line 1
 * 9) Proxy Registration > Proxy > use the IP of the Inveneo Hub Server, 192.168.100.1
 * 10) Subscriber Information > Display Name > Should be the same name used when setting up the extensions on the server.
 * 11) The User ID field is the same as the extension. For the first communication station is extension is 6000, the second Communication Station is 6001, etc
 * 12) The password is the same as the extension.[[image:Asterisk5.gif|frame|none]]
 * 13) Scroll down to the bottom of the page and click Submit All Changes
 * 14) The ATA will reboot, causing the communication station to loose its network connection. Once the ATA reboots, the communications station will reconnect to the network.
 * 15) Click the reload button in Firefox once the communication station reconnects to the network.
 * 16) Under Voice > Info tab > Line 1 Status > Registration State should now be set to Registered[[image:Asterisk6.gif|frame|none]]
 * 17) You should now hear a dial tone from the phone
 * 18) Configure the other communications stations on the network
 * 19) Make a test call from extension to another. From extension 6000, dial 6001#.  The communication station configured to extension to 6001 should ring.  Note:  You do not need to press the # key after dialing the extension but pressing the # key after the extension makes the call ring faster.
 * 1) To listen to a voicemail message, dial 5000# from the communication station.
 * 2) If you did not change the default voicemail password when configuring Asterisk, the password is 1234
 * 3) Follow the audio prompts on the phone to listen to or delete messages.

Return to the Table of Contents