<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Jason Lee</title>
	
	<link>http://jasonmlee.net</link>
	<description>bytes about bits in church IT</description>
	<lastBuildDate>Wed, 22 Feb 2012 16:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jasonmlee" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="jasonmlee" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">jasonmlee</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Site to Site Streaming without breaking the bank – Test 1</title>
		<link>http://jasonmlee.net/archives/475</link>
		<comments>http://jasonmlee.net/archives/475#comments</comments>
		<pubDate>Wed, 22 Feb 2012 16:00:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Ministry]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CITRT]]></category>
		<category><![CDATA[Galesburg]]></category>
		<category><![CDATA[Peoria]]></category>
		<category><![CDATA[Roku]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Zixi]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/475</guid>
		<description><![CDATA[About this time last year we were preparing to open our campus in Galesburg, IL.&#160; Since the opening last spring this Campus has been using the recording of Saturday night’s teaching during their 11 am service on Sundays.&#160; This solution has been a fairly stable, but has hasn’t operated without issues.&#160; Additionally our pastor has [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin: 0px 10px 0px 0px;float: right" align="right" src="http://www.galesburg.com/archive/x128432719/g26c2e20000000000005461ea45d1f02cd7790e69d940af46a5bc574a93.jpg" width="246" height="160" />About this time last year we were preparing to open our campus in Galesburg, IL.&#160; Since the opening last spring this Campus has been using the recording of Saturday night’s teaching during their 11 am service on Sundays.&#160; This solution has been a fairly stable, but has hasn’t operated without issues.&#160; Additionally our pastor has really wanted to be able to teach the Galesburg campus live but we have multiple limitations… the distance between campuses is 50+ miles, our Peoria Campus is about 3-5 miles from any internet connections that can provide more than 10mb upload and any ISPs offering more speed has wanted nearly 6 figures in construction costs, and point to point connectivity is way more than we can afford.&#160; </p>
<p>In addition to the current limitations the locations we are evaluating for future campuses don’t improve limitations on the list above.. in fact, they might be even more challenging.&#160; Yet, being live is a huge desire from our leadership, so our quest continues.</p>
<p>Since Fiber isn’t an option at either of our campuses (but hopefully soon), we are limited to 50&#215;10 cable modem in Peoria and a 16&#215;2 cable modem in Galesburg. </p>
<p>our requirements for site to site streaming needs to:   <br />-&#160; provide 1080i display in the remote locations    <br />-&#160; not rely upon a private point to point connection    <br />-&#160; not require more than 10 mb upload from the sending location    <br />-&#160; be a solution that is easily reproduced for future sites in smaller towns with limited connectivity    <br />-&#160; be easily powered up and down by volunteers (not a 30 step process between multiple platforms).</p>
<p><img style="margin: 0px 10px 0px 0px;float: left" align="left" src="http://www.haivision.com/products/img_products/mako.png" width="197" height="42" />We have demoed the <a href="http://www.haivision.com/products/mako">Haivision Mako</a> encoder/decoders and while the encoded video they produce is pretty amazing.. the pricetag is way to high to “not break the bank” not to mention&#160; too high for for a “test environment” as we figure out what “live streaming” really means to our organization.&#160; <em>(However, you should at minimum demo their gear.. the Haivision gear gives a great benchmark for anything else you test.)</em></p>
<p>So we have been doing some testing with various other streaming solutions and thought we might share our mileage. </p>
<p>For our testing / phase 1 project we decided to try several pieces of gear:   <br />-&#160; Marshall VS-102 Encoder/Decoders    <br />-&#160; Wirecast and Wowza Streaming to a Roku    <br />-&#160; Marshall VS-102 and Zixi.com Hybrid</p>
<p><img style="margin: 5px 10px 0px 0px;float: left" align="left" src="http://www.lcdracks.com/servers-cameras/servers/images/display-VS-102HDI.jpg" width="169" height="64" />Our Media director thru the <a href="http://churchtechleaders.org/">Church Technical Leaders</a> and our peers at Willow Creek came across a encoder/decoder hardware (Marshall VS-102) made by the Display Monitor company <a href="http://www.lcdracks.com/servers-cameras/#servers">Marshall Electronics</a> (and <a href="http://www.marshall-usa.com/">Marshall USA</a>).&#160; We had heard that people were having good success using the VS-102 on the LAN but the device was capable of WAN streaming site to site.&#160; The hardware is also able to additionally stream bi-directional Audio… (hmm maybe ClearCom in addition to the video’s audio?) This device across a LAN some pretty awesome results!&#160; I came into the test expecting YouTube quality and was amazed.&#160; If you are looking for a way to extend your HD/SDI video infrastructure this is a device you should checkout.&#160; I don’t know of many hardware encoder/decoders in this price point … let alone something that can provide such a quality signal.</p>
<p>After a local LAN test, We quickly configured the boxes and streamed from site to site over our hardware VPN connections.&#160; Remember we are using cable modems for our internet.. and the streaming at 1mb was solid.. but video quality was lacking… moving much above 2.5 mb we started to get a lot of jitter and audio drop outs.&#160; If you have more than 10 mb upload.. I suspect you would have much better results, but those are just suspicions since we weren’t able to do such testing.</p>
<p><img style="margin: 1px 10px 0px 0px;float: right" align="right" src="http://boofly.com/_reviewsfromtheshed/wp-content/uploads/2011/01/zixi-netgear.jpg" width="177" height="101" />Next enter <a href="http://chris.kehayias.com/">Chris Kehayias</a> and his teaching us about <a href="http://www.zixi.com/">Zixi.com</a>.&#160; Zixi is an internet based “private CDN” (Content Delivery Network), their strength is delivering HD video content over the public internet, including higher latency connections without the receiving end dropping frames or loosing quality or dropping audio.&#160; The really awesome piece of the puzzle is the ability to stream from Zixi to a Netgear 550 Media Player.. (a endpoint and decoder for under $100 similar concept to roku).</p>
<p>So with all this new knowledge we started some field testing in Galesburg, so I thought I would share what we have tested and what our results were.</p>
<p>We first started streaming site to site with the two VS-102 units, with similar results to our pretesting, dropping frames and audio if we went above 3 mb.&#160; Next we tested a roku streaming via the Amazon EC2 services but had stability issues even at 1 mb.&#160; The quality of the video, when stable was pretty good, but couldn’t get it dialed in to keep a constant connection.&#160; Next we configured the VS-102 encoder to stream a TS-Mpeg stream rather than the default streaming VS-102 to VS-102.&#160; It streams to the Zixi “sending” application on a PC on the same network.&#160; This PC is responsible for applying the Zixi goodness to the stream and sending it to their cloud.&#160; Then at the remote campus we configured a Netgear 550 Media Player, pointed it to the stream and we have video.&#160; We let the stream ‘chew’ for over 2 1/2 hrs, never dropped a frame or received the audio garbled.&#160; </p>
<p>The only real test we couldn’t get working was to us the VS-102 decoder rather than the Netgear 550.&#160; This was because we couldn’t get the VS-102 to receive what the Zixi receiver was pushing across the LAN.&#160; We are working with Marshall support and expect to test this part soon.&#160; Our motivation to getting the VS-102 to be the end point in Galesburg, 1 is the output of HD/SDI but also hopefully an improved video output beyond the Netgear Media Player.</p>
<p>After a fairly strong showing in Galesburg on Friday, we took the advice of Chris Kehayias, testing the stream during service to see the impact when our Wi-Fi is most populated and everything is buzzing… So during the Sunday Am services we tried streaming from the Peoria Campus to my house via Zixi, first 2 hrs total fail.. too much chewing thru our upload… and after smacking around a dropbox upload we were able to get a stable connection to Zixi and from there smooth sailing… even while the Sending Zixi software reporting having to recover over 50k dropped packets.&#160; On the receiving end, you wouldn’t have known that Zixi was working so hard to keep the stream stable.</p>
<p>Overall I have been impressed by the flexibility of the VS-102, however their support has been limited.&#160; The service of Zixi has been pretty amazing..&#160; keeping a stream rock solid even with pretty poor ISP conditions.</p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/DOSMRmsg5D4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/475/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Ten Reasons to attend the Church IT Roundtable 2012</title>
		<link>http://jasonmlee.net/archives/474</link>
		<comments>http://jasonmlee.net/archives/474#comments</comments>
		<pubDate>Mon, 20 Feb 2012 16:00:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[ChurchIT RoundTable]]></category>
		<category><![CDATA[Ministry]]></category>
		<category><![CDATA[CITRT]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/474</guid>
		<description><![CDATA[The 2012 top ten reasons to attend the Church IT RoundTable in Dallas Texas April 18th – 20th.
&#160;
10. You have a project you need to finish by May 1st and don’t have a clue how to do it… nothing like 100+ free consultants to help you.
9. BBQ (nuff said)
8. North Texas spring thunderstorms are awesome!
7. [...]]]></description>
			<content:encoded><![CDATA[<p>The 2012 top ten reasons to attend the <a href="http://www.churchitnetwork.com/spring2012/">Church IT RoundTable in Dallas Texas April 18th – 20th.</a></p>
<p>&#160;</p>
<p>10. You have a project you need to finish by May 1st and don’t have a clue how to do it… nothing like 100+ free consultants to help you.</p>
<p>9. BBQ (nuff said)</p>
<p>8. North Texas spring thunderstorms are awesome!</p>
<p>7. LAN Party (Throw back to an old school LAN party) Bring your own DEW.</p>
<p>6. In &amp; Out Burger AND Chick-Fila AND Hard 8 BBQ in the same city!</p>
<p>5. <a href="http://www.churchitnetwork.com/spring2012/">Free Workshops</a> on Networking/Vmware, VOIP, Wifi and Exchange.&#160; Yes I said FREE!</p>
<p>4. Trying out some of the cheapest most promising site to site streaming gear.</p>
<p>3. Building relationships with some of the most <a href="http://www.churchitnetwork.com/spring2012/">committed partners (aka vendors)</a> serving the Church IT market who are ready to make your ministry shine.</p>
<p>2.&#160; Because everyone else is going.. and you’ll be sad if you aren’t.</p>
<p>1. Hundreds possibly Thousands of Dollars worth of training and peer learning for only the cost of admission $75!</p>
<p><a href="http://www.churchitnetwork.com/spring2012/">Don’t wait Register NOW!</a></p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/5n5kUq5nCk4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/474/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Lync Failover to Backup Registrar “Got Ya”</title>
		<link>http://jasonmlee.net/archives/459</link>
		<comments>http://jasonmlee.net/archives/459#comments</comments>
		<pubDate>Mon, 06 Feb 2012 16:07:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IPO]]></category>
		<category><![CDATA[IPOffice]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[POTs]]></category>
		<category><![CDATA[PSTN]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/?p=459</guid>
		<description><![CDATA[Project Scope     Preparing for Deployment – Research and Education and Pricing     Deployment of Standard Server &#38; Director Role     Deployment of Edge and Reverse Proxy     Deployment of Lync Voice Capabilities     Configuring Lync PSTN Calling thru Avaya [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonmlee.net/archives/409">Project Scope</a>     <br /><a href="http://jasonmlee.net/archives/411">Preparing for Deployment – Research and Education and Pricing</a>     <br />Deployment of Standard Server &amp; Director Role     <br />Deployment of Edge and Reverse Proxy     <br />Deployment of Lync Voice Capabilities     <br /><a href="http://jasonmlee.net/archives/431">Configuring Lync PSTN Calling thru Avaya IPOffice</a>     <br /><a href="http://jasonmlee.net/archives/426">Configure Lync 4 Digit Extension Dialing without DIDs</a>     <br /><a href="http://jasonmlee.net/archives/447">Configure Asterisk as a SIP Proxy for Avaya IPO and and Lync</a>     <br />Deployment of Lync Client to users     <br /><a href="http://jasonmlee.net/archives/459">Testing Configuration of Backup Registrar</a>     <br />Training</p>
<p>Continuing the series in our Lync Deployment.&#160; As we are approaching the date that we will completely cut over all users to lync we wanted to build in some redundancy to our deployment.&#160; </p>
<p>We have done this by licensing a second standard server and configuring it in the topology as a backup registrar.&#160; This will allow us to have a fail over server to host all voice calls in the event of a failure to the primary standard edition server (PSE).&#160; The Backup Standard Edition Server (BSE) will provide voice capabilities and limited IM capabilities in a production down situation of the PSE.&#160; <br /><strong><em>Note: for calls to be made in a ‘failed over’ scenario backup calling routes will need to be configured for the BSE mediation role as discussed in a future post</em></strong></p>
<p>So we have configured our backup in the topology (how to in a future post) and configured the failover routes so it is time to test the scenarios.&#160; For our testing we want to confirm that the PSE can fail and we can still make calls to the PSTN and if the PSTN is not available make a call out the analog backup lines.</p>
<p>You will want to review the default setting in your topology to set it to the lowest value possible when testing otherwise this test could take 15-20 minutes depending upon your value selected to fail over to a backup registrar.&#160; </p>
<p><a title="Failover" href="http://www.flickr.com/photos/23086965@N05/6825865593/"><img border="0" alt="Failover" src="http://farm8.static.flickr.com/7014/6825865593_e5f54eaa4a.jpg" /></a>     </p>
<p>Our test was to remove the NIC from the PSE, the Lync clients will disconnect, attempt to re-connect and after the specified time connect to the BSE as the fail over registrar and make calls via the PRI and Pots lines.</p>
<p>However after configuring a Backup Registrar Lync Clients wouldn’t login during a failed server.&#160; The clients would drop the connection as expected but however, they wouldn’t login to the backup registrar with limited functionality as expected.&#160; </p>
<p><em>Side note… Kudos to @DHannifin helping figure this one out…      <br />check out our awesome buddy Dustin’s blog: </em><a href="http://www.technotesblog.com/"><em>http://www.technotesblog.com/</em></a> for lots of Uber good Lync goodness.</p>
<p>Even after changing the fail over time to just 30 seconds, the phone handset endpoints would login and calls could be made, but the Lync client would fail to login.&#160;&#160; After some digging in the trace logs we found client that wouldn’t connect that we were getting an unauthorized error because the newly added BSE server wasn’t in the user certificate issued by the server to the client so the Lync client didn’t trust the backup registrar. </p>
<p>The Lync Client uses a certificate for communications with the front end server.&#160; This certificate is not updated very often, in fact the default value to when it will update is 8760 HOURS that’s 365 DAYS!&#160; (A little longer than we wanted to wait for our testing…<img style="border-bottom-style: none;border-left-style: none;border-top-style: none;border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://jasonmlee.net/files/2012/02/wlEmoticon-winkingsmile.png" />)     </p>
<p>You can use the PowerShell command: <em>Get-CSWebServiceConfiguration      <br /></em>to review the current values of your setting for <em>MaxValidityPeriodHours’</em></p>
<p><em><a title="CSWebserviceConfig" href="http://www.flickr.com/photos/23086965@N05/6825866367/"><img border="0" alt="CSWebserviceConfig" src="http://farm8.static.flickr.com/7167/6825866367_454d51a0d8.jpg" /></a></em></p>
<p>Since we didn’t have a year to wait, there are a couple solutions.    <br />1. Change the default value by using the PowerShell command     <br /><em>Set-CSWebServiceConfiguration</em> but this changes the cert settings for all clients and would require time for replication.     <br />or     <br />2. Delete the certificate on the machine that you are using for testing. This is a little more killing a fly with a sledge hammer, but for this testing appeared to be the best solution.</p>
<p>So in a testing scenario where you don’t want to change the re-issue certificate settings, on the machine you are using to test, simply launch an mmc window add the add-in for certificates and choose to manage users certificates.&#160; Next browse to the personal certificates where you should find a certificate named the SIP URI of the user you are logged in as and it is issued by ‘Communications Server’. Delete the certificate and then restart your Lync Client (exit the application not just log off).&#160; </p>
<p><strong><em>Note: After deleting the cert, before you re-launch the Lync Client, you will need your primary front end server online so a new certificate can be issued to the client on the workstation.&#160; Otherwise you still will not have valid certificate to connect and since the PSE is offline your client will try to connect to the BSE for which it still doesn’t have a valid cert.</em></strong></p>
<p>After you re-connect to Lync to the PSE you can then power off the PSE (or remove the virtual nic from the virtual machine as we did.) You will notice the Lync client log off and after your Backup Registrar time out passes Lync will login to the Backup Registrar.&#160; You will know this has happed when you see the Lync client display the red bar indicating limited functionality.    </p>
<p><a title="Lync Backup Registrar" href="http://www.flickr.com/photos/23086965@N05/6794399675/"><img border="0" alt="Lync Backup Registrar" src="http://static.flickr.com/7173/6794399675_d696d7a519.jpg" /></a></p>
<p>If you have correctly configured a backup call route to your gateway, all voice calling will route out the gateway as if your Lync topology was operating normally.</p>
<p><strong><em>Note: In an actual failover after you have configured all backup routes a call in progress should stay active even while the Lync Client is going thru its log off/log on process to connect to the backup registrar.&#160; If you are in an active call during this fail over, your call should stay connected, BUT it will disconnect if you hit cancel on the Lync client during the reconnection process.</em></strong></p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/UNEZ2OMb3q0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/459/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>National Church IT RoundTable 2012–Dallas Texas</title>
		<link>http://jasonmlee.net/archives/455</link>
		<comments>http://jasonmlee.net/archives/455#comments</comments>
		<pubDate>Wed, 01 Feb 2012 12:30:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[ChurchIT RoundTable]]></category>
		<category><![CDATA[CITRT]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/?p=455</guid>
		<description><![CDATA[
I can’t believe that it’s that time of year again, but registration officially opens today for the National Church IT RoundTable (CITRT) April 18-20, 2012 
The National CITRT&#160; is one of those events that I plan to make every year… Thankfully 3.0’s release date is early March so I won’t feel TOOO guilty leaving my [...]]]></description>
			<content:encoded><![CDATA[<p><a title="CITRT2012" href="http://www.churchitnetwork.com/spring2012/"><img style="margin: 0px 8px 0px 0px;float: left" border="0" alt="CITRT2012" align="left" src="http://static.flickr.com/7148/6799704965_b8965efe19.jpg" width="306" height="140" /></a></p>
<p>I can’t believe that it’s that time of year again, but <strong>registration officially opens today for the </strong><a href="http://www.churchitnetwork.com/spring2012/"><strong>National Church IT RoundTable (CITRT) April 18-20, 2012</strong></a><strong> </strong></p>
<p>The National CITRT&#160; is one of those events that I plan to make every year… Thankfully 3.0’s release date is early March so I won’t feel TOOO guilty leaving my wife at home with a newborn and a 3<sup>1/2 </sup>yr old.</p>
<p>The Church IT Round table gatherings are a great time to reconnect with old friends, meet some great new friends and learn from some of the great minds in Church IT.&#160; I am already making my list of things I plan to learn while in Dallas.</p>
<p>Make plans now to join us at Watermark Church in Dallas.&#160; This is going to be a can’t miss event!</p>
<p>JUST <strong>$75</strong> includes most meals and the event registration for the 2 days (and optional training day).</p>
<p>This year we are adding a optional Pre-Event Training day that will include workshops on:    <br />- Exchange     <br />- VOIP     <br />- VMWare &amp; Networking     <br />- and more</p>
<p><strong>Also NEW this year</strong>, we&#8217;re making a focused effort to involve Church Web/ChMS developers and integrators, this is an important group of peers to our community, so this year we are building a track for web/dev.&#160; We want our web/dev peers to benefit from an event like we have had over the past 6 years. The web/dev track will have breakout sessions to geek out about code, APIs, ChMS integrations, tools and best practices. These breakouts will be lead by web/dev heads <a href="http://www.equipthem.info/">David Drinnon</a> (Second Baptist Houston) and <a href="http://chris.kehayias.com/">Chris Kehayias</a> (Calvary Chapel Melbourne). So go now and invite your web/dev peers on staff to join you this spring.</p>
<p>If you only go to one training/convention/workshop this year, CITRT2012 is the can’t miss event.. <strong>CITRT2012 will make you a better IT Pro, help you build relationships with others doing the same projects you are working on, and improve the ministry you support!</strong></p>
<p>Check out the event info here: <a href="http://www.churchitnetwork.com/spring2012/">http://www.churchitnetwork.com/spring2012/</a></p>
<p>If you are a vendor with focus on serving the Church market and would like to partner with CITRT to help with this even or have space at the vendor expo check out the “Become A Partner” tab: <a href="http://www.churchitnetwork.com/spring2012/">http://www.churchitnetwork.com/spring2012/</a></p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/KREjxnZs3Qk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/455/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lync Deployment continues thanks to our Volunteers</title>
		<link>http://jasonmlee.net/archives/457</link>
		<comments>http://jasonmlee.net/archives/457#comments</comments>
		<pubDate>Tue, 31 Jan 2012 16:00:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Ministry]]></category>
		<category><![CDATA[ChurchIT]]></category>
		<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/457</guid>
		<description><![CDATA[Over the past month we have been re-wiring our “Phase 1” portion of our Peoria campus in preparation for our move to our new phone system Lync.&#160; As part of that project, we have pulled out hundreds and hundreds of feet of old cat3 and cat5 wiring that was abandoned, wired wrong or damaged.
We rewired [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past month we have been re-wiring our “Phase 1” portion of our Peoria campus in preparation for our move to our new phone system Lync.&#160; As part of that project, we have pulled out hundreds and hundreds of feet of old cat3 and cat5 wiring that was abandoned, wired wrong or damaged.</p>
<p>We rewired over 60 data locations in just 3 Monday nights, and the work couldn’t have been done without our awesome volunteers.&#160; I just wanted to say thanks again to Steve T, Wayne T, Gene S, Mark B, John S, and Bob P.&#160; Guys your heart for kingdom ministry is awesome and with out your help we couldn’t do what we do!&#160; Ceiling Tile Dust and carting around ladders is more fun with you guys around!</p>
<p>A couple crazy photos from our work nights:</p>
<p>This is a prime example of why we decided to re-wire! Scotch locks on Data wiring NOOOO!</p>
<p><img src="http://getfile6.posterous.com/getfile/files.posterous.com/jasonlee/sBarAvaoksiygCBDetkhHwtFnwHJjvqpaJzEJlqayrrAaFiszjnAqxJBqJtm/-298293679.jpg.scaled500.jpg" /> </p>
<p>&#160;</p>
<p>The Growing pile of wire that has been pulled out</p>
<p><img src="http://getfile3.posterous.com/getfile/files.posterous.com/jasonlee/avvDxHvcutkerytECgJJgfCiDrIqGmzqtuycFBtoBuGHEhwCcECcdkADIIdv/-1327580034.jpg.scaled500.jpg" /></p>
<p>&#160;</p>
<p>The new IDF wiring rack getting installed    <br /><img src="http://getfile9.posterous.com/getfile/files.posterous.com/jasonlee/hHcvlEBhfBzBIAfAFzpyotwAnvsoFsgIIzEutdtjhHxEkibExFaIcyiaodsa/1892948373.jpg" /> </p>
<p>&#160;</p>
<p>Jeremie and the team formulating the action plan.</p>
<p><a title="Wiring work night" href="http://www.flickr.com/photos/23086965@N05/6793997891/"><img border="0" alt="Wiring work night" src="http://static.flickr.com/7145/6793997891_aeb1e4ecc7.jpg" /></a></p>
<p>&#160;</p>
<p>Steve has a history of wanting to drive… granted there have been a few accidents, but when it was time to clean up we had something special for him to drive that was fairly accident proof.   </p>
<p><a title="wiring work night cleanup" href="http://www.flickr.com/photos/23086965@N05/6793996863/"><img border="0" alt="wiring work night cleanup" src="http://static.flickr.com/7007/6793996863_4b383f79ea.jpg" /></a>    </p>
<p>Thanks to our volunteers our VOIP migration has an end in site.</p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/86cyJcS1xcE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/457/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Asterisk as a SIP Proxy for Avaya IPO &amp; Lync</title>
		<link>http://jasonmlee.net/archives/447</link>
		<comments>http://jasonmlee.net/archives/447#comments</comments>
		<pubDate>Sat, 28 Jan 2012 04:43:04 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Avaya]]></category>
		<category><![CDATA[Call Hold]]></category>
		<category><![CDATA[Call Transfer]]></category>
		<category><![CDATA[IP Office]]></category>
		<category><![CDATA[IPO]]></category>
		<category><![CDATA[IPOffice]]></category>
		<category><![CDATA[Lync]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/447</guid>
		<description><![CDATA[Project Scope   Preparing for Deployment – Research and Education and Pricing   Deployment of Standard Server &#38; Director Role   Deployment of Edge and Reverse Proxy   Deployment of Lync Voice Capabilities   Configuring Lync PSTN Calling thru Avaya IPOffice   Configure Lync 4 Digit Extension Dialing without [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonmlee.net/archives/409">Project Scope</a>   <br /><a href="http://jasonmlee.net/archives/411">Preparing for Deployment – Research and Education and Pricing</a>   <br />Deployment of Standard Server &amp; Director Role   <br />Deployment of Edge and Reverse Proxy   <br />Deployment of Lync Voice Capabilities   <br /><a href="http://jasonmlee.net/archives/431">Configuring Lync PSTN Calling thru Avaya IPOffice</a>   <br /><a href="http://jasonmlee.net/archives/426">Configure Lync 4 Digit Extension Dialing without DIDs</a>   <br /><a href="http://jasonmlee.net/archives/447">Configure Asterisk as a SIP Proxy for Avaya IPO and and Lync</a>   <br />Deployment of Lync Client to users   <br /><a href="http://jasonmlee.net/archives/459">Testing Configuration of Backup Registrar</a>   <br />Training
<p>&#160;</p>
<p>This post is a continuation of a series of posts about Lync Deployment. The documentation portion of this project has gotten the back burner, and I need to say that a blogger I am not.. but picking up the documentation of this process is important.</p>
<p>This can be used as a resource to configure an Avaya IPOffice (IPO) 412 (software version 5.0) as a Gateway for a Lync deployment calling the PSTN, with AsteriskNOW as a SIP proxy to resolve disconnected calls when placed on hold or transferred, your mileage may vary. Calls are routed over a SIP Trunk (Session Initiation Protocol) configured between the IPO and Asterisk and Asterisk and the Lync Front End server.</p>
<p>Once we deployed the calling from the PSTN via a PRI from the IPOffice to a SIP connection to the Lync Mediation server we were able to make and receive calls from Lync endpoints, however we quickly noticed that when calls were put on hold or needing to be transferred to another extension the call was simply dropped.&#160; It doesn’t matter if the call was being transferred to a Lync extension or an Avaya extension the call would drop.&#160; The only option to “hold” a call was to mute the call.&#160; If Hold was used the call would disconnect.</p>
<p>After a few days of tracking this down we were able to identify this was an issue that happened every time.&#160; It wasn’t specific to a user or extension.&#160; In fact the Avaya white paper noted this as a known issue.</p>
<p><a title="Avaya PSTN Config" href="http://www.flickr.com/photos/23086965@N05/6774171809/"><img border="0" alt="Avaya PSTN Config" src="http://farm8.static.flickr.com/7158/6774171809_b6d617b35c.jpg" /></a></p>
<p>The issue is documented on the final page: <a title="https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf" href="https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf">https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf</a></p>
<p>The document notes that calls cannot be placed on mute, nor does the PSTN caller ID pass thru to Lync, these notes however that was not our experience.&#160; Mute and Caller ID worked fine on inbound calls.</p>
<p>We tried several different solutions to resolve this issue.&#160; Our first attempt was routing all calls thru an i<a href="http://www.ingate.com/siparators.php">nGate SIParator</a>.&#160; This is basically a SIP proxy device.&#160; We happen to have one laying around from some testing with a SIP dial tone provider.&#160; This device had worked well with the IPO connecting to SIP Trunks that required authentication with a different authentication handshake than the standard Avaya methods.&#160; However the SIParator did allow to proxy the Avaya to Lync SIP trunk, but didn’t resolve the disconnects when holding or transferring calls.</p>
<p>Next we tried to use a SnomOne software PBX, this had some promise, after configuring the call to forward all calls to the Avaya or Lync (which was a hassle) we found that this resulted in calls connecting but the caller not hearing any of the conversation, or the call would just stop passing audio although it remained connected.&#160; We also found that the SnomOne would keep terminated calls still active and you would have to reset the sessions manually.</p>
<p>Finally we landed on an asterisk installation installed on a virtual machine.&#160; We installed Asterisk now (without the web interface) for simplicity.&#160; Once you configure the two sip trunks (one for Avaya and one for Lync) and build the dial plan to forward all calls from Lync to Avaya and all calls from Avaya to Lync the configuration was basically complete.</p>
<p>Much Credit must go to my great <a href="http://www.churchitnetwork.com/">Church IT RoundTable</a> peer Dave Mast (<a href="http://twitter.com/davemast">@DaveMast</a>) for his Asterisk Programming help! Kuddos to Dave!</p>
<p><strong>Below are the steps to configure the Avaya and Lync to communicate via an Asterisk Proxy.</strong></p>
<p>Install Asterisk on a machine, (in our case a new VM) and note the IP Address you give the server.&#160; Next configure a new Avaya SIP Trunk and ARS Table. The same steps as noted <a href="http://jasonmlee.net/archives/431">here</a>, except you need to enter the information of your Asterisk server in step 2 as the ITSP IP Field.</p>
<p>After completing steps 1,2,3 and 4. Complete Step 5 to prepare an incoming call route from Asterisk to the IPO.</p>
<p>Step 6 is basically the same and we repurposed the old ARS table that we created but changed the short codes and features a little.&#160; <br /><a title="Ars table" href="http://www.flickr.com/photos/23086965@N05/6774171835/"><img border="0" alt="Ars table" src="http://farm8.static.flickr.com/7174/6774171835_413abaa340.jpg" /></a></p>
<p>Note in step 9 if you have extensions on both IPO and Lync you can’t use variables in your short codes.&#160; This remains true.</p>
<p>After step 10 things change a little so I will document that here.&#160; The information may look very similar to the previous instructions with SIP for IPO and Lync with out a proxy but they are a little different.</p>
<p>Because of how you have to pass calls from Avaya to Asterisk you will need to configure you rARS table a little differently.&#160; Step 10 walks you thru a extension with a DID, that in fact is no different.&#160; But Step 11 has changed. I have quoted the information that hasn’t changed and added what needs to be adjusted for the dialing plan to work with Asterisk.</p>
<p><strong>11. Configure routing for For Lync Extensions without DIDs</strong> (as documented <a href="http://jasonmlee.net/archives/426">here</a>).</p>
<blockquote><p>An ARS entry will have to be created for each Extension since the IPO cannot use variables in the E.164 formatting of the outbound call and Lync requires the call to come in in the +11235556500;ext=4175 format.</p>
</blockquote>
<p>The Asterisk can’t pass the formatting with “;” so we will pass just the 4 digit extension from IPO to Asterisk, and our 4 digit dial plan dialing rule that translates calls <strong>TO </strong>those extensions from a lync endpoint into +11235556500;ext=4175 format will cause the call to route to the extension when it comes into Lync from Asterisk.</p>
<blockquote><p>This example extensions 4150-4175 don’t have DIDs but were valid Lync extensions, in order for IPO extensions to call extensions 4150-4175 a short code would be required for 41xx Pointing to the the SIP-Lync ARS Table. (Assuming no other extensions in the 4100 range are homed on the IPO). <a href="http://www.flickr.com/photos/23086965@N05/5689876427/"><img border="0" alt="NoDIDShortCode" src="http://farm6.static.flickr.com/5107/5689876427_2b9eb18947.jpg" /></a>       <br />Then entries for each extension would need to be added to the ARS table.       <br />Code: <strong>41XX</strong>, Feature: <strong>Dial (if the IPO has any restricted calls to outside use Dial Emergency)        <br /></strong><strike>Telephone Number: <strong>+1235556500”ext=4150@192.168.1.100”</strong></strike><strong>        <br /></strong>Telephone Number:<strong> 41N”@192.168.1.100”</strong> (the “”s are required to tell IPO that nothing contained in this part of the string is a variable. All extensions in this range can use this variable.</p>
</blockquote>
<p><a title="4 digit short code" href="http://www.flickr.com/photos/23086965@N05/6774171855/"><img border="0" alt="4 digit short code" src="http://farm8.static.flickr.com/7158/6774171855_5df76d8755.jpg" /></a></p>
<p><strong>Next you will need to configure Lync to see the Asterisk as a gateway.</strong></p>
<p>1. <strong>Configure Lync Call routing to use the Asterisk as a Gateway. </strong>This assumes you have enabled users for enterprise voice which is a fairly well documented process: <a href="http://technet.microsoft.com/en-us/library/gg413011.aspx">http://technet.microsoft.com/en-us/library/gg413011.aspx</a>     <br />After users are enabled, go to the Topology builder and browse the Standard Server. Check the box for Enterprise Voice</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690451188/"><img border="0" alt="EnableEnterpriseVoice" src="http://farm6.static.flickr.com/5105/5690451188_3631766931.jpg" /></a></p>
<p>Edit the properties and go to the Mediation Server. Enable Collocated Mediation Server. Define your Listening Ports and click new gateway enter the IP address of the Asterisk and the Port that it is listening for SIP traffic on.</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5689876459/"><img border="0" alt="DefinenewGateway" src="http://farm6.static.flickr.com/5227/5689876459_28c133db22.jpg" /></a></p>
<p>Next associate the Gateway with the mediation server</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5689876489/"><img border="0" alt="AddGateway" src="http://farm6.static.flickr.com/5263/5689876489_f153407208.jpg" /></a></p>
<p>Publish the Topology.</p>
<p><strong>2. Configure Dial Plan and Trunk.</strong> Open Lync Control Panel and go to Voice Routing then Trunk configuration open the newly added Gateway and change the Encryption support level to <strong>Optional, </strong>Uncheck <strong>Media Bypass</strong>, Uncheck <strong>Centralized Media Processing</strong> and Uncheck <strong>Enable Refer Support. </strong></p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5689876553/"><img border="0" alt="TrunkConfiguration" src="http://farm6.static.flickr.com/5144/5689876553_afe9a61c3f.jpg" /></a></p>
<p>3. <strong>Add a translation rule to call 4 digit extensions on the IPO via the Asterisk</strong>. This allows a normalized call from the Lync server to pass just 4 digits to the IPO so it correctly routes to the extension on the IPO.     <br />Starting Digits: <strong>+12355565</strong>     <br />Length:<strong> Exactly 12</strong>     <br />Digits to remove: <strong>8      <br /></strong>This rule tells the Lync server to simply pass 65xx to the IPO.</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690451214/"><img border="0" alt="IPOTranslationRule" src="http://farm6.static.flickr.com/5227/5690451214_075f0d8565.jpg" /></a>     </p>
<p>You will also need to create a translation rule to pass all digits without the +     <br />Starting Digits: <strong>+</strong>     <br />Length:<strong> Exactly 12</strong>     <br />Digits to remove: 0<strong>      <br /></strong>This rule tells the Lync server to pass 11 digits to the Asterisk.</p>
<p>4. <strong>Create a Call Route. </strong>Select New Route and name it and add a description. Leave the Pattern to match the default “<strong>*</strong>” which matches all calls. <a href="http://www.flickr.com/photos/23086965@N05/5689876581/"><img border="0" alt="VoiceRoute-1" src="http://farm6.static.flickr.com/5021/5689876581_a50436d053.jpg" /></a></p>
<p>5. Scrolling down select Add for Associated Gateways and select the PSTN Gateway. Do not yet associate a PSTN Usage. But confirm the Gateway is added.</p>
<ol>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690538036/"><img border="0" alt="VoiceRoute-2" src="http://farm6.static.flickr.com/5222/5690538036_3f66f68900.jpg" /></a></p>
</ol>
<p>6. <strong>Create a Site Voice Policy </strong>Choose new and select the site you want to add a voice policy for. Add a Description and enable all appropriate features. Then New.</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690544166/"><img border="0" alt="VoicePolicy" src="http://farm6.static.flickr.com/5302/5690544166_179fc037bc.jpg" /></a></p>
<p>Associate the route just created in step 6 by hitting select</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690451300/"><img border="0" alt="Associate PSTN Route" src="http://farm6.static.flickr.com/5103/5690451300_2c453713a1.jpg" /></a></p>
<p>choose the route.</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5689876599/"><img border="0" alt="Select PSTN Route" src="http://farm6.static.flickr.com/5230/5689876599_0c7e67eb2d.jpg" /></a></p>
<p>Go back to Routes and edit the Asterisk PSTN route and scroll to the bottom and Associate the PSTN Usage created.</p>
<p><a href="http://www.flickr.com/photos/23086965@N05/5690538052/"><img border="0" alt="VoiceRoute-3" src="http://farm6.static.flickr.com/5223/5690538052_723808986d.jpg" /></a></p>
<p>Commit all Changes.</p>
<p><strong>Configure the Asterisk Box</strong></p>
<p>Finally you need to configure the Asterisk.</p>
<ol>
<li><strong>&#160; First Configure the SIP Trunks        <br /></strong>Login as root to the asterisk server and enter: nano –w /etc/asterisk/sip.conf       <br />Your configuration should be as follows:       <br />[General]       <br />bindport=5060       <br />bindaddr=0.0.0.0       <br />tcpbindaddr=0.0.0.0       <br />tcpenable=yes       </p>
<p>[Lync_Trunk_Name]       <br />type=peer       <br />port=5068       <br />host=0.0.0.0 (where 0.0.0.0 is the ip address of your lync front end server)       <br />dtmfmode=rfc2833       <br />context=name-of-lync-context (use what ever name you want)       <br />qualify=yes       <br />transport=tcp       </p>
<p>[Avaya_Trunk_Name]       <br />type=peer       <br />host=0.0.0.0 (where 0.0.0.0 is the ip address of your ayava IPO)       <br />dtmfmode=rfc2833       <br />context=name-of-avaya-context (use what ever name you want)       <br />port=5060       <br />Transport=tcp       <br />Hit Ctrl-X and choose to save       </p>
<p><a title="SIPConfig-1" href="http://www.flickr.com/photos/23086965@N05/6774171973/"><img border="0" alt="SIPConfig-1" src="http://farm8.static.flickr.com/7157/6774171973_9ce3e96f74.jpg" /></a>       <br /><a title="SIPConfig-2" href="http://www.flickr.com/photos/23086965@N05/6774171935/"><img border="0" alt="SIPConfig-2" src="http://farm8.static.flickr.com/7168/6774171935_54c64fe8c1.jpg" /></a>       </li>
<li>&#160; Next Define your Dial plan to forward all calls.      <br />enter nano –w /etc/asterisk/extensions.conf       <br />Your configuration should be as follows:       <br />[Name-of-lync-context]       <br />exten =&gt; _+1xxxxxxxxxx,1,Dial,(SIP/Avaya_Trunk_Name/${EXTEN},45)       <br />exten =&gt; _+12xx,1,Dial,(SIP/Avaya_Trunk_Name/${EXTEN},45)       <br />exten =&gt; _1xxxxxxxxxx,n,Hangup()
<p><em><strong>NOTE:          <br />Line 1 passes PSTN calls from lync to the PSTN           <br />Line 2 passes 4 diget extensions dialed from the Lync to IPO</strong>         </p>
<p></em>      <br />[Lync_Trunk_Name]       <br />exten =&gt; _+1xxxxxxxxxx,1,Dial,(SIP/Lync_Trunk_Name/${EXTEN},30)       <br />exten =&gt; _+41xx,1,Dial,(SIP/Avaya_Trunk_Name/${EXTEN},30)       <br />exten =&gt; _1xxxxxxxxxx,n,Hangup()       </p>
<p><em><strong>NOTE:          <br />Line 1 passes PSTN calls and all Lync Extensions WITH DID to Lync           <br />Line 2 passes 4 digit extensions dialed from the IPO that don’t have a DID.</strong>         <br /></em>      <br />Exit and Save the configuration       </p>
<p><a title="asterisk dialplan" href="http://www.flickr.com/photos/23086965@N05/6774171899/"><img border="0" alt="asterisk dialplan" src="http://farm8.static.flickr.com/7144/6774171899_d511701217.jpg" /></a>       </p>
<p><em><strong>One item to note, the value of 45 is the seconds the phone rings before disconnecting the call.&#160; We had to change the default of 30 to 45 because when someone would call a cell phone FROM Lync via the IPO PRI the call sometimes wasn’t getting to the cell phone voicemail before the 30 seconds and would drop the call before the Lync caller could leave a voicemail for the person they were calling.&#160; After adjusting this value above 30 these dropped calls stopped happening.</strong></em>       </li>
<li>Reload the Configurations      <br />Enter: asterisk –r       <br />Enter: reload
<p>After the config reloads enter: /sip Show peers       <br />your status for both SIP trunks should show “OK”       </p>
<p>You are new ready to make calls from lync to the PSTN and place calls on hold. </li>
</ol>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/BOvfRw8jBJc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/447/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Lync PSTN Calling Thru Avaya IPOffice</title>
		<link>http://jasonmlee.net/archives/431</link>
		<comments>http://jasonmlee.net/archives/431#comments</comments>
		<pubDate>Thu, 05 May 2011 14:38:38 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/431</guid>
		<description><![CDATA[Project Scope   Preparing for Deployment – Research and Education and Pricing   Deployment of Standard Server &#38; Director Role   Deployment of Edge and Reverse Proxy   Deployment of Lync Voice Capabilities   Configuring Lync PSTN Calling thru Avaya IPOffice   Configure Lync 4 Digit Extension Dialing without [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonmlee.net/archives/409">Project Scope</a>   <br /><a href="http://jasonmlee.net/archives/411">Preparing for Deployment – Research and Education and Pricing</a>   <br />Deployment of Standard Server &amp; Director Role   <br />Deployment of Edge and Reverse Proxy   <br />Deployment of Lync Voice Capabilities   <br /><a href="http://jasonmlee.net/archives/431">Configuring Lync PSTN Calling thru Avaya IPOffice</a>   <br /><a href="http://jasonmlee.net/archives/426">Configure Lync 4 Digit Extension Dialing without DIDs</a>   <br /><a href="http://jasonmlee.net/archives/447">Configure Asterisk as a SIP Proxy for Avaya IPO and and Lync</a>   <br />Deployment of Lync Client to users   <br /><a href="http://jasonmlee.net/archives/459">Testing Configuration of Backup Registrar</a>   <br />Training
<p>&#160;</p>
<p>This post is a continuation of a series of posts about Lync Deployment.&#160;&#160; This can be used as a resource to configure an Avaya IPOffice (IPO) 412 (software version 5.0) as a Gateway for a Lync deployment calling the PSTN, but your mileage may vary.&#160; Calls are routed over a SIP Trunk (Session Initiation Protocol) configured between the IPO and the Lync Front End server.</p>
<p>An ISDN/PRI trunk provides inbound and outbound voice call access to the PSTN. Avaya IP    <br />Office sends and receives SIP Invites to and from Lync Standard Server, Lync converts call signaling between standard SIP and Microsoft signaling protocol (MTLS).</p>
<p>The flow for an outbound call from an Enterprise Voice Lync User routes as the following: When an user dials a number,Lync normalizes the dialed number. If there is a match,    <br />Lync checks that the number called is assigned to another Lync user. If so, Lync sends the call to the called user’s Lyc client. If not, Lync looks up a call routing table for a match of the     <br />E.164-formatted called number. If there is a match, Lync routes the call to the Gateway for that route, which in this configuration is the IPO and then the IPO routes the call to the PSTN.</p>
<p>For inbound calls from the PSTN, Avaya IP Office receives the incoming call. Based on the    <br />called party number,IPO looks up the corresponding Short Code (if the called number is a Lync Extension) and routes the call to the Lync server via SIP.</p>
<p>For this configuration an inbound call hits an IPO Inbound call route, matches the last 4 digits to a 4 digit short code which routes to an ARS table which matches the short code digits translates to E.164 format and routes the call over a SIP trunk to the Lync frontend server.</p>
<p>Configuration was modified from an OCSR2 &amp; IPO document found here:    <br /><a title="https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf" href="https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf">https://devconnect.avaya.com/public/download/interop/OCSR2-IPO-PSTN.pdf</a></p>
<blockquote><p><strong><em><u>Updated 2/5/2012</u></em></strong></p>
<p>When configuring Lync and IPO directly as noted in the white paper above, hold may not function and disconnect the call.&#160; Additionally calls originating from the the PRI on the IPO or an IPO homed extension when transferred to a lync extension cannot be placed on hold or transferred to any other extension (lync or avaya).&#160; The work around used to resolve this issue is SIP proxy as noted here: <a title="http://jasonmlee.net/archives/447" href="http://jasonmlee.net/archives/447">http://jasonmlee.net/archives/447</a></p>
</blockquote>
<p><strong>Configuring Avaya IPOffice</strong></p>
<ol>
<li><strong>Verify Avaya SIP Trunk license</strong>. Login to the IPO Manager application.&#160;&#160; In the tree view navigate to Licensing and confirm that you have an active SIP Trunk Channel License.&#160; If a valid license is not configured in the IPO calls will not route over the SIP Trunk.&#160; You can purchase IPO 412 license keys from <a title="http://dpctelcom.com/" href="http://dpctelcom.com/">http://dpctelcom.com/</a>       </p>
<p><a title="SipTrunkLicense" href="http://www.flickr.com/photos/23086965@N05/5689876091/"><img border="0" alt="SipTrunkLicense" src="http://farm6.static.flickr.com/5063/5689876091_66c63fcc33.jpg" /></a>       </li>
<li><strong>Create the SIP line for Lync Server</strong>. Select Line in the left panel. Right click       <br />and select New SIP Line. Enter the <strong>SIP Domain Name of local Domain</strong> in the ITSP       <br />Domain Name field. Enter the <strong>Lync Server IP Address</strong> in the ITSP IP       <br />Address field. Select <strong>Remote Party ID</strong> in the Send Caller ID field.       <br />Network Configuration is as follows:       <br />Layer 4 Protocol is <strong>TCP</strong>,       <br />Send Port is the Receive port on your Lync Server in Topology Builder Default is <strong>5060</strong>       <br />Listen Port is the Send port in your Lync server Topology Builder Default is <strong>5060</strong>       <br />Network Topology Info set to <strong>NONE</strong>
<p><a title="SipLine" href="http://www.flickr.com/photos/23086965@N05/5689876145/"><img border="0" alt="SipLine" src="http://farm6.static.flickr.com/5067/5689876145_0bd207c362.jpg" /></a>       </li>
<li><strong>Configure SIP URI for known caller ID.</strong> Go to the URI Tab and and click add.&#160; Create a primary SIP URI. Enter a unique number for the Incoming Group (<strong>Line Group 100</strong>) and Outgoing Group (<strong>Line Group 100</strong>) fields. Enter <strong>*</strong> for the Local URI, Contact and Display Name fields. Use defaults for all other field. Press the OK button.
<p><a title="SIPURI1" href="http://www.flickr.com/photos/23086965@N05/5689876165/"><img border="0" alt="SIPURI1" src="http://farm6.static.flickr.com/5144/5689876165_60c313c073.jpg" /></a>       </li>
<li><strong>Configure SIP URI for Unknown Caller ID.</strong> The documentation indicates a need for a SIP URI for calls received from the PSTN with withheld caller ID. However this appears not to be 100% necessary nor applicable, but was configured in our installation. Select the SIP URI tab and click on Add again. Enter another a unique number for the Incoming Group (<strong>Line Group 101</strong>) and Outgoing Group (<strong>Line Group 101</strong>) fields. Enter <strong>000000000 for the Local URI</strong>, <strong>Contact and Display Name fields</strong>. Calls received with hidden caller ID from the PSTN will be shown as coming from this number on the Lync client. Use defaults for all other field. Press the OK button.
<p><a title="SIPURI2" href="http://www.flickr.com/photos/23086965@N05/5689876185/"><img border="0" alt="SIPURI2" src="http://farm6.static.flickr.com/5104/5689876185_78366df963.jpg" /></a>       </li>
<li><strong>Create an Incoming call route for outbound calls from Lync incoming to the IPO over the SIP trunk.</strong> (This call can be both IPO extensions or out to the PSTN)&#160; Select Incoming Call Routes in the Left Tree and right click and choose NEW.&#160; Set the Incoming Group ID to the value you set in step 3 as your Incoming Group ID for the SIP URI (<strong>Line Group 100</strong>).
<p><a title="IncomingRoute" href="http://www.flickr.com/photos/23086965@N05/5690450912/"><img border="0" alt="IncomingRoute" src="http://farm6.static.flickr.com/5303/5690450912_10c55c6299.jpg" /></a>       </p>
<p>In the Destinations Tab enter . in the Destination Field and select OK       </p>
<p><a title="Destinations" href="http://www.flickr.com/photos/23086965@N05/5689876233/"><img border="0" alt="Destinations" src="http://farm6.static.flickr.com/5064/5689876233_5a66f666bd.jpg" /></a>       </li>
<li><strong>Configure a Alternate Route Selection table (ARS)</strong> for calls going from PSTN or IPO Extensions to Lync.&#160; The ARS is used to route the call to the SIP Trunk formatted in E.164 format for Lync to receive the calls correctly . Select ARS in the left panel. Right-click and select New. Enter a unique identifier for the route in the Route Name field (e.g. SIP-Lync) and use defaults for all other field on the ARS tab.
<p><a title="ARS" href="http://www.flickr.com/photos/23086965@N05/5690451338/"><img border="0" alt="ARS" src="http://farm6.static.flickr.com/5304/5690451338_7bcb9c0031.jpg" /></a>       </p>
<p>Click on Add button and add short code.&#160; Enter a code matching the 4 digits of the Lync Extension you are wanting to call.&#160; <br /><strong>Deployment of Lync Extensions with DIDs</strong>: In a deployment with DIDs of (123)555-65xx with 4 digit extensions in the 6500-6599 range and a Lync server ip address of 192.168.1.100 and the unique Line Group ID of the SIP trunk is 100 the following short code could be used. (note use of the xx and N variables to allow for creating just one short code for 100 DIDs or Extensions)       <br /><em>For Deployments without DIDs see step 11 below.</em>       </p>
<p><a title="shortcode" href="http://www.flickr.com/photos/23086965@N05/5690450964/"><img border="0" alt="shortcode" src="http://farm6.static.flickr.com/5150/5690450964_bd35c2f24b.jpg" /></a>       </li>
<li><strong>Create a short code to route 4 digit extension calls from IPO to to Lync.</strong>&#160; <br />This short code allows for 4 digit dialing from the IPO to Lync extensions as well as will allow for inbound call routes to be configured for DIDs that are homed on Lync.       <br />Select Short Code in the left panel. Right-click and select New. Enter the first 2 digits of the extension range you are wanting to route to Lync followed by xx (example <strong>65xx</strong>).&#160; Select <strong>Dial</strong> for the Feature. Select the <strong>SIP-Lync</strong> ARS created previously from the Line Group Id drop down list. Enter “<strong>65N</strong>” for the Telephone Number field. Use default values for all other       <br />fields. Press the OK button.
<p><a title="ShortCode2" href="http://www.flickr.com/photos/23086965@N05/5689876283/"><img border="0" alt="ShortCode2" src="http://farm6.static.flickr.com/5261/5689876283_e22cb1b60f.jpg" /></a>       </li>
<li><strong>Create a short code to route Lync calls to the PSTN</strong>.&#160; This short code will be matched for any number if a Lync user calls the PSTN and the IPO has no extension match, the call will be routed to the PSTN, without the rule, the IPO doesn’t know what to do with digits dialed that aren’t extensions on the IPO.       <br />Select Short Code in the left panel. Right-click and select New. Enter “<strong>?</strong>” in the Code field. Select <strong>Dial</strong> for the Feature. Select the <strong>ISDN/PRI line Outgoing Group Id</strong> from the Line Group Id drop down list. Enter <strong>“.”</strong> for the Telephone Number field. Use default values for all other fields. Press the OK button.
<p><a title="OutboundShortCode" href="http://www.flickr.com/photos/23086965@N05/5689876311/"><img border="0" alt="OutboundShortCode" src="http://farm6.static.flickr.com/5263/5689876311_831ce1be4e.jpg" /></a>       </li>
<li><strong>Create a Short Code for each Lync 4 Digit Extension</strong>.&#160; For the IPO to be able to route calls or allow Avaya Extensions to dial 4 digits to call a Lync user, each Lync Extension needs to have a IPO Short Code.&#160; In Hybrid environment, you have to let IPO know that this 4 digit extension is not homed on the IPO but rather on Lync for each user.&#160; Variables can’t be used in a hybrid environment because some extensions live on IPO and some on Lync.       <br />This example is for a Lync user extension 6500       <br />Select Short Code in the left panel. Right-click and select New. Enter “<strong>6500</strong>” in the Code field. Select <strong>Dial</strong> for the Feature. Enter “<strong>6500</strong>” for the telephone number and Select the <strong>SIP-Lync</strong> from the Line Group Id drop down list.&#160; Use default values for all other fields. Press the OK button.
<p><a title="Extn6500" href="http://www.flickr.com/photos/23086965@N05/5689876333/"><img border="0" alt="Extn6500" src="http://farm6.static.flickr.com/5305/5689876333_8d7a624e4c.jpg" /></a>       </li>
<li>&#160; Create incoming call route for Lync DIDs      <br />For an example DID (123) 555-6500 extension 6500       <br />Select Incoming Call Route in the left panel. Right-click and select New.&#160; Select the <strong>PSTN’s incoming Group ID</strong> in the Line Group ID drop down box.&#160; Enter “<strong>6500</strong>” in the Incoming Number to match the ICR last for digits.
<p><a title="6500ICR" href="http://www.flickr.com/photos/23086965@N05/5690451046/"><img border="0" alt="6500ICR" src="http://farm6.static.flickr.com/5102/5690451046_06bab12c38.jpg" /></a>       </p>
<p>On the Destinations Tab enter “<strong>6500</strong>” to point to the short code created in step 7 above and the call will route via the ARS table to the SIP trunk to Lync formatted as +11235556500@192.168.1.100       </p>
<p><a title="6500ICR-Destination" href="http://www.flickr.com/photos/23086965@N05/5689876413/"><img border="0" alt="6500ICR-Destination" src="http://farm6.static.flickr.com/5102/5689876413_f81a4744b6.jpg" /></a>       </li>
<li>&#160; <strong>Configure routing for For Lync Extensions without DIDs</strong> (as documented <a href="http://jasonmlee.net/archives/426">here</a>). An ARS entry will have to be created for each Extension since the IPO cannot use variables in the E.164 formatting of the outbound call and Lync requires the call to come in in the +11235556500;ext=4175 format.       <br />This example extensions 4150-4175 don’t have DIDs but were valid Lync extensions, in order for IPO extensions to call extensions 4150-4175 a short code would be required for 41xx Pointing to the the SIP-Lync ARS Table. (Assuming no other extensions in the 4100 range are homed on the IPO).
<p><a title="NoDIDShortCode" href="http://www.flickr.com/photos/23086965@N05/5689876427/"><img border="0" alt="NoDIDShortCode" src="http://farm6.static.flickr.com/5107/5689876427_2b9eb18947.jpg" /></a>       </p>
<p>Then entries for each extension would need to be added to the ARS table.       <br />Code: <strong>4150</strong>, Feature: <strong>Dial</strong>       <br />Telephone Number: <strong>+1235556500”ext=4150@192.168.1.100” </strong>(the “”s are required to tell IPO that nothing contained in this part of the string is a variable.&#160; Each subsequent extension would need a ARS entry.       </p>
<p><a title="ARSShortCodeNoDID" href="http://www.flickr.com/photos/23086965@N05/5689876445/"><img border="0" alt="ARSShortCodeNoDID" src="http://farm6.static.flickr.com/5107/5689876445_7a2914c670.jpg" /></a>       </li>
<li>&#160; <strong>Configure Lync Call routing to use the IPO as a Gateway.&#160; </strong>This assumes you have enabled users for enterprise voice which is a fairly well documented process: <a title="http://technet.microsoft.com/en-us/library/gg413011.aspx" href="http://technet.microsoft.com/en-us/library/gg413011.aspx">http://technet.microsoft.com/en-us/library/gg413011.aspx</a>       <br />After users are enabled, go to the Topology builder and browse the Standard Server.&#160;&#160; Check the box for Enterprise Voice
<p><a title="EnableEnterpriseVoice" href="http://www.flickr.com/photos/23086965@N05/5690451188/"><img border="0" alt="EnableEnterpriseVoice" src="http://farm6.static.flickr.com/5105/5690451188_3631766931.jpg" /></a>       </p>
<p>Edit the properties and go to the Mediation Server.&#160; Enable Collocated Mediation Server. Define your Listening Ports and click new gateway enter the IP address of the IPO and the Port that it is listening for SIP traffic on.&#160;&#160; </p>
<p><a title="DefinenewGateway" href="http://www.flickr.com/photos/23086965@N05/5689876459/"><img border="0" alt="DefinenewGateway" src="http://farm6.static.flickr.com/5227/5689876459_28c133db22.jpg" /></a>       </p>
<p><a title="AddGateway" href="http://www.flickr.com/photos/23086965@N05/5689876489/"><img border="0" alt="AddGateway" src="http://farm6.static.flickr.com/5263/5689876489_f153407208.jpg" /></a>       </p>
<p>Publish the Topology.       </p>
</li>
<li>&#160; <strong>Configure Dial Plan and Trunk.</strong>&#160; Open Lync Control Panel and go to Voice Routing then Trunk configuration open the newly added Gateway and change the Encryption support level to <strong>Optional, </strong>Uncheck <strong>Media Bypass</strong>, Uncheck <strong>Centralized Media Processing</strong> and Uncheck <strong>Enable Refer Support.
<p><a title="TrunkConfiguration" href="http://www.flickr.com/photos/23086965@N05/5689876553/"><img border="0" alt="TrunkConfiguration" src="http://farm6.static.flickr.com/5144/5689876553_afe9a61c3f.jpg" /></a>         <br /></strong></li>
<li><strong>&#160; Add a translation rule to call 4 digit extensions on the IPO</strong>.&#160; This allows a normalized call from the Lync server to pass just 4 digits to the IPO so it correctly routes to the extension on the IPO.       <br />Starting Digits: <strong>+12355565</strong>       <br />Length:<strong>&#160; Exactly 12</strong>       <br />Digits to remove: <strong>8        <br /></strong>This rule tells the Lync server to simply pass 65xx to the IPO.
<p><a title="IPOTranslationRule" href="http://www.flickr.com/photos/23086965@N05/5690451214/"><img border="0" alt="IPOTranslationRule" src="http://farm6.static.flickr.com/5227/5690451214_075f0d8565.jpg" /></a>       </li>
<li>&#160; <strong>Create a Call Route. </strong>Select New Route and name it and add a description.&#160; Leave the Pattern to match the default “<strong>*</strong>” which matches all calls.
<p><a title="VoiceRoute-1" href="http://www.flickr.com/photos/23086965@N05/5689876581/"><img border="0" alt="VoiceRoute-1" src="http://farm6.static.flickr.com/5021/5689876581_a50436d053.jpg" /></a>       </p>
<p>Scrolling down select Add for Associated Gateways and select the PSTN Gateway.&#160; Do not yet associate a PSTN Usage.&#160; But confirm the Gateway is added.       </p>
<p><a title="VoiceRoute-2" href="http://www.flickr.com/photos/23086965@N05/5690538036/"><img border="0" alt="VoiceRoute-2" src="http://farm6.static.flickr.com/5222/5690538036_3f66f68900.jpg" /></a>       </li>
<li>&#160; <strong>Create a Site Voice Policy&#160; </strong>Choose new and select the site you want to add a voice policy for.&#160; Add a Description and enable all appropriate features.&#160; Then New.
<p><a title="VoicePolicy" href="http://www.flickr.com/photos/23086965@N05/5690544166/"><img border="0" alt="VoicePolicy" src="http://farm6.static.flickr.com/5302/5690544166_179fc037bc.jpg" /></a>
<p>Associate the route just created in step 15 by hitting select        </p>
<p><a title="Associate PSTN Route" href="http://www.flickr.com/photos/23086965@N05/5690451300/"><img border="0" alt="Associate PSTN Route" src="http://farm6.static.flickr.com/5103/5690451300_2c453713a1.jpg" /></a>         </p>
<p>choose the route.         </p>
<p><a title="Select PSTN Route" href="http://www.flickr.com/photos/23086965@N05/5689876599/"><img border="0" alt="Select PSTN Route" src="http://farm6.static.flickr.com/5230/5689876599_0c7e67eb2d.jpg" /></a>         </p>
<p>Go back to Routes and edit the AVAYA PSTN route and scroll to the bottom and Associate the PSTN Usage created.         </p>
<p><a title="VoiceRoute-3" href="http://www.flickr.com/photos/23086965@N05/5690538052/"><img border="0" alt="VoiceRoute-3" src="http://farm6.static.flickr.com/5223/5690538052_723808986d.jpg" /></a>         </p>
<p>Commit all Changes. </p>
</li>
</ol>
<p>&#160;</p>
<p>After these steps you should be able to make calls via the IPO as a Lync Gateway.</p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/PQy7pMu64ks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/431/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Configure Lync 4 Digit Extension Dialing without DIDs</title>
		<link>http://jasonmlee.net/archives/426</link>
		<comments>http://jasonmlee.net/archives/426#comments</comments>
		<pubDate>Thu, 21 Apr 2011 19:56:38 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Enterprise Voice]]></category>
		<category><![CDATA[Lync]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/426</guid>
		<description><![CDATA[Project Scope   Preparing for Deployment – Research and Education and Pricing   Deployment of Standard Server &#38; Director Role   Deployment of Edge and Reverse Proxy   Deployment of Lync Voice Capabilities   Configuring Lync PSTN Calling thru Avaya IPOffice   Configure Lync 4 Digit Extension Dialing without [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jasonmlee.net/archives/409">Project Scope</a>   <br /><a href="http://jasonmlee.net/archives/411">Preparing for Deployment – Research and Education and Pricing</a>   <br />Deployment of Standard Server &amp; Director Role   <br />Deployment of Edge and Reverse Proxy   <br />Deployment of Lync Voice Capabilities   <br /><a href="http://jasonmlee.net/archives/431">Configuring Lync PSTN Calling thru Avaya IPOffice</a>   <br /><a href="http://jasonmlee.net/archives/426">Configure Lync 4 Digit Extension Dialing without DIDs</a>   <br /><a href="http://jasonmlee.net/archives/447">Configure Asterisk as a SIP Proxy for Avaya IPO and and Lync</a>   <br />Deployment of Lync Client to users   <br /><a href="http://jasonmlee.net/archives/459">Testing Configuration of Backup Registrar</a>   <br />Training
<p>&#160;</p>
<p>This post isn’t in the planned sequence of documenting the Lync Deployment in this series, but I found the topic fairly frustrating and undocumented today so I decided to go ahead and post this now.&#160; Our primary location has DIDs for each extension, but or second campus only has a few POTs (Plain Old Telephone) lines for service so there are not DIDs for each extension.</p>
<p><strong>Lync Extensions without the use of DIDs (Direct Inward Dial)      <br /></strong>When deploying Lync Enterprise Voice each user is configured with a SIP Address as well as a telephone Line URI.&#160; In deployments where every extension has a DID the Tel URI can simply be the external DID number associated with that user. </p>
<p>When you make a 4 digit extension call internally, Lync uses your defined Dialing Rules and normalizes the number to the E.164 format.&#160; When dialing extension 5555 Lync would normalize (because you configured this normalization rule already) it to: +112355555555 for a US telephone number of (123) 555-5555 and will route the calls internally to the appropriate user.&#160; Since the call matches a Lync user the call isn’t routed to the PSTN (Public Switched Telephone Network).</p>
<p><a title="DID" href="http://www.flickr.com/photos/23086965@N05/5640962865/"><img border="0" alt="DID" src="http://farm6.static.flickr.com/5301/5640962865_a9b02200c8.jpg" /></a></p>
<p>When a user doesn’t have a DID, you can also enter a user’s Tel URI with the extension added&#160; in the following format: +112355555555;ext=1234 where the main telephone number is (123)555-5555 and the extension is 1234. </p>
<p><a title="Non-DID" href="http://www.flickr.com/photos/23086965@N05/5641531320/"><img border="0" alt="Non-DID" src="http://farm6.static.flickr.com/5024/5641531320_5941fe9a61.jpg" /></a></p>
<p>Even though you have created the user with the main number and extension you won’t be able to make 4 digit calls without adding additional dialing rules so the call can be completed. </p>
<p>To make calls to 4 digit extensions that do not have DIDs go to Lync Server Control Pannel &gt; Voice Routing and select the appropriate Dial Plan. Once you are viewing the appropriate dial plan choose new “Associated Normalization Rule”.&#160; Give the new Rule a Name and Description. Then skip all the boxes for Starting Digits, Length, Digits to Remove and Digits to add and go to Pattern To match and select Edit.</p>
<p><a title="NewDialingRule" href="http://www.flickr.com/photos/23086965@N05/5640962911/"><img border="0" alt="NewDialingRule" src="http://farm6.static.flickr.com/5056/5640962911_38fd5b8dc7.jpg" /></a></p>
<p>&#160;</p>
<p>This example will allow dialing for 4 digit extensions starting with 12## associated with the main number (123) 555-5555    <br />(extensions 1200-1299)     <br />The Value for “Match this Pattern” is: ^(12\d{2})$     <br />The Translation Rule is: +11235555555;ext=$1</p>
<p><a title="Rule Expression" href="http://www.flickr.com/photos/23086965@N05/5641531378/"><img border="0" alt="Rule Expression" src="http://farm6.static.flickr.com/5049/5641531378_8f5c8ecaa8.jpg" /></a></p>
<p>After you save and Commit the Rules and they replicate to your Lync Clients you will now be able to dial 4 digit extensions that don’t have a DID.</p>
<p><a title="calling" href="http://www.flickr.com/photos/23086965@N05/5641531282/"><img border="0" alt="calling" src="http://farm6.static.flickr.com/5060/5641531282_f2c8b1b3a7.jpg" /></a></p>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/zn81eNF9cAM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/426/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Mobile SIP Calling over Wi-Fi</title>
		<link>http://jasonmlee.net/archives/422</link>
		<comments>http://jasonmlee.net/archives/422#comments</comments>
		<pubDate>Mon, 11 Apr 2011 15:00:00 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[SIP WiFI]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/422</guid>
		<description><![CDATA[A upcoming trip has had me exploring cost effective ways to make traditional phone calls from my mobile device over a Wi-Fi connection.&#160; My trip’s location will be where there is little or no CDMA cell phone coverage and if there is any coverage, Sprint’s rates are fairly expensive.&#160; And since my primary phone is [...]]]></description>
			<content:encoded><![CDATA[<p>A upcoming trip has had me exploring cost effective ways to make traditional phone calls from my mobile device over a Wi-Fi connection.&#160; My trip’s location will be where there is little or no CDMA cell phone coverage and if there is any coverage, Sprint’s rates are fairly expensive.&#160; And since my primary phone is a HTC Evo we need an alternative.</p>
<p>Since most hotels have Wi-Fi or you can usually find a fairly cost effective internet café. The quest for the ability to call any US landline or mobile phone from my mobile device when there is Wi-Fi available has begun.</p>
<p>An alternative is needed since Google voice simply re-routes your calls using GV still uses minutes on a mobile phone as well as requires phone service from your carrier. (Calling from GV redirects the call their phone number and then routes the call from GV to the person you are calling…)</p>
<p>I have found no direct SIP provider that offers free calling to the PSTN (Public Switched Telephone Network), but was able to find a SIP provider that allows free incoming calls… Enter GV Call Back, SipDroid, and SipGate and Google Voice… with those combined you have Free SIP calling anywhere you have a Wi-Fi connection.&#160; Not to mention inbound calling from anyone who has your Google voice number.</p>
<p><em>Here is the basics:</em>    <br />Using an Android application called Google Voice Call Back you can initiate over an internet connection a Google voice call.&#160; Google Voice then calls you back on your SIP line which then alerts your phone.&#160; Once you answer the SIP call on your mobile device, Google Calls the person you want to talk to, and you are connected via your device on Wi-Fi to someone on their telephone (mobile or Landline). </p>
<p><em>Here’s how you set it up:</em></p>
<ol>
<li>Download and install <a href="https://market.android.com/details?id=com.xinlu.gvdial&amp;feature=search_result">Google Voice Call Back</a> </li>
<li>Download and install <a href="https://market.android.com/details?id=org.sipdroid.sipua&amp;feature=search_result">SIPDroid</a>&#160; </li>
<li>Setup a Free Sipgate One Account with <a href="http://www.sipgate.com/one">SipGate</a> (60 Free outbound minutes and unlimited incoming calls, but you won’t be using any of the outbound calling minutes so it really doesn’t matter) </li>
<li>Acquire a “local” US number from SIPGate by entering your zip code.&#160; It doesn’t matter if this number isn’t a local number for you since you won’t be calling this number nor with anyone else. </li>
<li>Login to your Google voice account and go to Voice Settings.&#160; </li>
<li>Add an additional number and enter your newly acquired SipGate telephone number. (you will be prompted to verify your new Google voice number, but a few more steps need completed first) </li>
<li>Back at your SipGate Dashboard, go to settings and then Click on “Voicemail, Call Forwarding &amp;Hunting” and delete the forwarding settings.      <br />(this will allow for the Google voice call to ring your phone without SipGate voicemail picking up the call before you do on your mobile device)       <br /><a title="sipgate voicemail" href="http://www.flickr.com/photos/23086965@N05/5608637152/"><img border="0" hspace="5" alt="sipgate voicemail" vspace="5" src="http://farm6.static.flickr.com/5305/5608637152_254a4a53f3.jpg" width="424" height="233" /></a>
</li>
<li>Go to “Phone” in the settings of your SipGate Account, Mouse over your IP Phone and select “Sip Credentials”&#160; <br /><a title="SipGate Credentials1" href="http://www.flickr.com/photos/23086965@N05/5608052921/"><img style="border-right-width: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" hspace="5" alt="SipGate Credentials1" vspace="5" src="http://farm6.static.flickr.com/5067/5608052921_a1ced7f2ca.jpg" width="423" height="232" /></a> </li>
<li>Note the registry, SIP-ID and SIP-Password as you need those in the next steps.      <br /><a title="SipGate Credentials" href="http://www.flickr.com/photos/23086965@N05/5608052869/"><img border="0" hspace="5" alt="SipGate Credentials" vspace="5" src="http://farm6.static.flickr.com/5266/5608052869_e780b3147e.jpg" /></a> </li>
<li> Launch SipDroid on your phone and press menu and Go to settings      <br /><a title="snap20110410_175000" href="http://www.flickr.com/photos/23086965@N05/5608637232/"><img border="0" hspace="5" alt="snap20110410_175000" vspace="5" src="http://farm6.static.flickr.com/5184/5608637232_4e896f9b49.jpg" width="214" height="356" /></a> </li>
<li>&#160; Select the first “SIP Account” (Line 1)     <br />&#160;<a title="snap20110410_175006" href="http://www.flickr.com/photos/23086965@N05/5608637300/"><img border="0" alt="snap20110410_175006" src="http://farm6.static.flickr.com/5105/5608637300_74bbbbb291.jpg" width="223" height="152" /></a>      </li>
<li> Enter your SIP-ID as the Authorization Username and enter your SIP-Password as the Password. </li>
<li>&#160; Select server&#160; or proxy and change from pbxes.org to sipgate.com (leave all other settings as the defaults)      <br /><a title="snap20110410_175011" href="http://www.flickr.com/photos/23086965@N05/5608053201/"><img border="0" hspace="5" alt="snap20110410_175011" vspace="5" src="http://farm6.static.flickr.com/5109/5608053201_12863cb530.jpg" width="219" height="365" /></a>       </li>
<li> Scroll down and select which networks SipDroid can use.
<p><a title="snap20110410_215735" href="http://www.flickr.com/photos/23086965@N05/5608168773/"><img border="0" alt="snap20110410_215735" src="http://farm6.static.flickr.com/5028/5608168773_5ff6e0fcec.jpg" width="231" height="276" /></a>      </li>
<li> Launch the GV Call Back application and Set “When to use call back” to either use for all calls or ask for every call. </li>
<li> Enter your Google Voice username and password. </li>
<li> Set the Callback number to your sipgate number. </li>
<li> Select phone type as mobile.&#160; Apply Settings.
<p><a title="snap20110410_214751" href="http://www.flickr.com/photos/23086965@N05/5608760066/"><img border="0" alt="snap20110410_214751" src="http://farm6.static.flickr.com/5064/5608760066_3ebfff2221.jpg" width="242" height="288" /></a>      </li>
<li> You have now configured GV Call Back, SipDroid, and SipGate and Google Voice.&#160; </li>
<li> Launch SipDroid and wait for the Yellow indicator to turn Green in the Status Bar.&#160; After the indicator turns green you are able to answer SIPDroid Calls.&#160; </li>
<li> Go Back to the Google Voice Settings page and initiate the test call to validate your SIPGate Number.&#160; Your Android Device should begin ringing. Hit the keypad button and enter the code on the dial pad.     <br /><a title="icon" href="http://www.flickr.com/photos/23086965@N05/5608186603/"><img border="0" alt="icon" src="http://farm6.static.flickr.com/5062/5608186603_6d6b400733.jpg" /></a>      </li>
<li> Once your number has been validated, you are ready to make Calls.&#160; With the Google Voice Call back application enabled, and SIPDroid running, go to the phone dial pad and make a call.&#160; GV Call back will indicate it is making a connection
<p><a title="snap20110410_222445" href="http://www.flickr.com/photos/23086965@N05/5608812662/"><img border="0" alt="snap20110410_222445" src="http://farm6.static.flickr.com/5025/5608812662_7d1f79ea26.jpg" width="300" height="414" /></a>      </li>
<li> A few seconds later you will notice the Green handset in the status bar and then the following screen will display.&#160;&#160; The first number is your SIPGate Number from which you are receiving the inbound call, the second number is the caller ID of your Google Voice number. (in the case that someone is calling your Google voice number, this line will display the caller ID of the person calling your Google Voice Number.)
<p><a title="snap20110410_222733" href="http://www.flickr.com/photos/23086965@N05/5608812732/"><img border="0" alt="snap20110410_222733" src="http://farm5.static.flickr.com/4107/5608812732_108ac2b4f5.jpg" /></a>      </li>
<li>&#160; During the call you will see a screen similar to the incoming call (with the addition of the dial pad icon to enter any touch tones during the call)
<p><a title="snap20110410_222736" href="http://www.flickr.com/photos/23086965@N05/5608229693/"><img border="0" alt="snap20110410_222736" src="http://farm6.static.flickr.com/5150/5608229693_083bef814c.jpg" /></a>      </li>
<li>&#160; Once the call is ended the following screen will display and you can resume normal usage of the device.
<p><a title="snap20110410_222740" href="http://www.flickr.com/photos/23086965@N05/5608229621/"><img border="0" alt="snap20110410_222740" src="http://farm5.static.flickr.com/4096/5608229621_133f49731d.jpg" /></a>      </li>
</ol>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/3cW5SyuoBKM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/422/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mac .ds_store Files on File Servers</title>
		<link>http://jasonmlee.net/archives/419</link>
		<comments>http://jasonmlee.net/archives/419#comments</comments>
		<pubDate>Thu, 03 Mar 2011 22:16:51 +0000</pubDate>
		<dc:creator>jasonlee</dc:creator>
				<category><![CDATA[OSX Domain Integration]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://jasonmlee.net/archives/419</guid>
		<description><![CDATA[If you have a hybrid environment of Mac and Windows File servers you probably have seen several file types that the Macs leave around the file server.&#160; Most of the time you will see .ds_store files appearing where ever a Mac has browsed the file server.&#160; These meta data files are used by the macs [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a hybrid environment of Mac and Windows File servers you probably have seen several file types that the Macs leave around the file server.&#160; Most of the time you will see .ds_store files appearing where ever a Mac has browsed the file server.&#160; These meta data files are used by the macs telling the finder how to display, where to appear on the screen, what view to use etc.. but becomes problematic when you have a few users with different resolutions or systems with and without dual monitor are browsing the same file server.&#160; Some backup solutions and DFS Replication can have issues with these files as well.</p>
<p>Apple documents the ability to turn off the .ds_store files here: <a title="http://support.apple.com/kb/ht1629" href="http://support.apple.com/kb/ht1629">http://support.apple.com/kb/ht1629</a> but isn’t totally complete in the instructions so I have documented the process here.</p>
<blockquote><p>1.&#160; Open Terminal.      <br />2. Change Directory&#160; <br />&#160;&#160;&#160; cd ~/library/preferences       <br />3. Write the plist file with the following command:&#160; <br />&#160;&#160;&#160; defaults write com.apple.desktopservices DSDontWriteNetworkStores true</p>
<p>4. Read the plist with the following command      <br />&#160;&#160; defaults read com.apple.desktopservices DSDontWriteNetworkStores       <br />4. Either restart the computer or log out and back in to the user account.</p>
</blockquote>
<p>This applies the setting to the current user but does not impact any other users.&#160; To apply this to all future users who login to the machine copy the .plist file from the user directory to the user template with this command:</p>
<blockquote><p>Sudo cp ~/library/preferences/com.apple.desktopservices.plist      <br />&#160; /system/library/UserTemplate/English.lproj/Library/Preferences</p>
</blockquote>
<p>If you need to disable .ds_store files for an existing user use this command:</p>
<blockquote><p>Sudo cp ~/library/preferences/com.apple.desktopservices.plist      <br />/users/&quot;username&quot;/library/Preferences</p>
</blockquote>
<img src="http://feeds.feedburner.com/~r/jasonmlee/~4/m_eY1DuI53U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jasonmlee.net/archives/419/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

