Click here to close now.


Microservices Expo Authors: Lori MacVittie, Pat Romanski, Jason Bloomberg, Elizabeth White, Yeshim Deniz

Related Topics: Microsoft Cloud, Microservices Expo, Silverlight, Agile Computing, Release Management , CMS

Microsoft Cloud: 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 ( and your favorite softphone, for which I chose X-Lite ( 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 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 -

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.

@MicroservicesExpo Stories
At DevOps Summit NY there’s been a whole lot of talk about not just DevOps, but containers, IoT, and microservices. Sessions focused not just on the cultural shift needed to grow at scale with a DevOps approach, but also made sure to include the network ”plumbing” needed to ensure success as applications decompose into the microservice architectures enabling rapid growth and support for the Internet of (Every)Things.
For it to be SOA – let alone SOA done right – we need to pin down just what "SOA done wrong" might be. First-generation SOA with Web Services and ESBs, perhaps? But then there's second-generation, REST-based SOA. More lightweight and cloud-friendly, but many REST-based SOA practices predate the microservices wave. Today, microservices and containers go hand in hand – only the details of "container-oriented architecture" are largely on the drawing board – and are not likely to look much like S...
Despite all the talk about public cloud services and DevOps, you would think the move to cloud for enterprises is clear and simple. But in a survey of almost 1,600 IT decision makers across the USA and Europe, the state of the cloud in enterprise today is still fraught with considerable frustration. The business case for apps in the real world cloud is hybrid, bimodal, multi-platform, and difficult. Download this report commissioned by NTT Communications to see the insightful findings – registra...
Manufacturing has widely adopted standardized and automated processes to create designs, build them, and maintain them through their life cycle. However, many modern manufacturing systems go beyond mechanized workflows to introduce empowered workers, flexible collaboration, and rapid iteration. Such behaviors also characterize open source software development and are at the heart of DevOps culture, processes, and tooling.
Any Ops team trying to support a company in today’s cloud-connected world knows that a new way of thinking is required – one just as dramatic than the shift from Ops to DevOps. The diversity of modern operations requires teams to focus their impact on breadth vs. depth. In his session at DevOps Summit, Adam Serediuk, Director of Operations at xMatters, Inc., will discuss the strategic requirements of evolving from Ops to DevOps, and why modern Operations has begun leveraging the “NoOps” approa...
Between the compelling mockups and specs produced by analysts, and resulting applications built by developers, there exists a gulf where projects fail, costs spiral, and applications disappoint. Methodologies like Agile attempt to address this with intensified communication, with partial success but many limitations. In his session at DevOps Summit, Charles Kendrick, CTO and Chief Architect at Isomorphic Software, will present a revolutionary model enabled by new technologies. Learn how busine...
DevOps has often been described in terms of CAMS: Culture, Automation, Measuring, Sharing. While we’ve seen a lot of focus on the “A” and even on the “M”, there are very few examples of why the “C" is equally important in the DevOps equation. In her session at @DevOps Summit, Lori MacVittie, of F5 Networks, will explore HTTP/1 and HTTP/2 along with Microservices to illustrate why a collaborative culture between Dev, Ops, and the Network is critical to ensuring success.
The APN DevOps Competency highlights APN Partners who demonstrate deep capabilities delivering continuous integration, continuous delivery, and configuration management. They help customers transform their business to be more efficient and agile by leveraging the AWS platform and DevOps principles.
Containers are changing the security landscape for software development and deployment. As with any security solutions, security approaches that work for developers, operations personnel and security professionals is a requirement. In his session at @DevOpsSummit, Kevin Gilpin, CTO and Co-Founder of Conjur, will discuss various security considerations for container-based infrastructure and related DevOps workflows.
Overgrown applications have given way to modular applications, driven by the need to break larger problems into smaller problems. Similarly large monolithic development processes have been forced to be broken into smaller agile development cycles. Looking at trends in software development, microservices architectures meet the same demands. Additional benefits of microservices architectures are compartmentalization and a limited impact of service failure versus a complete software malfunction....
The last decade was about virtual machines, but the next one is about containers. Containers enable a service to run on any host at any time. Traditional tools are starting to show cracks because they were not designed for this level of application portability. Now is the time to look at new ways to deploy and manage applications at scale. In his session at @DevOpsSummit, Brian “Redbeard” Harrington, a principal architect at CoreOS, will examine how CoreOS helps teams run in production. Attende...
With containerization using Docker, the orchestration of containers using Kubernetes, the self-service model for provisioning your projects and applications and the workflows we built in OpenShift is the best in class Platform as a Service that enables introducing DevOps into your organization with ease. In his session at DevOps Summit, Veer Muchandi, PaaS evangelist with RedHat, will provide a deep dive overview of OpenShift v3 and demonstrate how it helps with DevOps.
IT data is typically silo'd by the various tools in place. Unifying all the log, metric and event data in one analytics platform stops finger pointing and provides the end-to-end correlation. Logs, metrics and custom event data can be joined to tell the holistic story of your software and operations. For example, users can correlate code deploys to system performance to application error codes.
Containers are revolutionizing the way we deploy and maintain our infrastructures, but monitoring and troubleshooting in a containerized environment can still be painful and impractical. Understanding even basic resource usage is difficult - let alone tracking network connections or malicious activity. In his session at DevOps Summit, Gianluca Borello, Sr. Software Engineer at Sysdig, will cover the current state of the art for container monitoring and visibility, including pros / cons and li...
As the world moves towards more DevOps and microservices, application deployment to the cloud ought to become a lot simpler. The microservices architecture, which is the basis of many new age distributed systems such as OpenStack, NetFlix and so on, is at the heart of Cloud Foundry - a complete developer-oriented Platform as a Service (PaaS) that is IaaS agnostic and supports vCloud, OpenStack and AWS. In his session at 17th Cloud Expo, Raghavan "Rags" Srinivas, an Architect/Developer Evangeli...
In their session at DevOps Summit, Asaf Yigal, co-founder and the VP of Product at, and Tomer Levy, co-founder and CEO of, will explore the entire process that they have undergone – through research, benchmarking, implementation, optimization, and customer success – in developing a processing engine that can handle petabytes of data. They will also discuss the requirements of such an engine in terms of scalability, resilience, security, and availability along with how the archi...
In a report titled “Forecast Analysis: Enterprise Application Software, Worldwide, 2Q15 Update,” Gartner analysts highlighted the increasing trend of application modernization among enterprises. According to a recent survey, 45% of respondents stated that modernization of installed on-premises core enterprise applications is one of the top five priorities. Gartner also predicted that by 2020, 75% of
DevOps Summit at Cloud Expo 2014 Silicon Valley was a terrific event for us. The Qubell booth was crowded on all three days. We ran demos every 30 minutes with folks lining up to get a seat and usually standing around. It was great to meet and talk to over 500 people! My keynote was well received and so was Stan's joint presentation with RingCentral on Devops for BigData. I also participated in two Power Panels – ‘Women in Technology’ and ‘Why DevOps Is Even More Important than You Think,’ both ...
The web app is agile. The REST API is agile. The testing and planning are agile. But alas, data infrastructures certainly are not. Once an application matures, changing the shape or indexing scheme of data often forces at best a top down planning exercise and at worst includes schema changes that force downtime. The time has come for a new approach that fundamentally advances the agility of distributed data infrastructures. Come learn about a new solution to the problems faced by software organ...
All we need to do is have our teams self-organize, and behold! Emergent design and/or architecture springs up out of the nothingness! If only it were that easy, right? I follow in the footsteps of so many people who have long wondered at the meanings of such simple words, as though they were dogma from on high. Emerge? Self-organizing? Profound, to be sure. But what do we really make of this sentence?