Categories: AsteriskVoIP

Full FreePBX 6.12.65 Integration Guide with Lync 2013

&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2524 " id&equals;"quads-ad2524" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<p>Installing AsteriskNow &lpar;FreePBX 6&period;12&period;65&rpar; and integration with Lync 2013<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2522 " id&equals;"quads-ad2522" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2527 " id&equals;"quads-ad2527" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2530 " id&equals;"quads-ad2530" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<p>Download AsteriskNow from the following Link<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p><a href&equals;"http&colon;&sol;&sol;www&period;asterisk&period;org&sol;downloads&sol;asterisknow">http&colon;&sol;&sol;www&period;asterisk&period;org&sol;downloads&sol;asterisknow<&sol;a><&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>First the setup window will come&colon; there I will choose No RAID on Asterisk 13 since this is a virtual machine&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-H2Q-FMN-ACI&sol;VOJw&lowbar;O1hiNI&sol;AAAAAAAANB0&sol;jzqfHYTgpfk&sol;s1600-h&sol;clip&lowbar;image001&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-eWTz-iQzDy0&sol;VOJxAPL3d6I&sol;AAAAAAAANB8&sol;Vkw9cOW2nIA&sol;clip&lowbar;image001&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image001"&sol;><&sol;a> &NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2528 " id&equals;"quads-ad2528" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine; &NewLine;<&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Here I will choose IPv4 static IP &lpar;Manual configuration&rpar; and click OK<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-&lowbar;qW5tvaic&lowbar;Y&sol;VOJxAyQQJzI&sol;AAAAAAAANCE&sol;K5zNg37OYa0&sol;s1600-h&sol;clip&lowbar;image002&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-TtPkLIIvt1I&sol;VOJxBi&lowbar;k5II&sol;AAAAAAAANCM&sol;eQ6lxoJDphk&sol;clip&lowbar;image002&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image002"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-a05H0Nvgec8&sol;VOJxCPgiTSI&sol;AAAAAAAANCU&sol;MNEE7vzHnoA&sol;s1600-h&sol;clip&lowbar;image003&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-VSHA2zlMz6g&sol;VOJxDOTSMPI&sol;AAAAAAAANCc&sol;njiZ2Q9ChSo&sol;clip&lowbar;image003&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image003"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Zghq9CTWuco&sol;VOJxDkVvnCI&sol;AAAAAAAANCk&sol;hGvdnW4JX&lowbar;0&sol;s1600-h&sol;clip&lowbar;image004&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-11D8ehpUwJ4&sol;VOJxEedGmrI&sol;AAAAAAAANCs&sol;BWfYAdG7vmE&sol;clip&lowbar;image004&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image004"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Choose the time zone according to the nearest location to you<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-BNKLhs9G5Bg&sol;VOJxEw7qN&lowbar;I&sol;AAAAAAAANC0&sol;LsHNW-UoCjY&sol;s1600-h&sol;clip&lowbar;image005&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-7LdOYcAzr5I&sol;VOJxFvciz0I&sol;AAAAAAAANC8&sol;K50zepQuJKE&sol;clip&lowbar;image005&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image005"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next&comma; we&&num;8217&semi;ll configure the root password<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-a9YwOuVzDDQ&sol;VOJxGXo-avI&sol;AAAAAAAANDE&sol;xrXaBE6KX6E&sol;s1600-h&sol;clip&lowbar;image006&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Z1LRbn1DeGE&sol;VOJxG6OCRpI&sol;AAAAAAAANDM&sol;0ePjWknIw4U&sol;clip&lowbar;image006&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image006"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Here it&&num;8217&semi;s formatting the Disk that I have assigned to the VM&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-AL&lowbar;Fkcs7Ges&sol;VOJxHt-7lyI&sol;AAAAAAAANDU&sol;7HI3Asc-SKo&sol;s1600-h&sol;clip&lowbar;image007&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;--2w&lowbar;z&lowbar;xOqeY&sol;VOJxIEEY4NI&sol;AAAAAAAANDc&sol;7pY5qUtjx0A&sol;clip&lowbar;image007&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image007"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>It should start the installation now and should download all the required packages from the internet incase they were not found on the ISO which I&&num;8217&semi;ve loaded&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-f2po-f6bIb4&sol;VOJxI1af6aI&sol;AAAAAAAANDk&sol;MNo&lowbar;wQ7iqgU&sol;s1600-h&sol;clip&lowbar;image008&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-7aDUFUFFdIw&sol;VOJxJVciVdI&sol;AAAAAAAANDs&sol;L0g09fxMS3w&sol;clip&lowbar;image008&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image008"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now the installation is about to finish and once it does&comma; the machine is supposed to restart on its own allowing you to go to the Web UI&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-URrS9DPHwfc&sol;VOJxKPoDIPI&sol;AAAAAAAAND0&sol;&lowbar;O6nSVhUr24&sol;s1600-h&sol;clip&lowbar;image009&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-isHDeFH511c&sol;VOJxK627o0I&sol;AAAAAAAAND8&sol;Mb6EGjzuN3Q&sol;clip&lowbar;image009&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image009"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Upon setup and restart&comma; you might get the following error&excl; The error states that your PBX can&&num;8217&semi;t access the internet so you might wanna double check your NIC configuration and that you&&num;8217&semi;re able to reach to it&period;&nbsp&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>This is usually related to the DNS setup on the Centos machine where &&num;8220&semi;AsteriskNow&&num;8221&semi; is setup&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-v9PU8MnCk9k&sol;VOJxMHZK6vI&sol;AAAAAAAANEM&sol;zKvc1u4isZc&sol;clip&lowbar;image010&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image010"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>If you do a test and try to update your system from the CLI window you might get this error which is related to the DNS&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk1&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306052&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk1&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>To resolve it&comma; you&&num;8217&semi;ll have to replace the localhost with any public DNS e&period;g&period; &lpar;google or comodo DNS&rpar; or any internal DNS that&&num;8217&semi;s capable of reaching out to the internet to resolve this problem&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>To edit the DNS you will have to type in the command&nbsp&semi; &&num;8220&semi;nano &sol;etc&sol;resolv&period;conf&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk2&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306052&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk2&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>The default DNS is the localhost<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk3&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306052&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk3&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>and you&&num;8217&semi;ll have to manually change it and save the&nbsp&semi; settings<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk4&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306052&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk4&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Press Ctrl &plus; X and then Press Y to save and hit Enter<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk5&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306053&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk5&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>To test that we can access the internet you can nslookup google&period;com for instance and see if it works<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk6&period;png&quest;attredirects&equals;0"><img src&equals;"http&colon;&sol;&sol;old&period;moh10ly&period;com&sol;&lowbar;&sol;rsrc&sol;1431547306053&sol;blog&sol;VoIP&sol;freepbx-6-12-65-integration-with-lync-2013&sol;voip&lowbar;asterisk6&period;png" alt&equals;""&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Once you are able to resolve the google&period;com&comma; that error will go&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now to continue&comma; let&&num;8217&semi;s setup a FreePBX Admin &lpar;Make sure you remember both username and password&rpar;&nbsp&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-SRNNIluzOh8&sol;VOJxNcc9apI&sol;AAAAAAAANEc&sol;uGnlA7Y9ex0&sol;image&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"image"&sol;><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-I84p&lowbar;79DRmA&sol;VOJxOFcGipI&sol;AAAAAAAANEk&sol;oHLLDRCE6M0&sol;s1600-h&sol;clip&lowbar;image012&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-r4VNlSqr47A&sol;VOJxPD8WGmI&sol;AAAAAAAANEs&sol;n9wVLHEItIw&sol;clip&lowbar;image012&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image012"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click on the &lpar;FreePBX Administration&rpar; and enter the username and password you have just created in the previous step&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>This will allow you to the configuration portal<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-m8E30fF&lowbar;hC8&sol;VOJxPzqQnEI&sol;AAAAAAAANE0&sol;5HI6zg71o&lowbar;o&sol;s1600-h&sol;clip&lowbar;image013&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-mjRV6iKziPA&sol;VOJxRPjXUmI&sol;AAAAAAAANE8&sol;yOjvzv0bCys&sol;clip&lowbar;image013&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image013"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Extensions configuration&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>To start&comma; let&&num;8217&semi;s configure an extension &lpar;Since I don&&num;8217&semi;t have an IP phone now&rpar; so I will use a SIP application for my test &lpar;Zoiper or Xlite would do fine&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-vf9NZCJoHcM&sol;VOJxR69&lowbar;C9I&sol;AAAAAAAANFE&sol;YHqQLYuzOxE&sol;s1600-h&sol;clip&lowbar;image014&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-T3OMycu2Hcs&sol;VOJxTDxPCOI&sol;AAAAAAAANFM&sol;X75WA4oARQc&sol;clip&lowbar;image014&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image014"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Select Chan SIP device as this talks directly with Lync Trunk then Click Submit once you choose the device &period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-FOkb4tpmldQ&sol;VOJxTrkT7wI&sol;AAAAAAAANFU&sol;wwt6OMtKwVo&sol;s1600-h&sol;clip&lowbar;image015&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-ZTENgXmFaZ0&sol;VOJxUXhqoNI&sol;AAAAAAAANFc&sol;6IWjak0s46Q&sol;clip&lowbar;image015&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image015"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will configure the new extension&&num;8217&semi;s number&comma; name and secret and port too&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-mvBafzddSW4&sol;VOJxVGcq1AI&sol;AAAAAAAANFk&sol;0sOLD2USDDs&sol;s1600-h&sol;clip&lowbar;image016&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-iiDNF3zOOr0&sol;VOJxV9FfAwI&sol;AAAAAAAANFs&sol;pz6xWE-ncVk&sol;clip&lowbar;image016&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image016"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Under device options&comma; you have to set the secret &lpar;Password&rpar; which you’ll use to login to your sip phone or sip softphone&period;&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p><strong>Note&colon;<&sol;strong><&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>You need to also make sure that the port configured under the device is what will be used for the device to login with this sip extension<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>so basically the sip port in this case is 5060 which is the default one unless you’re already using a different port then you’ll have to reconfigure it here&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-OVZZlthV7WY&sol;VOJxWj5LFYI&sol;AAAAAAAANF0&sol;A9Y8arZesxs&sol;s1600-h&sol;image&percnt;25255B7&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-XPLSaNKWJck&sol;VOJxXdv5yQI&sol;AAAAAAAANF8&sol;jhGA1ZLYujM&sol;image&lowbar;thumb&percnt;25255B3&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"image"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I&&num;8217&semi;ll leave the rest of the options on default value and click submit&period; Then apply Config<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Applying Configuration<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-g83oDaeUxVg&sol;VOJxYOnXLYI&sol;AAAAAAAANGE&sol;aWiQgfGmstU&sol;s1600-h&sol;clip&lowbar;image018&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-iF920Kmh6Ts&sol;VOJxYwKJ5uI&sol;AAAAAAAANGM&sol;6KmSoswiZ9A&sol;clip&lowbar;image018&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image018"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will use a soft phone &lpar;SIP Application&rpar; on my PC to check out if calls are working properly&period; And for the second extension a second computer with the same software or even A software like Zoiper or Xlite can be utilized on iPhone or Android for the same purpose&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-mMdXwvLdd80&sol;VOJxZrNh3zI&sol;AAAAAAAANGU&sol;V4MaRWqhSiM&sol;s1600-h&sol;clip&lowbar;image019&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-N55bDNQFfZQ&sol;VOJxatqDsVI&sol;AAAAAAAANGc&sol;Yw3K87wVOO0&sol;clip&lowbar;image019&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image019"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>No other settings are required on the SIP phone after that it should register without an issue&period; And you&&num;8217&semi;ll be able to make calls between SIP phones<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-al6QaZdhVW8&sol;VOJxbbXrqKI&sol;AAAAAAAANGk&sol;36ieb9IC8fo&sol;s1600-h&sol;clip&lowbar;image020&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-MYGXizgjfC4&sol;VOJxcE09LMI&sol;AAAAAAAANGs&sol;8RKVIQ5gmjs&sol;clip&lowbar;image020&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image020"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I am going to call my computer &lpar;3700&rpar; sip phone &lpar;Xlite&rpar; from my iPhone &lpar;Zoiper&rpar; soft phone &lpar;3800&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-mZiux9eLm5E&sol;VOJxcx2RmbI&sol;AAAAAAAANG0&sol;AnRzOZcE3Fg&sol;s1600-h&sol;clip&lowbar;image021&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-o9xFcvbgX-0&sol;VOJxd5a04AI&sol;AAAAAAAANG8&sol;sjkH13zpwQY&sol;clip&lowbar;image021&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image021"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>So calls are working properly between SIP extensions&comma; now we&&num;8217&semi;ll have to go configure Lync and Asterisk Configuration&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Before starting&comma; we&&num;8217&semi;ll have to enable the TCP protocol on Asterisk for Lync to send calls to Asterisk since Lync talks only TCP&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Enabling Asterisk to listen on TCP<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Enable TCP for Lync and SIP Phones for Asterisk<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-BgVfegR3mT4&sol;VOJxegNtD7I&sol;AAAAAAAANHE&sol;YnY3uIIUTbk&sol;s1600-h&sol;clip&lowbar;image022&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-4vumuWM33iA&sol;VOJxftngFEI&sol;AAAAAAAANHM&sol;Iq9bDiLMdWc&sol;clip&lowbar;image022&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image022"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I&&num;8217&semi;ll have to configure the local networks and the RTP port range as well&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-DhHOYHAoeRo&sol;VOJxgXW1LjI&sol;AAAAAAAANHU&sol;sVBOq0E-o&lowbar;Q&sol;s1600-h&sol;clip&lowbar;image023&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-lZbxi4SttqE&sol;VOJxha1iNhI&sol;AAAAAAAANHc&sol;T6efgb1oQMc&sol;clip&lowbar;image023&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image023"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next I&&num;8217&semi;ll click on Submit&comma; and apply configuration then on top right I&&num;8217&semi;ll click on Chan SIP to configure the ports and the right protocol<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-iIR3NhypmtM&sol;VOJxh88mNbI&sol;AAAAAAAANHk&sol;P9KkzS0TF2o&sol;s1600-h&sol;clip&lowbar;image024&percnt;25255B5&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-GPpxhRvNPrk&sol;VOJxirQeFjI&sol;AAAAAAAANHs&sol;8wEi3Pw-fhY&sol;clip&lowbar;image024&lowbar;thumb&percnt;25255B2&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image024"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Under SIP Settings&comma; make sure your settings matches the snapshot below&comma; then navigate to advanced settings<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-5&lowbar;JE3hIbb4Q&sol;VOJxjUc9YiI&sol;AAAAAAAANH0&sol;rLz1Ufnh0do&sol;s1600-h&sol;clip&lowbar;image025&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-Tf8&lowbar;fD1Rnuc&sol;VOJxkQ71-AI&sol;AAAAAAAANH8&sol;yLDzP-bavEY&sol;clip&lowbar;image025&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image025"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Under Advanced General settings make sure that CHAN&lowbar;SIP is bind to port 5061 or else calls from Lync will fail with &&num;8220&semi;Unauthorized&&num;8221&semi; error code&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-GRnPwS2p530&sol;VOJxk-p5M5I&sol;AAAAAAAANIE&sol;uXy5OBEvzK4&sol;s1600-h&sol;clip&lowbar;image026&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-Zwkt3wqN&lowbar;g0&sol;VOJxl7S4lLI&sol;AAAAAAAANIM&sol;gnbKNT0ICsg&sol;clip&lowbar;image026&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image026"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Once you change the port scroll further down to Other SIP settings and add the following variables<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Tcpenable &equals; Yes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Transport &equals; tcp<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-P4DGKWcS0wI&sol;VOJxmcdSqRI&sol;AAAAAAAANIU&sol;1tJqklYzJoQ&sol;s1600-h&sol;clip&lowbar;image027&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-QqcVvOz2gGA&sol;VOJxnE-lLOI&sol;AAAAAAAANIc&sol;btczmxHWKPI&sol;clip&lowbar;image027&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image027"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Submit the changes and apply the configuration&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Lync Configuration<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will go on Lync server now &lpar;Standard edition&rpar; and enable the TCP port for the mediation server &lpar;Collocated mediation service&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>To do so<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Right click on your Mediation server and edit properties and Enable TCP port and change it from 5068 to 5060&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-g7L9R2kC4W4&sol;VOJxn7CeYEI&sol;AAAAAAAANIk&sol;XyWHsK1RLM4&sol;s1600-h&sol;clip&lowbar;image028&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;--6gdnBrZ5u4&sol;VOJxot3yAVI&sol;AAAAAAAANIs&sol;2kHavHoZXQg&sol;clip&lowbar;image028&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image028"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I will publish the topology<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-wu-aXKn--QQ&sol;VOJxpT9lOwI&sol;AAAAAAAANI0&sol;l1YN2ymeHDg&sol;s1600-h&sol;clip&lowbar;image029&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-z8vKl8&fjlig;Mxo&sol;VOJxqd2p-JI&sol;AAAAAAAANI8&sol;egXPLQvbrpk&sol;clip&lowbar;image029&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image029"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Published the topology and now it&&num;8217&semi;s time to run the setup as it will install the mediation server role on Front end&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-kO7F2u577Ck&sol;VOJxrJJiFWI&sol;AAAAAAAANJE&sol;4gIqlH8FxE0&sol;s1600-h&sol;clip&lowbar;image030&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-uU5ngfvPGyk&sol;VOJxsKhwa&lowbar;I&sol;AAAAAAAANJM&sol;2PT03lw0LbY&sol;clip&lowbar;image030&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image030"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next I will run the second step &lpar;Setup or remove Lync Server Components&rpar;&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-LTTVgBl9nFc&sol;VOJxskQpXbI&sol;AAAAAAAANJU&sol;0eLkUxDQpDo&sol;s1600-h&sol;clip&lowbar;image031&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-pfLcvXEiP2A&sol;VOJxuOlzJYI&sol;AAAAAAAANJc&sol;tVsLAG-38mE&sol;clip&lowbar;image031&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image031"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I will go check if the mediation service is enabled now<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-H&lowbar;fnG1MJVAo&sol;VOJxujI8&lowbar;rI&sol;AAAAAAAANJk&sol;3HEAVlZsCj8&sol;s1600-h&sol;clip&lowbar;image032&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-zNm5WHsbmmo&sol;VOJxvlYJQAI&sol;AAAAAAAANJs&sol;TTS2QlogIyE&sol;clip&lowbar;image032&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image032"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I will run the command netstat -anb &gt&semi;1&period;txt<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>The command will export all the ports status on the server including each of the Lync services&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-IiAWFGJN-4k&sol;VOJxwLEa86I&sol;AAAAAAAANJ0&sol;KiTV6Y1&lowbar;&lowbar;Qs&sol;s1600-h&sol;clip&lowbar;image033&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-AmRF4f0BOSY&sol;VOJxw41oKEI&sol;AAAAAAAANJ8&sol;QIWI9i1QwSU&sol;clip&lowbar;image033&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image033"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>So Lync mediation service is listening on the default sip port 5060&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will go back to the topology and add the PSTN Gateway &lpar;AsteriskNow&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Right click on PSTN Gateways &&num;8211&semi;&gt&semi; Click add PSTN gateways<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2529 " id&equals;"quads-ad2529" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-uEcjnS9mKBY&sol;VOJxxar2FII&sol;AAAAAAAANKE&sol;M6loQBATIaE&sol;s1600-h&sol;clip&lowbar;image034&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-fleEa-mpxac&sol;VOJxyXCbhII&sol;AAAAAAAANKM&sol;sk&lowbar;yo01kYjQ&sol;clip&lowbar;image034&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image034"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-eUlKdAvMtqY&sol;VOJxyyJ1Z2I&sol;AAAAAAAANKU&sol;-jCGr&lowbar;aTt4o&sol;s1600-h&sol;clip&lowbar;image035&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-nsy-Bb3T0S0&sol;VOJxz&lowbar;JaWQI&sol;AAAAAAAANKc&sol;UW9DcXN5-ns&sol;clip&lowbar;image035&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image035"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next&comma; I will type in the AsteriskNow PBX IP address and the port that &&num;8220&semi;Chan&lowbar;SIP&&num;8221&semi; driver is listening on since all calls are going to be routed to it&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>And will select my mediation server and the Mediation server&&num;8217&semi;s configured port on Lync&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-&lowbar;tACwxrBqrI&sol;VOJx0UfdOLI&sol;AAAAAAAANKk&sol;AmfFZ&lowbar;TDN6E&sol;s1600-h&sol;clip&lowbar;image036&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-ojm-V3vObws&sol;VOJx1fTomyI&sol;AAAAAAAANKs&sol;x7CbWMxzV7o&sol;clip&lowbar;image036&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image036"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click Finish and Right click on your front end server and click properties<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Make sure you<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-1C8et118B9Q&sol;VOJx2AZHgzI&sol;AAAAAAAANK0&sol;zasSlIwokOo&sol;s1600-h&sol;clip&lowbar;image037&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-NdY8zlKZxYA&sol;VOJx3CF3QjI&sol;AAAAAAAANK8&sol;UDbE1f9RxPI&sol;clip&lowbar;image037&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image037"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click on Make default and then OK then publish the topology<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Asterisk Configuration<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Asterisk side of the Integration<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>In order for the configuration to work&comma; we&&num;8217&semi;ll have to configure a new trunk of the Asterisk IP PBX to identify where is the Lync server &period;&period;etc<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Let&&num;8217&semi;s go to our Asterisk portal&comma; configure new trunk by going to Connectivity -&gt&semi; Trunks then choose &&num;8220&semi;Add SIP&lpar;chan&lowbar;sip&rpar; Trunk&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Sv3bhBceNZk&sol;VOJx3zi-NwI&sol;AAAAAAAANLE&sol;T6uKVUoTpSk&sol;s1600-h&sol;clip&lowbar;image038&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-HzODlNCLklw&sol;VOJx47lH5DI&sol;AAAAAAAANLM&sol;L6SbTCkLPWU&sol;clip&lowbar;image038&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image038"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>You will need to fulfill the boxes in red below each with what pertain to it&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-Wv3RCggZ6z0&sol;VOJx5o26gsI&sol;AAAAAAAANLU&sol;UBfNnNUsdWY&sol;s1600-h&sol;clip&lowbar;image039&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-qV84-tSysdg&sol;VOJx6n2HkXI&sol;AAAAAAAANLc&sol;NpZKLqR6UJo&sol;clip&lowbar;image039&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image039"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>The IP 172&period;16&period;24&period;195 is my Mediation server &lpar;Front end since Mediation server is collocated&rpar;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>TCP is the protocol that Lync uses<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>5060 is the port which Lync listens on<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>I will clear all the settings below &&num;8220&semi;User Details&&num;8221&semi; and save this trunk<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-6dzn5MNpZSk&sol;VOJx7dnZGDI&sol;AAAAAAAANLk&sol;ZTPnbJSVwWM&sol;s1600-h&sol;clip&lowbar;image040&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-y7Egn42j6oc&sol;VOJx8LRaWEI&sol;AAAAAAAANLs&sol;mh6TYjdP1L8&sol;clip&lowbar;image040&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image040"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now field cleared and next will click on Submit Changes&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-fQntthOwkgY&sol;VOJx87Pf7yI&sol;AAAAAAAANL0&sol;-jDnb4D6T80&sol;s1600-h&sol;clip&lowbar;image041&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-fxsSUErjVPI&sol;VOJx9qewyXI&sol;AAAAAAAANL8&sol;GNYg4n2x878&sol;clip&lowbar;image041&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image041"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Inbound Routes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>I have applied the configuration and now it&&num;8217&semi;s time to create routes on Asterisk to route calls to Lync&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>To configure routes&comma; click on Connectivity and then Inbound routes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-es7hHBpIvLo&sol;VOJx-bhkFTI&sol;AAAAAAAANME&sol;V75BW2axoAI&sol;s1600-h&sol;clip&lowbar;image042&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-h6nOpExzQkk&sol;VOJx&lowbar;dH7-GI&sol;AAAAAAAANMM&sol;tfA8xF04xEE&sol;clip&lowbar;image042&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image042"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Nu&lowbar;HvEV07XM&sol;VOJyAAhVs5I&sol;AAAAAAAANMU&sol;iTK0GQ5SrUc&sol;s1600-h&sol;clip&lowbar;image043&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-nL4-2hmEGcM&sol;VOJyA-WUZJI&sol;AAAAAAAANMc&sol;C5GCfM7ujmk&sol;clip&lowbar;image043&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image043"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-ri12FrO9K3A&sol;VOJyBkbGrJI&sol;AAAAAAAANMk&sol;wJ4OcUFr8J8&sol;s1600-h&sol;clip&lowbar;image044&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-e3eBjuI3M4Y&sol;VOJyCQaGTvI&sol;AAAAAAAANMs&sol;7As4Mi8XhDU&sol;clip&lowbar;image044&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image044"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click Submit now and Apply Config for changes to take effect<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-2fnLq3r4UPI&sol;VOJyC21gdOI&sol;AAAAAAAANM0&sol;kbAEgfK8YGc&sol;s1600-h&sol;clip&lowbar;image045&percnt;25255B3&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-IOJfUII25Eo&sol;VOJyDtY6qBI&sol;AAAAAAAANM8&sol;qWejcHB5eKA&sol;clip&lowbar;image045&lowbar;thumb&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image045"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Outbound Routes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>It&&num;8217&semi;s time to configure the outbound routes&comma; Depending on your Lync users URI or telephone number and extension number you will have to configure<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Your outbound routes according so it will be able to route it properly to Lync users&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>I&&num;8217&semi;m going to show my user&&num;8217&semi;s uri and extension on Lync server and what does it look like now<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-kDg-0onVsnI&sol;VOJyESuos1I&sol;AAAAAAAANNE&sol;mFlkJRrXi7w&sol;s1600-h&sol;clip&lowbar;image046&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-FACjmV34yH4&sol;VOJyFRDzpyI&sol;AAAAAAAANNM&sol;RxRME--cpp8&sol;clip&lowbar;image046&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image046"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>So the entire number is &plus;2163314210 but my extension is basically 4210<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now again click on Connectivity &gt&semi; Outbound routes and add new &&num;8220&semi;Dial Pattern&&num;8221&semi; as following<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>The &plus;216331 will be automatically entered by AsteriskNow once you dial the number defined in the &&num;8220&semi;Match Pattern&&num;8221&semi; field<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-Y-HlOcrqST0&sol;VOJyF2pfvLI&sol;AAAAAAAANNU&sol;cQOvlXNWEIw&sol;s1600-h&sol;clip&lowbar;image047&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-7NoQnlplUc8&sol;VOJyGmXIlgI&sol;AAAAAAAANNc&sol;Z5DPuIXeamg&sol;clip&lowbar;image047&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image047"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Once finished configuring the required dial patterns you can submit and apply …<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-q-pYUd4gRlY&sol;VOJyHQY4QDI&sol;AAAAAAAANNk&sol;navicJflEYA&sol;s1600-h&sol;clip&lowbar;image048&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-B9UU&lowbar;zwu1bk&sol;VOJyIAI6loI&sol;AAAAAAAANNs&sol;z80rixTArRw&sol;clip&lowbar;image048&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image048"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Lync Voice Route Configuration<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now it&&num;8217&semi;s time to go configure Lync Routes&comma; Go to Lync Server and open the Control panel&comma; Go to Voice routing there we will go under the dial plan<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>tab and choose New &bsol; User Dial Plan&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>If you don&&num;8217&semi;t want to mess up your Global dial plan or let every new user be able to use this dial plan &comma;you will have to configure a user dial plan&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-5PKZJDZNr5A&sol;VOJyI0YywGI&sol;AAAAAAAANN0&sol;DyPCl7ffvJw&sol;s1600-h&sol;clip&lowbar;image049&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-VqqiKv7jfos&sol;VOJyJ0zCCzI&sol;AAAAAAAANN8&sol;3TsJ0E7nbrQ&sol;clip&lowbar;image049&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image049"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>I will have to create 2 normalization rules at least in the new dial plan&period; The first one is going to normalize the inbound numbers<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>And the second one is going to normalize the outbound&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-W78jeymHK0I&sol;VOJyKbD&lowbar;KZI&sol;AAAAAAAANOE&sol;iClNZEP6ozg&sol;s1600-h&sol;clip&lowbar;image050&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Bg&lowbar;RdiUJA6Q&sol;VOJyLZ9ATtI&sol;AAAAAAAANOM&sol;gaOVe6wG6gE&sol;clip&lowbar;image050&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image050"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Since on PBX I choose to create extensions that begins with 3 and are 4 digits long&comma; I will create a normalization rule that&&num;8217&semi;s exactly 4 digits<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>And it starts with 3&period; depending on your PBX configuration for the extension and inbound routes Lync needs to either have or not have the &plus; in the dial plan<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-A2WOPj5WrxE&sol;VOJyL7-nsxI&sol;AAAAAAAANOU&sol;6iu6E5gGHzo&sol;s1600-h&sol;clip&lowbar;image051&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-&lowbar;bGgc&lowbar;j3dFA&sol;VOJyMxtRtzI&sol;AAAAAAAANOc&sol;wzEg2WOCRr4&sol;clip&lowbar;image051&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image051"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will create the second dial plan which is from Asterisk to Lync &&num;8220&semi;To match the full URI&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>The normalization rule that I am creating here is 10 digits long and it starts with 21633 and it has &plus; digits to add<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-caCWqTjrpxQ&sol;VOJyNcI46tI&sol;AAAAAAAANOk&sol;YeuulXzupP8&sol;s1600-h&sol;clip&lowbar;image052&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-gGIX-ku7AwY&sol;VOJyOcZiqNI&sol;AAAAAAAANOs&sol;0OM51175GOI&sol;clip&lowbar;image052&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image052"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-L8tQXEJG8IY&sol;VOJyPO1QO6I&sol;AAAAAAAANO0&sol;vD3YxnlLAvg&sol;s1600-h&sol;clip&lowbar;image053&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-N2U1RJEocjI&sol;VOJyQL8k7uI&sol;AAAAAAAANO8&sol;hA7APFQDDzQ&sol;clip&lowbar;image053&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image053"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>After creating the Dial plans&comma; it&&num;8217&semi;s time to test them now&excl; I will go to the Test Voice Routing Tab and create a test<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>So the test for Asterisk Extensions goes well<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-PZ&lowbar;8uBNWPSY&sol;VOJyQsG03YI&sol;AAAAAAAANPE&sol;-wkFlYUGIXw&sol;s1600-h&sol;clip&lowbar;image054&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-DpuIm7gcNk8&sol;VOJyRmNYcwI&sol;AAAAAAAANPM&sol;eoPQM4eIOWo&sol;clip&lowbar;image054&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image054"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now I will test the Lync dial plan<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-ah5Cgt5NE1w&sol;VOJySbtYFmI&sol;AAAAAAAANPU&sol;JMyNpGkbnrY&sol;s1600-h&sol;clip&lowbar;image055&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-zxb8vp&lowbar;TXLA&sol;VOJyTRdoI9I&sol;AAAAAAAANPc&sol;-hoUHUT0uDk&sol;clip&lowbar;image055&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image055"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Since Asterisk is going to send the full URI as it will auto complete it even if the user enters the extension only &lpar;4210&rpar; then our rule is configured properly<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now after configuring rules and testing them it&&num;8217&semi;s time to go to Voice Policy tab and create a new voice policy for Asterisk<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-c91bag4dkrM&sol;VOJyT7V-c3I&sol;AAAAAAAANPk&sol;X2dbqyA2qms&sol;s1600-h&sol;clip&lowbar;image056&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;--F&lowbar;oT-ZF7IU&sol;VOJyU79jf1I&sol;AAAAAAAANPs&sol;a8QxGygJDhk&sol;clip&lowbar;image056&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image056"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click on New under &&num;8220&semi;Associated PSTN Usages&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-bPOnXTt5NAM&sol;VOJyVsijqTI&sol;AAAAAAAANP0&sol;1emy7MQr&lowbar;Z4&sol;s1600-h&sol;clip&lowbar;image057&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-CdxFEMwf4ac&sol;VOJyWQObqYI&sol;AAAAAAAANP8&sol;11ADFU7Yw34&sol;clip&lowbar;image057&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image057"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Click on New under Associated Routes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-qI591Tzg1kc&sol;VOJyXEN5OmI&sol;AAAAAAAANQE&sol;1Obat4Z4CGM&sol;s1600-h&sol;clip&lowbar;image058&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-GnvDrbTydSA&sol;VOJyXzkPCxI&sol;AAAAAAAANQM&sol;3mP1tJpCWWA&sol;clip&lowbar;image058&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image058"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>You can leave the pattern &period;&ast; &lpar;Which will allow all calls&rpar; for the time being until we test everything between both systems&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Scroll down and click on Add next to &&num;8220&semi;Associated Trunks&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-SQDbqPy7SSM&sol;VOJyYqU65xI&sol;AAAAAAAANQU&sol;CaVy0rNalvc&sol;s1600-h&sol;clip&lowbar;image059&percnt;25255B6&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-SJJFu4TNKfs&sol;VOJyZV4Vz6I&sol;AAAAAAAANQc&sol;UKpSYNKNlyI&sol;clip&lowbar;image059&lowbar;thumb&percnt;25255B3&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image059"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-WosU44kNwrY&sol;VOJyaK2MsbI&sol;AAAAAAAANQk&sol;UGsKJlbIOmA&sol;s1600-h&sol;clip&lowbar;image060&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-AXH-qfV3pI4&sol;VOJyawDKMlI&sol;AAAAAAAANQs&sol;oql7owPkcpQ&sol;clip&lowbar;image060&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image060"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Select the available trunk and add it then Click OK 3 times and commit all changes<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-MNi93eO&lowbar;CLw&sol;VOJybZuTKMI&sol;AAAAAAAANQ0&sol;alSG3SnVNLU&sol;s1600-h&sol;clip&lowbar;image061&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-j8NG7OwVtX4&sol;VOJycUz&lowbar;IwI&sol;AAAAAAAANQ8&sol;08KvTk3NEO8&sol;clip&lowbar;image061&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image061"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Now after applying all the configuration&comma; It&&num;8217&semi;s time to apply some tests&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>From Asterisk to Lync<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Below when I initiated the call I managed to see the SIP invite coming from the IP &&num;8220&semi;172&period;16&period;24&period;195&&num;8221&semi; which is my AsteriskNOW PBX IP going to Lync and then the phone starts ringing&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>When I have answered the call the RTP starts flowing&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-mSUa1DPoMeE&sol;VOJydoph75I&sol;AAAAAAAANRE&sol;ILw5wsWj&lowbar;LQ&sol;s1600-h&sol;clip&lowbar;image062&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-Owff1QcMERg&sol;VOJyevFzDGI&sol;AAAAAAAANRM&sol;6VUsFftBcK8&sol;clip&lowbar;image062&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image062"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Here I typed RTP in the Wireshark filter and could see the RTP media flowing between Asterisk and Lync Mediation server on the G&period;711 codec&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-kE00cusPocU&sol;VOJygMfMXLI&sol;AAAAAAAANRU&sol;Cv5ka3-F-78&sol;s1600-h&sol;clip&lowbar;image063&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh5&period;ggpht&period;com&sol;-xRASdqMEV2M&sol;VOJyhSYFLeI&sol;AAAAAAAANRc&sol;lpoyvOMiXc0&sol;clip&lowbar;image063&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image063"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Note&colon;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>What I like about Asterisk is that it sends all users information along with the call and doesn&&num;8217&semi;t strip them out&comma; in extension information I have typed the extension name as &&num;8220&semi;NEWPHONE&&num;8221&semi; and put it all in capitals&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-PYunD4NMOqw&sol;VOJyiP4JVgI&sol;AAAAAAAANRk&sol;pjzAyZzy&lowbar;JY&sol;s1600-h&sol;clip&lowbar;image064&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-yPBWKMe5K0g&sol;VOJyi5lyEpI&sol;AAAAAAAANRs&sol;1RrvExMkXW4&sol;clip&lowbar;image064&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image064"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>From Lync to Asterisk<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>Since the call is from Lync to Asterisk&comma; then I will have to run wireshark or trace on Asterisk to see the Invite&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-qQz70WslR0c&sol;VOJyjgX2UuI&sol;AAAAAAAANR0&sol;GtFkhF4GgPk&sol;s1600-h&sol;clip&lowbar;image065&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh4&period;ggpht&period;com&sol;-LwuxE3cpeTo&sol;VOJykmxb9UI&sol;AAAAAAAANR8&sol;mwMjV3puRxw&sol;clip&lowbar;image065&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image065"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>You can see Asterisk logs if you click on &&num;8220&semi;Reports&gt&semi; Asterisk LogFiles&&num;8221&semi;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-vfAePnZ8XO0&sol;VOJymkziUII&sol;AAAAAAAANSE&sol;zPLwri&lowbar;hIXY&sol;s1600-h&sol;clip&lowbar;image066&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh6&period;ggpht&period;com&sol;-BzLLELWe-cs&sol;VOJyoE8bjFI&sol;AAAAAAAANSI&sol;2u9re2BWJrM&sol;clip&lowbar;image066&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image066"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Once the call has ended I was able to see that in detail as well in the logs&period;<&sol;p>&NewLine;&NewLine;&NewLine;&NewLine;<p>All the media was<&sol;p>&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2526 " id&equals;"quads-ad2526" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;&NewLine;&NewLine;&NewLine;<figure class&equals;"wp-block-image"><a href&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-HR&lowbar;oVSb6icg&sol;VOJypLaIK3I&sol;AAAAAAAANSU&sol;6p&lowbar;sYcqjfWg&sol;s1600-h&sol;clip&lowbar;image067&percnt;25255B4&percnt;25255D&period;png"><img src&equals;"http&colon;&sol;&sol;lh3&period;ggpht&period;com&sol;-fn3TtBTj3Vo&sol;VOJyp12tNzI&sol;AAAAAAAANSc&sol;FO2exmkByn0&sol;clip&lowbar;image067&lowbar;thumb&percnt;25255B1&percnt;25255D&period;png&quest;imgmax&equals;800" alt&equals;"clip&lowbar;image067"&sol;><&sol;a><&sol;figure>&NewLine;&NewLine;&NewLine;&NewLine;<p>Next few days I will install and configure Brekeke to work with both &lpar;Asterisk and Lync&rpar; in the same environment… and share my deployment update with you all&period;<&sol;p>&NewLine;&NewLine;<&excl;-- WP QUADS Content Ad Plugin v&period; 2&period;0&period;92 -->&NewLine;<div class&equals;"quads-location quads-ad2531 " id&equals;"quads-ad2531" style&equals;"float&colon;none&semi;margin&colon;0px 3px 3px 3px&semi;padding&colon;0px 0px 0px 0px&semi;" data-lazydelay&equals;"0">&NewLine;&NewLine;<&sol;div>&NewLine;&NewLine;

moh10ly

Share
Published by
moh10ly

Recent Posts

Reset passwords for Active Directory Users

Reset and manage your Active Directory users' Passwords Active Directory is one of the most…

3 years ago

Finding Exchange Database hidden mailboxes. ​

Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…

3 years ago

Setting up ADConnect and PTA (Password auth through) servers agents behind proxy

If you're using a Proxy server in your firewall or in your network and have…

3 years ago

Get Report of Active Directory Locked Accounts and Machine they logged in from

Story:I got some clients  that have reported some of their users being locked out and…

3 years ago

Checking and Providing Full and SendAs delegate access on O365 Exchange Online

Delegate Permissions This is a code that I have wrote recently to check if an…

3 years ago

Retrieving attachments from Exchange mailbox using python

Story: I got a request from a client who constantly gets CVs and have to…

4 years ago

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298

Warning: Undefined array key "adsense_ad_type" in /www/wwwroot/www.moh10ly.com/wp-content/plugins/quick-adsense-reloaded/includes/amp-condition-display.php on line 298