Click here to close now.

Welcome!

Microservices Journal Authors: JP Morgenthal, Baruch Sadogursky, Elizabeth White, Liz McMillan, Plutora Blog

Related Topics: .NET, Microservices Journal, Silverlight, Web 2.0, Open Web, CMS

.NET: Blog Post

Series: Exchange 2013 and Lync 2013 Integration with AsteriskNOW PBX Pt. 1

This will be a 3-part blog series on integrating AsteriskNOW PBX with Lync and Exchange 2013.

Recently I have been involved in a couple of projects which required both Lync EV and Exchange UM. In order to do some testing I needed to get some kind of PBX into my lab environment. After searching the internet I found a ton of information but not a single source that showed all the "correct" implementation steps. This is what I hope to provide in this series. I decided that it would probably be too much for a single blog so I am going to break it up into 3. This series will contain the following articles:

  1. Exchange 2013 and Lync 2013 Integration with AsteriskNOW PBX Pt. 1 - this will describe how to get AsteriskNOW configured with local PBX extensions. This will allow us to utilize softphones to call between PBX users.
  2. Exchange 2013 and Lync 2013 Integration with AsteriskNOW PBX Pt. 2 - next we need to tie our new PBX into the Lync 2013 infrastructure. This will include creating PSTN GWs\Trunks, EV Enabled Users, Auto Attendant, EVA, etc...
  3. Exchange 2013 and Lync 2013 Integration with AsteriskNOW PBX Pt. 3 - lastly we will finish up integration from Lync 2013 to Exchange 2013 for Unified Messaging.

Let's get started with installing our AsteriskNOW PBX. First lets download both AsteriskNOW 3.0.0 (http://www.asterisk.org/downloads/asterisknow) and your favorite softphone, for which I chose X-Lite (http://www.counterpath.com/x-lite-for-windows-download.html). I am utilizing HyperV and VMs for my lab but you can adjust to any environment you are using.

1. Creating AsteriskNOW Virtual Server

If using HyperV Manager than right click the HyperV Host server and select new virtual machine. Give this server a name, 1GB of memory, 20GB of Storage, and for networking make sure this is "not connected", and click finish to create the virtual machine. Now before starting the server we need to setup networking. The reason we left this blank during the VM creation wizard is because we have to use the "older" legacy network adapter. In the console right click the newly crated vm, choose settings, and then "Add Hardware". On the right hand side select Legacy Network Adapter and click Add. Make sure you set this legacy adapter to connect to the virtual switch that your other VMs are connected. Now attach the .ISO we downloaded above to the CD\DVD Image so that we can boot into the AsteriskNOW setup wizard.

2. AsteriskNOW Setup

After booting the VM you will be presented with the screen below. Select option 1 to install Asterisk 11 and Free PBX. Next select Reinitialize All, Choose your Time zone, set the root password, and allow Linux to setup the partitioning. The setup should take anywhere from 10-15 minutes.

Now we need to set the AsteriskNow server to use a static IP. Login as the root account you created during setup and type system-config-network. This will bring up a select action window. Select Device Configuration, hit enter on your NIC, and type in your information (see below). For the DNS server put your AD DNS server that Lync and Exchange have configured. After typing this information click OK, Save, and then select DNS configuration. Type in your AD DNS information similar to below. I put 4.2.2.2 as an additional DNS server on the internet but this isn't needed if your AD DNS can send DNS requests to an Internet DNS server. Now click OK, Save&Quit, and then type shutdown -r now at the command prompt to reboot the server.

3. Create PBX Extensions

With AsteriskNow and FreePBX you can do most of the configuration from the FreePBX Admin Webpage. Go to http://asteriskserverip, click FreePBX Administration, and then type admin for both the username and password. You will see the Administration console below. Click on Applications, Extensions, select Generic SIP Device and click Submit. Fill in the information below and create a couple of users (screenshot below).

Extenstion - I am using 3XXX for Asterisk

DisplayName - Unique User Identifier

Secret - similar to password (keep track of this because we will need it)

Context - from-internal

Make sure after adding the users you click "Apply Config" at the top of the screen or these changes won't get submitted.

4. Setup X-Lite Softphone Users

Now we need to setup the X-Lite client on two computers. Technically these computers don't have to contain audio devices but you will want this for the future if possible. I am not going to walk through the X-Lite installation because this is a basic next, next, finish. Let's configure the X-Lite client on both machines with the 2 users we created in Step 3. Once opening the X-Lite client, click Softphone, Account Settings and fill in the information we used in Step 3 (see below). The Password is what we put into the Secret field  (1User1) during the creation of the user. Click ok and you should get logged into the Asterisk box.

5. Call testing between X-Lite Users

Once X-Lite is installed and configured on both workstations lets dial one of the users extensions from the other pc. Connected!!

Now we successfully setup calling between two users on our AsteriskNow PBX. In the next article of this series we will dive into how to connect AsteriskNow Users with Lync 2013 Enterprise Voice enabled users.

Richard Schwendiman - http://blogs.technet.com/b/rischwen/

More Stories By Richard Schwendiman

My name is Richard Schwendiman and I am currently working for Microsoft as a (PFE) Premier Field Engineer specializing in both Exchange and Lync. I have been working as an IT Consultant for 13+ years focusing on a wide array of Infrastructure technologies. These technologies include Messaging, UC, Networking, Platforms, Active Directory, Virtualization, etc... I am currently certified as an MCSE (Microsoft Certified Systems Engineer), MCSE Messaging 2013, MCSE Communications 2013, MCSA 2012, MCITP Enterprise Messaging, MCTS-Lync, CCNA (Cisco Certified Network Associate), Commvault, CCNP (Cisco Certified Network Professional), and JNCIA-ER (Juniper Enterprise Routing). I am hoping that through this blog I can bring knowledge from the field and keep everyone informed about our ever changing Industry. Please feel free to email me any questions, comments, or concerns pertaining to this blog or any technology related things. Thanks and look forward to providing some good content. http://blogs.technet.com/b/rischwen/

@MicroservicesExpo Stories
Hardware will never be more valuable than on the day it hits your loading dock. Each day new servers are not deployed to production the business is losing money. While Moore's Law is typically cited to explain the exponential density growth of chips, a critical consequence of this is rapid depreciation of servers. The hardware for clustered systems (e.g., Hadoop, OpenStack) tends to be significant capital expenses. In his session at Big Data Expo, Mason Katz, CTO and co-founder of StackIQ, disc...
Container frameworks, such as Docker, provide a variety of benefits, including density of deployment across infrastructure, convenience for application developers to push updates with low operational hand-holding, and a fairly well-defined deployment workflow that can be orchestrated. Container frameworks also enable a DevOps approach to application development by cleanly separating concerns between operations and development teams. But running multi-container, multi-server apps with containers ...
There is no doubt that Big Data is here and getting bigger every day. Building a Big Data infrastructure today is no easy task. There are an enormous number of choices for database engines and technologies. To make things even more challenging, requirements are getting more sophisticated, and the standard paradigm of supporting historical analytics queries is often just one facet of what is needed. As Big Data growth continues, organizations are demanding real-time access to data, allowing immed...
SYS-CON Events announced today that EnterpriseDB (EDB), the leading worldwide provider of enterprise-class Postgres products and database compatibility solutions, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. EDB is the largest provider of Postgres software and services that provides enterprise-class performance and scalability and the open source freedom to divert budget from more costly traditiona...
Do you think development teams really update those BMC Remedy tickets with all the changes contained in a release? They don't. Most of them just "check the box" and move on. They rose a Risk Level that won't raise questions from the Change Control managers and they work around the checks and balances. The alternative is to stop and wait for a department that still thinks releases are rare events. When a release happens every day there's just not enough time for people to attend CAB meeting...
Enterprises are fast realizing the importance of integrating SaaS/Cloud applications, API and on-premises data and processes, to unleash hidden value. This webinar explores how managers can use a Microservice-centric approach to aggressively tackle the unexpected new integration challenges posed by proliferation of cloud, mobile, social and big data projects. Industry analyst and SOA expert Jason Bloomberg will strip away the hype from microservices, and clearly identify their advantages and d...
Data-intensive companies that strive to gain insights from data using Big Data analytics tools can gain tremendous competitive advantage by deploying data-centric storage. Organizations generate large volumes of data, the vast majority of which is unstructured. As the volume and velocity of this unstructured data increases, the costs, risks and usability challenges associated with managing the unstructured data (regardless of file type, size or device) increases simultaneously, including end-to-...
SYS-CON Events announced today that the "First Containers & Microservices Conference" will take place June 9-11, 2015, at the Javits Center in New York City. The “Second Containers & Microservices Conference” will take place November 3-5, 2015, at Santa Clara Convention Center, Santa Clara, CA. Containers and microservices have become topics of intense interest throughout the cloud developer and enterprise IT communities.
Buzzword alert: Microservices and IoT at a DevOps conference? What could possibly go wrong? In this Power Panel at DevOps Summit, moderated by Jason Bloomberg, the leading expert on architecting agility for the enterprise and president of Intellyx, panelists will peel away the buzz and discuss the important architectural principles behind implementing IoT solutions for the enterprise. As remote IoT devices and sensors become increasingly intelligent, they become part of our distributed cloud en...
I’ve been thinking a bit about microservices (μServices) recently. My immediate reaction is to think: “Isn’t this just yet another new term for the same stuff, Web Services->SOA->APIs->Microservices?” Followed shortly by the thought, “well yes it is, but there are some important differences/distinguishing factors.” Microservices is an evolutionary paradigm born out of the need for simplicity (i.e., get away from the ESB) and alignment with agile (think DevOps) and scalable (think Containerizati...
In this Power Panel at DevOps Summit, moderated by Jason Bloomberg, president of Intellyx, panelists Roberto Medrano, Executive Vice President at Akana; Lori MacVittie, IoT_Microservices Power PanelEvangelist for F5 Networks; and Troy Topnik, ActiveState’s Technical Product Manager; will peel away the buzz and discuss the important architectural principles behind implementing IoT solutions for the enterprise. As remote IoT devices and sensors become increasingly intelligent, they become part of ...
Announced separately, New Relic is joining the Cloud Foundry Foundation to continue the support of customers and partners investing in this leading PaaS. As a member, New Relic is contributing the New Relic tile, service broker and build pack with the goal of easing the development of applications on Cloud Foundry and enabling the success of these applications without dedicated monitoring infrastructure. Supporting Quotes "The proliferation of microservices and new technologies like Docker ha...
You often hear the two titles of "DevOps" and "Immutable Infrastructure" used independently. In his session at DevOps Summit, John Willis, Technical Evangelist for Docker, will cover the union between the two topics and why this is important. He will cover an overview of Immutable Infrastructure then show how an Immutable Continuous Delivery pipeline can be applied as a best practice for "DevOps." He will end the session with some interesting case study examples.
SYS-CON Media named Andi Mann editor of DevOps Journal. DevOps Journal is focused on this critical enterprise IT topic in the world of cloud computing. DevOps Journal brings valuable information to DevOps professionals who are transforming the way enterprise IT is done. Andi Mann, Vice President, Strategic Solutions, at CA Technologies, is an accomplished digital business executive with extensive global expertise as a strategist, technologist, innovator, marketer, communicator, and thought lea...
Even though it’s now Microservices Journal, long-time fans of SOA World Magazine can take comfort in the fact that the URL – soa.sys-con.com – remains unchanged. And that’s no mistake, as microservices are really nothing more than a new and improved take on the Service-Oriented Architecture (SOA) best practices we struggled to hammer out over the last decade. Skeptics, however, might say that this change is nothing more than an exercise in buzzword-hopping. SOA is passé, and now that people are ...
The 5th International DevOps Summit, co-located with 17th International Cloud Expo – being held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the...
"People are a lot more knowledgeable about APIs now. There are two types of people who work with APIs - IT people who want to use APIs for something internal and the product managers who want to do something outside APIs for people to connect to them," explained Roberto Medrano, Executive Vice President at SOA Software, in this SYS-CON.tv interview at Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
The 17th International Cloud Expo has announced that its Call for Papers is open. 17th International Cloud Expo, to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, APM, APIs, Microservices, Security, Big Data, Internet of Things, DevOps and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding bu...
An effective way of thinking in Big Data is composed of a methodical framework for dealing with the predicted shortage of 50-60% of the qualified Big Data resources in the U.S. This holistic model comprises the scientific and engineering steps that are involved in accelerating Big Data solutions: problem, diagnosis, facts, analysis, hypothesis, solution, prototype and implementation. In his session at Big Data Expo®, Tony Shan focused on the concept, importance, and considerations for each of t...
T-Mobile has been transforming the wireless industry with its “Uncarrier” initiatives. Today as T-Mobile’s IT organization works to transform itself in a like manner, technical foundations built over the last couple of years are now key to their drive for more Agile delivery practices. In his session at DevOps Summit, Martin Krienke, Sr Development Manager at T-Mobile, will discuss where they started their Continuous Delivery journey, where they are today, and where they are going in an effort ...