Step- by- step Microsoft Lync 2. Asterisk and Skype installation/integration guide. Once a year I give my “blessing” to the wife to go away on a long weekend with the girls and usually I try to call in a few child minding favours from my parents/in- laws and this weekend, thank goodness, is no exception to the rule! Last time I was given these days of peace I wrote a Trixbox/Exchange 2. 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. Download Lync 2010 Attendee ClientSo why not plain old Asterisk? Asterisk. NOW makes light work of the install and I’m by no means a Linux guru! 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! The latest release of the Polycom VVX 5.6 UCS firmware is now available for Lync and Skype for Business (SfB) environments. This release includes some minor.
Office Professional Plus 2010ダウンロード版(日本語版) の激安価格: ¥5,800(永続認証付き)すぐ購入、すぐダウンロード、すぐ. So let’s talk objectives…Setup Asterisk. NOW, configuring a SIP extension and corresponding dial- plan. Install and configure Skype for Asterisk (SFA), ensuring the SIP extension above can route in/out (Skype. Out)Take the Lync 2. Server install performed here and integrate it with Asterisk. NOW. Make calls to and from the Asterisk SIP extension (Lync & SFA)Make calls to and from the Lync client (SIP & SFA)So here is an idea of how this will all piece together: Sounds like a tall order right? Wrong. With Asterisk. NOW and Lync Server 2. I will endeavour to document the end- to- end setup process. Before I begin let me talk about SFA…Skype as you may or may not be aware offers two SME level Vo. IP integrations: -Skype for SIP (now re- branded as Skype Connect) – essentially a way of integrating Skype’s cloud of PSTN in/out connectivity including the capability to call Skype users (2. I type) to an SIP enabled IP PBX – for supported vendors see here. Skype for Asterisk (SFA) – an add- on Asterisk channel driver which allows for Skype- to- Skype calls and access to Skype’s uber cheap calling rates via your Asterisk end- point. If you are already running an Asterisk based PBX you will probably want to know the difference. From a high level it comes down to the following: -Cost – Skype Connect is subscription- based, you pay $6. Functionality – SFA is not channel- based, it is user- based, for a one off charge of $6. A single license would give you one channel. In this guide we will enable a single license be configured to route out from either SIP or Lync end points. From an inbound perspective you could create a Lync response group or Asterisk call group to broadcast inbound calls to multiple users. One (or should i say three?) last caveat before we get on with the good stuff: -Lync is currently in release candidate, it is unlikely to change on a grand scale, but be aware it is not supported by Microsoft. Lync (or OCS) + Asterisk integrations are not supported by Microsoft. This is a “just for fun” guide or lab setup only. Okay, with that over with let’s look at requirements. I’ll be using Windows Server 2. R2 with Hyper- V to run Lync Server 2. RC & Asterisk. NOWI have assigned 2gb of memory to Lync Server 2. RC and 5. 12mb to Asterisk. NOW (I know this seems minimal but it is enough for this small test setup)You’ll need to setup a Skype business accountas SFA will not work with regular consumer accounts (you can route Skype- to- Skype calls between business and consumer accounts)Once you have setup a free Skype business account you’ll need credit as without credit it won’t route out to PSTN. I suggest you test the account by adding it to a Skype software client first (if you hit any roadblocks further down the line you’ll be pleased to have ruled this potential issue out)Buy an SFA single channel license which can be purchased directly from Digium, the makers of Asterisk, via their online store (currently at $6. Let’s begin…Download a copy of Asterisk. NOW, I have opted for the 6. VM. 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 andadd 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. 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…! I’m back and the install is complete, eject your ISO via the Hyper- V toolbar, Select Media - > DVD Drive - > Eject. Then click reboot. During the boot sequence you’ll see a ton of text, which will all (hopefully) end with [ OK ]. Upon completion you will see a Setup Agent, quit this and you will be presented with the screen below. Login with your root account and start the network configuration utility, type system- config- network. You will then be presented with the screen below. Edit your network device “eth. Digital Equipment Corporation DECchip 2. Faster. Net]”, remove the DHCP optionand set a static address, in my case 1. Save and now edit your DNS configuration. In my case I have a local DNS server (1. I have also set my host name as ast. Then Save & Quit. Once you are back to the command line type: shutdown –r now this will result in a reboot of the system. Once the system has completed a restart, login again as root. You should now be able to ping from this system to another address on your local network including the Internet (to check this, ping www. In some cases I have found that you need to head back into the network settings and re- input the DNS, this issue shouldn’t re- occur. Now you are back to your Asterisk command line, typeyum install register, you’ll be prompted to download the package, accept this by inputting Y and hitting enter. YUM is an abbreviated word for Yellow dog Updater Modified, it is a command line package management tool. The Register package is used to activate your SFA license. Next we’ll update our version of Asterisk. NOW, typeyum update asterisk. Once completed, we’ll install SFA, typeyum install asterisk. Once installed reboot, type shutdown –r now. Once the reboot has completed login and we’ll register the SFA module (using the license key received from Digium). Login as root and type, register. Select option 1 (Digium Products), then option 7 Skype for Asterisk. 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?) and accept the agreement. 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). 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. Download a free copy via their website here. Once installed add a new site (see below)Then change the default remote directory (as per the illustration below) and save the site. Once saved click login. 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. Finally enter your password, once connected an explorer type view of your Asterisk’s file system will be displayed – I have changed to a detailed view (choose view - > details)Back- up your SFA license by copying the file from /var/lib/asterisk/licenses – there should only be one . Now head back to the folder /etc/asterisk – this is where our Asterisk config files are located. We will be editing three files: (right click and “edit” within Win. SCP)Sip. conf – for main Asterisk settings (trunks/extensions)Extensions. Chan_skype. conf – SFA settings. First sip. conf, replace the content of your file with the following settings (you should probably backup your original conf files before)[general]. Default context for incoming calls. Disable overlap dialing support. Default is yes). udpbindaddr=0. IP address to bind UDP listen socket to (0. Enable server for incoming TCP connections (default is no). IP address for TCP server to bind to (0. Enable DNS SRV lookups on outbound calls. Notify subscriptions on HOLD state (default: no). A locally attached SIP extension. Lync_Trunk] ; Our Lync trunk. This is the default Lync Server TCP listening port. This should be the IP address of your Lync Server. Next extensions. conf, replace the content of your file with the following settings[general]. XXX,1,Dial(SIP/${EXTEN},2. XXX,n,hangup(). ; send every digit after 9 to Skype for Asterisk. Dial(Skype/${EXTEN: 1},2. XXX,1,Dial(SIP/Lync_Trunk/${EXTEN},2. XXX,n,hangup(). ; dialling other extensions starting with 1 followed by three digits. XXX,1,Dial(SIP/${EXTEN},2. XXX,n,hangup(). ; send other calls to Skype for Asterisk. Dial(Skype/${EXTEN},2. This dial plan will enable call routing between Lync , Asterisk & SFA. Finally configure your chan_skype.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |