Next you will be prompted to enter you SFA key, enter the key and register now.
Click the space bar to run through the license agreement (does anyone read these? Complete your personal details and your license should be written to /var/lib/asterisk/licenses/ (you should back this up – I’ll explain this next).
Finally configure your chan_You will need to change the default_user to represent your Skype ID, in my case: ;default_user=james_bond changed to (general section) Once you have configured all three config files reboot Asterisk, type shutdown –r now.Congratulation, your Asterisk configuration is complete! Next we need to configure Lync and pre-supposing you followed my previous Lync install guide here, you will need to head back into the Lync Topology Builder – we didn’t add a PSTN gateway previously.Asterisk friendly UI = Bad bad bad…so from here on in I have chosen to move to Asterisk NOW.Trixbox is a great distribution of Asterisk, however it does break certain Asterisk standards and you can’t beat a good ol’ command line – yes in Asterisk’s case the command line is easier than a web interface. Asterisk NOW makes light work of the install and I’m by no means a Linux guru!But one last reboot first, type shutdown –r now, our Asterisk install is now complete, next we’ll need to configure it!
To configure our Asterisk PBX we need to edit a number of text files, there are Linux-based editors, but in my experience they are not that user friendly and I like to perform this remotely using my friendly Windows PC, to do this you need an SSH client – I use Win SCP. Once installed add a new site (see below) Then change the default remote directory (as per the illustration below) and save the site. The first time you connect you will be prompted to save your Asterisk server key, click yes to add the host key to your cache.
You can still opt for the Free PBX front end – but we will choose to not go down this dark path – trust me on this! So here is an idea of how this will all piece together: Sounds like a tall order right? With Asterisk NOW and Lync Server 2010, it is reasonably straight forward and I will endeavour to document the end-to-end setup process. Skype as you may or may not be aware offers two SME level Vo IP integrations:- Create a name: Set memory: Don’t connect it to your virtual network, we’ll need to create a legacy network adaptor as we are using Linux I’m going to accept the default options when configuring my virtual disk (this isn’t usually recommended for performance, but for Asterisk NOW it’ll be sufficient) Once your bootable Asterisk NOW ISO is downloaded, select this as the operating system to boot from within Hyper-V Manager Our summary, click Finish Before we kick off the install, you’ll need to go to your settings and add one hardware component, the legacy network adaptor mentioned earlier – and make sure this is connected to your virtual network Let’s start our VM!
Fingers-crossed the Asterisk NOW ISO will boot and the install commences, select option 5 – Asterisk 1.6 only (we need Asterisk 1.6 for TCP support, a SIP trunk requirement for OCS and Lync) Select yes, to accept the creation of partitions and wiping of data The default partition scheme is fine, select next.
Set your region, select next and create a root (or Administrator) password then click next.
The install will now commence, in my case I’m going to grab some breakfast…!
We will be editing three files: (right click and “edit” within Win SCP) [general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support.