<?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:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-1261292475025329861</atom:id><lastBuildDate>Wed, 10 Jun 2009 21:50:22 +0000</lastBuildDate><title>It's enough to be on your way...</title><description>The thoughts of an IT Pro from Melbourne, Australia.</description><link>http://blog.lithiumblue.com/</link><managingEditor>noreply@blogger.com (Ryan Newington)</managingEditor><generator>Blogger</generator><openSearch:totalResults>43</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ItsEnoughToBeOnYourWay" type="application/rss+xml" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-6383014652948790000</guid><pubDate>Wed, 13 Feb 2008 11:28:00 +0000</pubDate><atom:updated>2008-02-13T22:28:30.628+11:00</atom:updated><title>What The?????? Exchange 2007 and Windows Server 2008 Backup</title><description>&lt;p&gt;&amp;lt;rant&amp;gt; &lt;/p&gt;  &lt;p&gt;Ok, I'm in a bit of shock. I normally only have nice things to say about Microsoft and their products, and I've always stood behind them 100%. But I'm upset today, so I'm going to have a bit of a rant and explain why...&lt;/p&gt;  &lt;p&gt;I've been planning my migration from Windows Server 2003 to Windows Server 2008 which was &lt;a href="http://blogs.technet.com/windowsserver/archive/2008/02/04/windows-server-2008-rtm.aspx"&gt;released last week&lt;/a&gt;. On my test machine, I got Exchange 2007 SP1 installed and configured no problems. Just before I was about to change the production system over, I thought &amp;quot;it's probably a good idea to test the backup&amp;quot;, since I remember seeing something about a new backup system in Windows Server 2008. &lt;/p&gt;  &lt;p&gt;Before I go on, I should outline my current backup arrangements. I currently use NTBackup on Windows Server 2003 to backup my server and Exchange Mailboxes. I don't backup everything, as I have a large amount of data that I don't really care about (several TBs), so I select the important things I need to backup like programs, personal folders, and system files and settings. I backup to a local 2TB array on my system. Its not an unusual setup, and certainly not a complex arrangement. Most importantly it does exactly what I need it to.&lt;/p&gt;  &lt;p&gt;So... I fire up the new &lt;em&gt;Windows Server Backup&lt;/em&gt; console and get ready to configure my backup jobs. The first problem I noticed was it gave me 2 options. &lt;/p&gt;  &lt;p&gt;Option 1: &lt;em&gt;Full Server (recommended) - I want to back up all my server data, applications, and system state&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Well, thank you mister wizard, but no, I don't want to back all that up, what other options do we have?&lt;/p&gt;  &lt;p&gt;Option 2: &lt;em&gt;Custom - I want to exclude some volumes from this backup.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Erm... well I want to exclude some files and folders, not an entire volume, what other options do we have?&lt;/p&gt;  &lt;p&gt;(insert deafening silence here)&lt;/p&gt;  &lt;p&gt;That's it! They were my options. Surely not! After a bit of research, I find that there is a command line tool wbadmin.exe that allows a few more options than the GUI (I have a real problem with this move away from the GUI back to the command line - if I wanted to spend my life at a command prompt, I'd become a linux sysadmin... this isn't what I signed up for - but that's a post for other day). Perhaps I can specify a config file of some sort to tell it exactly what I want backed up? Searching through the rather pitiful documentation on Technet reveals that its actually as useless to me as the GUI. There is simply no support for backing up individual files or folders. &lt;/p&gt;  &lt;p&gt;So ok, maybe I could shuffle some data around the various volumes and work around this inconvenience. Lets test a backup and see what the Exchange restore process is like. The backup was relatively fast, and I proceeded to use the wizard to walk me through the recovery process. I was presented with the following options&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/WhatTheExchange2007andWindowsServer2008B_13C06/image.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="357" alt="image" src="http://members.iinet.net.au/~blade9/WhatTheExchange2007andWindowsServer2008B_13C06/image_thumb.png" width="456" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Errrm... Applications appears to be disabled. Did Exchange get backed up? I opened up the mailbox store folder to see if the transactions logs have cleared as they do after a successful full backup. Nope... still there... how bizzare! Time to do some research.&lt;/p&gt;  &lt;p&gt;I came across &lt;a href="http://www.shudnow.net/2008/02/07/server-2008s-windows-server-backup-will-not-be-exchange-aware/"&gt;this post&lt;/a&gt;, at which point, I was ready to cry. No support for Exchange at all with Windows Server Backup. No support for backing up individual files or folders. Further research reveals that even the ability to backup to tape has been removed from Windows Server Backup. I can't see anything that relates to differential or incremental backups either. I could not agree more with Elan that Windows Server Backup is complete garbage. &lt;/p&gt;  &lt;p&gt;To add insult to injury, I went looking for a copy of System Centre Data Protection Manager 2007 (which is supposed to support Windows Server 2008 and Exchange 2007) on the Technet Plus Subscription Site. All that was there was a copy of DPM beta 2 from mid last year.&amp;#160; &lt;/p&gt;  &lt;p&gt;So I've now shut down my Windows Server 2008 test box. I've thrown my toys out of the sandpit for now.&amp;#160; I know a lot of people that complain about NTBackup, and it was less than ideal in a lot of respects, but it came with the OS and it got the job done. Now, it has been replaced by something that is 100% useless. How on earth did this get approved as the backup solution to be released with Microsoft's latest and greatest server OS? Who in their right minds thought &amp;quot;Wow, what a quality piece of software. Lets approve this for release!&amp;quot;?&lt;/p&gt;  &lt;p&gt;Get your act together Microsoft... this is a joke.&lt;/p&gt;  &lt;p&gt;&amp;lt;/rant&amp;gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-6383014652948790000?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/63jjWpZvS_U/what-exchange-2007-and-windows-server.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2008/02/what-exchange-2007-and-windows-server.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-7569854024889665385</guid><pubDate>Mon, 17 Dec 2007 08:05:00 +0000</pubDate><atom:updated>2007-12-17T19:05:02.856+11:00</atom:updated><title>Interim information on integration OCS and Asterisk</title><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Disclaimer: &lt;/strong&gt;This guide hasn't been tested and verified like the Exchange UM guide - it may not be 100% accurate. It is not a step-by-step detailed and assumes you know your way around trixbox, sipX and OCS, or at least have configured Exchange UM using my guide. It is provided only for early adopters that want to experiment in a test environment. It WILL NOT work with the trixbox version (2.2) used in the Exchange UM guide. &lt;strong&gt;See &lt;a href="http://blog.lithiumblue.com/2007/12/ocsasterisk-integration-update.html"&gt;my post here&lt;/a&gt; on issues with Asterisk and OCS integration FIRST&lt;/strong&gt;. Please feel free to provide comments, feedback and results of your own testing (via email please).&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Overview: In order to make this work, we need to install the follow-me module in Asterisk, define a custom voicemail macro for follow-me, and configure some new dial rules in sipx. I use a single extension range (400-499), and use sipx to do some fancy number transformations to allow calls to flow back and forth correctly.&lt;/p&gt;  &lt;p&gt;Step 1: Install the folllow-me module in freePBX.&lt;/p&gt;  &lt;p&gt;Step 2:&amp;#160; Edit extensions_custom.conf and add the following code;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" color="#0000ff"&gt;[custom-exchangevm]      &lt;br /&gt;exten =&amp;gt; s,1,NoOp(Entering custom-exchangevm for a call to ${DNID})       &lt;br /&gt;exten =&amp;gt; s,n,Set(EXTTOCALL=${BLKVM_BASE})       &lt;br /&gt;exten =&amp;gt; s,n,NoOp(Sending to Voicemail box ${EXTTOCALL})       &lt;br /&gt;exten =&amp;gt; s,n,SIPAddHeader(Diversion: &amp;lt;tel:${EXTTOCALL}&amp;gt;\;reason=no-answer\;screen=no\;privacy=off)       &lt;br /&gt;exten =&amp;gt; s,n,Dial(&lt;/font&gt;&lt;a href="mailto:SIP/222@sipx.lithnet.local|30"&gt;&lt;font face="Courier New" color="#0000ff"&gt;SIP/&lt;font color="#00bb00"&gt;222@sipx.lithnet.local&lt;/font&gt;|30&lt;/font&gt;&lt;/a&gt;&lt;font face="Courier New" color="#0000ff"&gt;)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Step 3: Configure follow-me for your extensions. The extension list should contain both the extension number, and the extension number followed by a numerical prefix. I used the number 4. You can use whatever you want, as long as you can route it in your dial plan - adapt this guide as appropriate. Make sure the the external numbers are followed by '#' so the module knows it needs to route outside of asterisk. Select 'Custom app' for the no answer destination, and type &lt;font face="Courier New" color="#0000ff"&gt;custom-exchangevm,s,1 &lt;/font&gt;in the text box.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="515" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb.png" width="394" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 4. Configure an outbound route. You can either create a new route to send 4xxx calls to sipx, or add 4xxx to your existing sipx route as shown below. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_3.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="555" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_3.png" width="367" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 5. Now we need to configure sipX to strip off the prefix ('4') we added, and replace it with a plus sign (+). OCS requires that numbers be in E164 format, I'm not going to go into that in detail, but for testing purposes, we can just add a + at the start of the number, and it will be happy.&lt;/p&gt;  &lt;p&gt;Add the following to your /etc/sipxpbx/external_mappingrules.xml file. &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160; &lt;font face="Courier New" color="#0000ff"&gt;&amp;lt;!-- Asterisk-OCS Dial Rule --&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;userMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;userPattern&amp;gt;&lt;font color="#00bb00"&gt;4xxx&lt;/font&gt;&amp;lt;/userPattern&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;permissionMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;transform&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;user&amp;gt;+{vdigits}&amp;lt;/user&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;host&amp;gt;&lt;font color="#00bb00"&gt;ocs-med.lithnet.local&lt;/font&gt;&amp;lt;/host&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;urlparams&amp;gt;transport=tcp&amp;lt;/urlparams&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fieldparams&amp;gt;q=0.9&amp;lt;/fieldparams&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/transform&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/permissionMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/userMatch&amp;gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Add this to your external_authrules.xml file:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160; &amp;lt;hostMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;!--OCS Mediation Dial Rule (IPs and hostnames of your OCS mediation and OCS comms server--&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;hostPattern&amp;gt;&lt;font color="#00bb00"&gt;ocs-med.lithnet.local&lt;/font&gt;&amp;lt;/hostPattern&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;hostPattern&amp;gt;&lt;font color="#00bb00"&gt;192.168.0.80&lt;/font&gt;&amp;lt;/hostPattern&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;hostPattern&amp;gt;&lt;font color="#00bb00"&gt;ocs-main.lithnet.local&lt;/font&gt;&amp;lt;/hostPattern&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;hostPattern&amp;gt;&lt;font color="#00bb00"&gt;192.168.0.70&lt;/font&gt;&amp;lt;/hostPattern&amp;gt;       &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;userMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;userPattern&amp;gt;.&amp;lt;/userPattern&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;permissionMatch/&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/userMatch&amp;gt;      &lt;br /&gt;&lt;/font&gt;&lt;font face="Courier New" color="#0000ff"&gt;&amp;#160; &amp;lt;/hostMatch&amp;gt;&lt;/font&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;Step 6: In the sipx web interface, add a new dial rule called OCS-Asterisk Dial Rule. In the dialed number field, put + as the prefix, and select &amp;#8216;3 digits&amp;#8217; (or however many digits you have in your extension). Leave all the &amp;#8216;required permissions&amp;#8217; unticked. In resulting call, leave the prefix blank, and select&amp;#160; &amp;#8216;variable part of dialed number&amp;#8217;. Select Asterisk as your gateway. Activate your dial plans and you are done.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="480" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_4.png" width="397" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 7: In the OCS Management console, right click on your mediation server, and click properties. Type the IP Address of your sipX server as the next hop destination.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_5.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="445" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_5.png" width="406" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 8: Configure users for PBX integration. Note the &amp;quot;+&amp;quot; before the number.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_6.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="519" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_6.png" width="415" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Step 9: Add an outbound route in OCS by right clicking on your forest in the OCS Management Console, selecting 'Voice Properties', clicking on the 'Routes' tab, clicking 'Add', and entering the information shown below. The regular expression basically says to route all calls to numbers beginning with a + to the Mediation Server.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_7.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="586" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_7.png" width="383" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 10: Add normalization rules. Back on the Voice Properties tab, click Location profiles and add a new profile. Add a new normalization rule. Use the information below to create a basic normalization rule. This example will take any 3 digit number starting with '4', and append a + sign to it. This gives us a number that is formatted and can understood by the dial rule we set up in step 9. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_8.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="585" alt="image" src="http://members.iinet.net.au/~blade9/InteriminformationonintegrationOCSandAst_92AD/image_thumb_8.png" width="428" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;That should be it. Add other normalization and dial rules as required to accommodate your needs. OCS uses SIP/TLS for encrypted communication between OCS servers and clients by default. If you run into difficulties and need to troubleshoot, turn off TLS and you will be able to see the SIP packets, rather than encrypted TCP traffic.&lt;/p&gt;  &lt;p&gt;Once again, I stress that this is not a complete guide. Just something to get started with, as many people have been asking for this. Please contact me via email if there are any errors you come across in this post.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-7569854024889665385?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/qdl0LPaHGRk/interim-information-on-integration-ocs.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/12/interim-information-on-integration-ocs.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-1272109577159728366</guid><pubDate>Mon, 17 Dec 2007 08:02:00 +0000</pubDate><atom:updated>2007-12-17T19:05:59.405+11:00</atom:updated><title>OCS/Asterisk integration Update</title><description>&lt;p&gt;Many people have been eager to find out what is going on with the Asterisk and OCS integration guide. First, let me say I haven't forgotten about it! There are a few problems that myself and others who are working on this with me are trying to resolve.&lt;/p&gt;  &lt;p&gt;As it stands, OCS and Asterisk don't want to play nice together. Each product seems to have a unique bug in it, that unfortunately only shows up in combination with the other. I'll give you a short explanation of each problem. If you haven't already done so, I recommend you &lt;a href="http://blog.lithiumblue.com/2007/07/understanding-relationship-between-sip.html"&gt;read up on SIP and RTP&lt;/a&gt;, otherwise this probably wont make any sense to you.&lt;/p&gt;  &lt;h4&gt;The OCS bug&lt;/h4&gt;  &lt;p&gt;The first RTP packet sent by the OCS mediation server is completely broken. There are two problems with this packet&lt;/p&gt;  &lt;p&gt;1. The packet is being sent to UDP port 0, not the port defined in the SIP Session description (SIP/SD) packet. Port 0 is a reserved port, and should never be used. The remote host correctly responds with an ICMP destination port unreachable message.&lt;/p&gt;  &lt;p&gt;2. The second problem with the packet, is that it is sent to the SIP gateway, not the RTP endpoint specified in the SIP/SD packet. So even if the packet was sent to the correct port, its being sent to the wrong host. In our setup, the Mediation Server is sending this RTP packet to port 0 of the sipX server. It should be going to the RTP port of the Asterisk server.&lt;/p&gt;  &lt;h6&gt;&lt;a href="http://members.iinet.net.au/~blade9/OCSAsteriskintegrationUpdate_84C9/image.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="131" alt="image" src="http://members.iinet.net.au/~blade9/OCSAsteriskintegrationUpdate_84C9/image_thumb.png" width="439" border="0" /&gt;&lt;/a&gt; Initial RTP packet sent by the OCS Mediation server to port 0&lt;/h6&gt;  &lt;p&gt;Now, as far as I can tell, this happens even with the 'OCS approved' gateway products. I reviewed some SIP traces of communication with a Dialogic gateway, and saw the same behaviour. Subsequent RTP packets appear to travel to the correct destination server and port, and other gateways ignore and compensate for the bad/missing packet. This is where Asterisk's bug comes into play&lt;/p&gt;  &lt;h4&gt;The Asterisk bug&lt;/h4&gt;  &lt;p&gt;Now, as we all know, UDP is a stateless protocol, that does not guarantee reliability or delivery as TCP does. Packets may arrive out of order, or go missing completely. As VoIP is time-sensitive, we use UDP for the audio data, because we would rather some packets go missing, than all of the arrive, but possibly be delayed. So a UDP implementation must never rely on the delivery of a UDP packet. &lt;/p&gt;  &lt;p&gt;From my own behavioural observations (and I could be wrong), it seems the Asterisk uses the initial RTP packet as a 'trigger' to start proxying the RTP traffic it receives from both endpoints. This first RTP packet is used to inform the other endpoint that it is about to start receiving data, but it never contains audio data (as shown in diagram above). As this packet never arrives, Asterisk just seems to wait indefinitely, ignoring all subsequent RTP packets from the mediation server, and our SIP phone. Given that there is no guarantee of receiving this packet, Asterisk should not be waiting for it, and should proceed with the correctly formed RTP packets it receives from the OCS Mediation Server.&lt;/p&gt;  &lt;h4&gt;The good news&lt;/h4&gt;  &lt;p&gt;There have been some reports of success with the newer build of Asterisk that comes with the new beta version of trixbox. I have not personally tried this, and coming up to Christmas, I'm not sure I will get time to until the new year. However, for those that do not want to wait, &lt;a href="http://blog.lithiumblue.com/2007/12/interim-information-on-integration-ocs.html"&gt;here is a post&lt;/a&gt; with some bits and pieces to get you started.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-1272109577159728366?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/9_Jt3KKzTRU/ocsasterisk-integration-update.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/12/ocsasterisk-integration-update.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-8180289802886514049</guid><pubDate>Mon, 29 Oct 2007 08:14:00 +0000</pubDate><atom:updated>2007-12-17T19:07:46.233+11:00</atom:updated><title>OCS/Asterisk integration work in progress</title><description>&lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;UPDATE 17/12/2007: This information has been superseded by a &lt;a href="http://blog.lithiumblue.com/2007/12/interim-information-on-integration-ocs.html"&gt;more detailed post&lt;/a&gt;.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;So I have finally gotten my act together and started my OCS/Asterisk integration. For those of you that don't want to wait for the full guide, you can start by configuring your dial plans in Asterisk and sipX to point to your mediation server. Add the following code into extensions_custom.conf&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" color="#0000ff"&gt;[custom-exchangevm]      &lt;br /&gt;exten =&amp;gt; s,1,NoOp(Entering custom-exchangevm for a call to ${DNID})       &lt;br /&gt;exten =&amp;gt; s,n,Set(EXTTOCALL=${BLKVM_BASE})       &lt;br /&gt;exten =&amp;gt; s,n,NoOp(Sending to Voicemail box ${EXTTOCALL})       &lt;br /&gt;exten =&amp;gt; s,n,SIPAddHeader(Diversion: &amp;lt;tel:${EXTTOCALL}&amp;gt;\;reason=no-answer\;screen=no\;privacy=off)       &lt;br /&gt;exten =&amp;gt; s,n,Dial(SIP/&lt;font color="#008000"&gt;222@sipx.lithnet.local&lt;/font&gt;|30)&lt;/font&gt; &lt;/p&gt;  &lt;p&gt;You will need to install the &amp;quot;Follow me&amp;quot; module in FreePBX. Then configure the follow me settings for each extension as shown so that both the Asterisk extension and the OCS phone ring at the same time. Note for each number that is external to the Asterisk system, you must append a hash (#) to the end of the number as shown below for 800 - my OCS extension.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/TheOCSAsteriskworkhasstarted_10B5A/image.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="583" alt="image" src="http://members.iinet.net.au/~blade9/TheOCSAsteriskworkhasstarted_10B5A/image_thumb.png" width="400" border="0" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;More to come.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-8180289802886514049?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/39aueunZ1Rk/ocsasterisk-integration-work-in.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">12</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/ocsasterisk-integration-work-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-6340591601348429169</guid><pubDate>Mon, 29 Oct 2007 07:52:00 +0000</pubDate><atom:updated>2007-10-29T18:52:49.402+11:00</atom:updated><title>Microsoft Unified Communications Australian Launch Events</title><description>&lt;p&gt;If your in Melbourne or Sydney in November, the I highly recommend that you come along to the Microsoft UC product launch. I've booked in for the following sessions;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Office Communications Server 2007 Deployment&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This demonstration will walk through deployment of Office Communications Server 2007 (OCS 2007) starting with the planning &amp;amp; deployment guide, standard edition installation, user provisioning and entitlement, configuration, and finally validation. OCS 2007 will be the main emphasis of this demonstration. This session can be broken down into three parts. In the first part of the demonstration, we show the easy setup of Standard Edition 2007, which allows an organisation to provide IM, peer to peer voice call capabilities immediately. The second part of the session will include an overview of complex installation topologies recommended for OCS 2007, including considerations for Enterprise Edition deployment, Edge server roles, various MCU roles, Mediation server and the Archiving server role. The third part of the session focuses on federation and public internet connectivity features of OCS 2007. This includes setup of Edge server roles for Public Internet Connectivity and Federation capabilities. It will also cover integration with Exchange Server 2007 SP1 Unified Messaging which enables an exciting set of features for end-users.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;Exchange Server 2007 SP1 Overview&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This demonstration will walk through the feature enhancements introduced in Exchange Server 2007 SP1. The demo will cover a range of new technologies, from Windows Server 2008, Standby Continuous Replication and Outlook Web Access 2007, to enhanced functionalities such as Mobility, end user experience and administrator management.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;Unified Communications Journey, A real customers experience&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;HP began deploying Exchange Server 2007 and Office Communications Server 2007 in live internal and customer environments long before these products came to market. In this session you will hear about the trials, tribulations and ultimate success of implementing a consolidated Exchange Server 2007 environment across multiple geographies, complete with Unified Messaging and then Office Communications Server 2007 integrated with Cisco Call Manager. Understand the business objectives and requirements that lead to this implementation including the unexpected benefits as highlighted in the case study. Learn from our mistakes, understand the real value, and pre-requisites for full functionality and ultimately streamline your own deployment!&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;b&gt;Mobility &amp;amp; Anywhere Access&lt;/b&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This presentation will demonstrate the benefits of remote access and mobility features for Office Communicators Server 2007 and Exchange Server 2007. The scenario will focus on how users stay connected and can work without interruption while travelling and on the go. Users continue to have access to presence and contact information and choice of communication options including mail, instant messaging, voice and multi-party conferencing. They can view documents and access Microsoft Office SharePoint sites remotely. All these features increase productivity for the organisation and are easy to set up by IT professionals. We will talk about implicit benefits of cost saving and lower help-desk calls.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Use the following links to register. It's a free event. Send me an email if you are coming!&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://go.microsoft.com/?linkid=7629119"&gt;Melbourne Launch Tuesday 13th November&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/?linkid=7629120"&gt;Sydney Launch Monday 19th November&lt;/a&gt;      &lt;br /&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Make sure you check out the new &lt;a href="http://www.microsoft.com/australia/business/uc/default.aspx"&gt;Australian UC product site&lt;/a&gt;, and if you haven't already subscribed to &lt;a href="http://blogs.technet.com/jkruse/default.aspx"&gt;Johann's Unified Communications blog&lt;/a&gt;, do it now!&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-6340591601348429169?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/fE0G-re42Ck/microsoft-unified-communications.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/microsoft-unified-communications.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-9050615778772380251</guid><pubDate>Sat, 27 Oct 2007 00:15:00 +0000</pubDate><atom:updated>2007-10-27T10:24:17.956+10:00</atom:updated><title>Enabling outbound calls from Exchange UM (OVA) to the PSTN using Asterisk</title><description>&lt;p&gt;One of the great features of Outlook Voice Access is the ability to lookup a person in the directory or your personal contacts list and have OVA connect you to that person. This obviously requires support some form of connection to the PSTN. The guide will take you through the steps of configuring the systems to allow OVA to make calls to the PSTN.&lt;/p&gt;  &lt;p&gt;A big thanks to Sander de Rijk who provided the basis of these instructions earlier this year.&lt;/p&gt;  &lt;p&gt;This guide assumes you have configured Asterisk to connect to your PSTN provider. If not, see &lt;a href="http://blog.lithiumblue.com/2007/07/enabling-access-to-exchange-um-from.html"&gt;my earlier post&lt;/a&gt;, then come back when your done.&lt;/p&gt;  &lt;p&gt;The first thing you need to do is decide if you want to configure an 'outside line' access code. The most common numbers used for access to the trunk are 0 and 9. However, its becoming increasingly popular not to use such a code, and configure appropriate rules in the various dial plans instead. The following instructions will be based on NOT using a trunk access code, but adding this functionality is very straightforward.&lt;/p&gt;  &lt;p&gt;Open the Exchange Management Console, and in the left hand pane, select Organization Configuration, Unified Messaging. Right click on your dial plan, and select Properties. On the Dial Codes tab, enter the dial codes relevant to your location. This can be a little confusing, but the Help button will reveal some information that can guide you through this process. Note that all this information is optional, and if you are only have one dial plan, and are going to making calls within our country/region, you can leave all the fields on this tab blank.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="509" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb.png" width="445" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Next, click on the Dialing Rule Groups tab, and add a new In-Country/Region Rule. Give your rule a name, and enter a number mask. In my example below, I take a local 8 digit phone number, and add my state's extension (03) to it. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_3.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="182" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb_3.png" width="424" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If I have a number in my contacts or directory that contains the country code (61 for Australia), this rule will remove it, and replace it with a 0 which is used for In-Country dialing.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="184" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb_4.png" width="426" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Continue adding rules for your numbers as required, unfortunately I can't include all the various country and region codes in this guide, but I'm sure you will work them out without too much trouble. Once completed, you should have a list similar to that below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_5.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="507" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb_5.png" width="444" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;That completes the Exchange portion of this configuration. Now we need to configure the appropriate rules on the sipX server. Visit the sipXconfig web site, and open the Asterisk dial plan (System-&amp;gt;Dial plans-&amp;gt;AsteriskDialPlan). Add the dial rules required for your area. If you configured an outside line access number, then you can simply enter that number as the prefix, and select &amp;quot;Any number of digits&amp;quot; from the drop down list.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_6.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="436" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb_6.png" width="450" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Save the dial plan, and click &lt;em&gt;Activate &lt;/em&gt;above the list of dial plans. Finally, we need to configure the route in Asterisk to send these calls through our PSTN provider. Visit the asterisk configuration page, and from within FreePBX, select Outbound Routes from the left menu. If you have &lt;a href="http://blog.lithiumblue.com/2007/07/enabling-access-to-exchange-um-from.html"&gt;already configured&lt;/a&gt; a route to the PSTN, then use that, otherwise add a new route. Add your dial patterns, and select the trunk you configured for your PSTN provider, and save. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_7.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="524" alt="image" src="http://members.iinet.net.au/~blade9/ConfiguringOutboundcallsfromExchangeUMto_7EA9/image_thumb_7.png" width="367" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note that I have used different dial patterns on the sipX and Asterisk server. This is just to demonstrate the various ways you can go about configuring these systems. Both sets of rules work and are valid. You can choose less specific rules to make administration easier, or you might need more control over where your calls go (i.e certain calls need to be routed over a specific trunk). All are valid - adjust as needed for your requirements.&lt;/p&gt;  &lt;p&gt;Apply your changes to the server, and you are done! &lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-9050615778772380251?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/QWERfbEl89s/configuring-outbound-calls-from.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/configuring-outbound-calls-from.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-9021036956196120047</guid><pubDate>Mon, 22 Oct 2007 10:46:00 +0000</pubDate><atom:updated>2007-10-22T21:02:56.839+10:00</atom:updated><title>Woo!!!! Got my new phone - the HP iPAQ 512...</title><description>&lt;p align="justify"&gt;For the better part of a year now I have been searching for a new phone. While my Nokia 6230 has served me very well over the years, it was time to upgrade to something with support for Exchange. I've had PDAs and PDA phones in the past, but have always found them too big and awkward to use as a phone. The stylus is annoying, and they have a habit of getting lost. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.lithiumblue.com/2007/05/my-soon-to-be-new-phone.html"&gt;&lt;/a&gt;&lt;a href="http://members.iinet.net.au/~blade9/Finally.mynewphone_12E08/image_3.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="480" alt="image" src="http://members.iinet.net.au/~blade9/Finally.mynewphone_12E08/image_thumb_3.png" width="240" align="left" border="0" /&gt;&lt;/a&gt;Earlier in the year&lt;/a&gt;, I finally found a phone that would do what I wanted. &lt;a href="http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=product_detail&amp;amp;product_code=FA911AA%23ABA&amp;amp;jumpid=oc_R1002_USENC-001_HP%20iPAQ%20510%20Voice%20Messenger&amp;lang;=en&amp;amp;cc=us"&gt;The HP iPAQ 510&lt;/a&gt; looked very promising. It was to be their first smart phone. Alas, after a few months of waiting, our HP distributors informed me that there would be &lt;a href="http://blog.lithiumblue.com/2007/07/no-ipaq-510-in-australia.html"&gt;no iPAQ 510 for the Australian market&lt;/a&gt;. I was crushed.&lt;/p&gt;  &lt;p align="justify"&gt;A couple of months ago, I found out that a revision of the 510 - the 512 would be available here, but not until the first half of 2008 *groans*. Being the impatient person that I am, I wasn't prepared to wait until then, so after a few bidding wars on eBay, I secured a new 512 from &lt;a href="http://blog.lithiumblue.com/2007/05/my-soon-to-be-new-phone.html"&gt;&lt;/a&gt;&lt;/a&gt;overseas. &lt;/p&gt;  &lt;p align="justify"&gt;I have to say... this phone ROCKS. The &lt;a href="http://www.shopping.hp.com/shopping/pdf/fa911aa.pdf"&gt;feature set&lt;/a&gt; is amazing, and with Windows Mobile 6, Microsoft has finally got the whole phone interface sorted out. I always found WM 2003 and WM5 to be a less-than-average phone OS. Some new features of WM6 include;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;Built in Windows Update &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;VoIP Support &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Windows Live Messenger &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;HTML Email &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;OOF Support &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Follow up flags for emails (FINALLY) &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Better navigation and shortcuts &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;New versions of Office Mobile &lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p align="justify"&gt;The iPAQ has a built in SIP client, so it integrates perfectly with my ExchangeUM/Asterisk setup. As soon as it connects to a wireless network, the SIP client fires up and logs onto the Asterisk server, ready to receive calls. Additionally, Microsoft recently &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2eea3e24-f216-4887-92b0-f37d942e26e0&amp;amp;DisplayLang=en"&gt;released Office Communicator Mobile 2007&lt;/a&gt; so whenever I have a wireless connection, I am also connected to my OCS server.&lt;/p&gt;  &lt;p align="justify"&gt;The phone comes with HP Voice Commander software that you can use to give instructions to the phone. You can say things like&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;&amp;quot;Call Ryan at Home&amp;quot; &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&amp;quot;Start File Manager&amp;quot; &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&amp;quot;Read Email&amp;quot; &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&amp;quot;What time is it?&amp;quot; &lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;&amp;quot;Play &amp;lt;Song Name&amp;gt;&amp;quot; &lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p align="justify"&gt;A feature that I really like is the &amp;quot;Automatic&amp;quot; profile that automatically switches the phone to vibrate mode during an appointment marked as &amp;quot;Busy&amp;quot; in your calendar. I'm not sure if its been available in previous versions, but its the first time I have noticed it.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-9021036956196120047?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/8DX5CHtLWGE/woo-got-my-new-phone-hp-ipaq-512.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/woo-got-my-new-phone-hp-ipaq-512.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-2339349984807701436</guid><pubDate>Mon, 22 Oct 2007 10:25:00 +0000</pubDate><atom:updated>2007-10-22T20:25:50.448+10:00</atom:updated><title>sipX 3.8 Released - Exchange UM Guide updated</title><description>&lt;p&gt;sipX 3.8 was released last week, and as such I have &lt;a href="http://blog.lithiumblue.com/2007/10/accessing-exchange-2007-unified.html"&gt;updated the Exchange UM guide&lt;/a&gt; with instructions on setting up version 3.8. This resolves the random timeout issue in version 3.6 that I described in &lt;a href="http://blog.lithiumblue.com/2007/10/asterisksipx-bugs-and-modifications-for.html"&gt;an earlier post&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The VM that we used previously was quite old. It was based on Centos 4 and sipX 3.0, and contained a lot of other useless junk. &lt;/p&gt;  &lt;p&gt;In the new instructions we use a bare-bones Centos 5 Virtual Machine, and install sipX 3.8 ourselves. This results in a faster more efficient VM. &lt;/p&gt;  &lt;p&gt;Because the last VM was so dodgy, I'm not going to provide instructions for upgrading your old 3.0/3.6 servers to 3.8. You can perform a yum update if you really want, but I strongly recommend dropping that old VM and starting again. It will only take a short amount of time, and will be well worth it in the long run.&lt;/p&gt;  &lt;p&gt;If anyone has had any experience with the SIP/TCP patch for Asterisk, please get in contact with me. I would like to hear about your results.&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-2339349984807701436?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/2aS4g1-6sI0/sipx-38-released-exchange-um-guide.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/sipx-38-released-exchange-um-guide.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-5646511167186114811</guid><pubDate>Mon, 22 Oct 2007 10:00:00 +0000</pubDate><atom:updated>2007-10-26T13:59:49.081+10:00</atom:updated><title>Accessing Exchange 2007 Unified Messaging: Part 4 – Configure the sipX Server (sipX 3.8/Centos 5)</title><description>&lt;p&gt;--------------------------------------&lt;br /&gt;Update: 22/10/2007 - Replaced the &lt;a href="http://blog.lithiumblue.com/2007/04/accessing-exchange-2007-unified_1352.html"&gt;old post&lt;/a&gt; with instructions for a new Centos 5 VM and sipX 3.8&lt;br /&gt;--------------------------------------&lt;/p&gt;&lt;h6&gt;&lt;/h6&gt;&lt;h4&gt;Initial Configuration&lt;/h4&gt;&lt;p&gt;Download the Centos 5 Minimal Installation VMware Appliance from the &lt;a href="http://www.vmware.com/appliances/directory/1029"&gt;VMWare Appliance Marketplace&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;Start your sipX VMWare virtual machine. Log in as root, with the password &lt;span style="font-family:Courier New;color:#0000ff;"&gt;password&lt;/span&gt; and change the password by typing &lt;span style="font-family:Courier New;color:#0000ff;"&gt;passwd&lt;/span&gt; at the command line. Type &lt;span style="font-family:Courier New;color:#0000ff;"&gt;netconfig&lt;/span&gt;, and select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Configure&lt;/span&gt; &lt;/strong&gt;and assign a fixed manual IP address to this PC. &lt;/p&gt;&lt;p&gt;&lt;img height="244" alt="" src="http://members.iinet.net.au/~blade9/042907_0034_AccessingEx1.png" width="419" /&gt;&lt;/p&gt;&lt;p&gt;Now we need to set the hostname for this server. Use the nano editor to edit the network configuration file, and change HOSTNAME to &lt;strong&gt;&lt;span style="font-family:Courier New;color:#008000;"&gt;sipX.lithnet.local. &lt;/span&gt;&lt;/strong&gt;When done, press Ctrl-X, then Y, then enter to save the file.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;nano /etc/sysconfig/network &lt;/span&gt;&lt;/p&gt;&lt;p&gt;In order for sipX to install, we need to disable SELinux. Edit the SELinux config file by typing &lt;span style="font-family:Courier New;color:#0000ff;"&gt;nano /etc/selinux/config &lt;/span&gt;and change &lt;span style="color:#c0504d;"&gt;SELINUX=ENABLED&lt;/span&gt; to &lt;span style="font-family:Courier New;color:#0000ff;"&gt;SELINUX=DISABLED.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Run the following commands in this order, and to all the Windows kids like me, remember that Linux is case sensitive, so take note of the uppercase X in the URL below (yes I stuffed it up myself and it took me about 20 minutes to work out why it was failing – silly muppet).&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;wget -P /etc/yum.repos.d/ &lt;/span&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repo"&gt;&lt;/a&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repoyum"&gt;&lt;/a&gt;&lt;a href="http://sipxecs.sipfoundry.org/pub/sipXecs/sipxecs-stable-centos.repo"&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;http://sipxecs.sipfoundry.org/pub/sipXecs/sipxecs-stable-centos.repo&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repoyum"&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;yum -y install sipxpbx sipxconfig sipxproxy sipxregistry&lt;/span&gt;&lt;/p&gt;&lt;p&gt;(If you want to use sipx as the main PBX (without using Asterisk - not recommended), then install additional modules as required as specified on the &lt;a href="http://sipx-wiki.calivia.com/index.php/Installing_sipX_on_Fedora_and_Centos"&gt;sipfoundry web site&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;Now we need to fix the SSL certificates. If you have a CA on your network, you can have it generate a certificate for these purposes. Otherwise, we can just generate a self signed certificate using the following commands.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;/usr/bin/ssl-cert/gen-ssl-keys.sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This will prompt you for several pieces of information. Enter the appropriate information, and the following values when prompted.&lt;/p&gt;&lt;p&gt;CA Common Name: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;SelfSigned&lt;br /&gt;&lt;/span&gt;SIP domain name: &lt;span style="font-family:Courier New;color:#008000;"&gt;&lt;strong&gt;lithnet.local&lt;/strong&gt;&lt;/span&gt; - The domain name of your installation&lt;br /&gt;Full DNS name for the server: &lt;span style="font-family:Courier New;color:#008000;"&gt;&lt;strong&gt;sipx.lithnet.local&lt;/strong&gt;&lt;/span&gt; - Enter fully qualified hostname of your sipX server&lt;br /&gt;Type the following to install the certificate.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;/usr/bin/ssl-cert/install-cert.sh &lt;span style="color:#008000;"&gt;&lt;strong&gt;sipx.lithnet.local&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Now we need to configure the Exchange gateway and rules. Normally, this XML is generated automatically by the web interface as we modify the gateway and dial plan options. We have to do this manually, because the web interface doesn't provide us a way to force sipX to use TCP for a particular gateway. If we configure our dial plans through the web interface, sipX tries to contact Exchange first using UDP, which more often than not results in a timed-out call. The sipX team is working to more natively support Exchange configuration through the web interface in the future. I will keep you posted.&lt;/p&gt;&lt;p&gt;At the sipx command prompt, type&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;wget -P /etc/sipxpbx/ &lt;/span&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repo"&gt;&lt;/a&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repoyum"&gt;&lt;/a&gt;&lt;a href="http://lithiumblue.com/config/external_mappingrules.xml"&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;http://lithiumblue.com/config/external_mappingrules.xml&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;to download the preconfigured mappingrules file needed to force TCP communication with Exchange. Type &lt;span style="font-family:Courier New;color:#0000ff;"&gt;nano /etc/sipxpbx/external_mappingrules.xml&lt;/span&gt; to modify the file and replace the hostname values as shown below with your own. If for some reason you cannot download the file with wget, you can type it out manually as it appears below.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;&amp;lt;mappings xmlns="&lt;/span&gt;&lt;a href="http://www.sipfoundry.org/sipX/schema/xml/urlmap-00-00"&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;http://www.sipfoundry.org/sipX/schema/xml/urlmap-00-00"&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;hostMatch&amp;gt;&lt;br /&gt;&amp;lt;hostPattern&amp;gt;${SIPXCHANGE_DOMAIN_NAME}&amp;lt;/hostPattern&amp;gt;&lt;br /&gt;&amp;lt;hostPattern&amp;gt;${MY_FULL_HOSTNAME}&amp;lt;/hostPattern&amp;gt;&lt;br /&gt;&amp;lt;hostPattern&amp;gt;${MY_HOSTNAME}&amp;lt;/hostPattern&amp;gt;&lt;br /&gt;&amp;lt;hostPattern&amp;gt;${MY_IP_ADDR}&amp;lt;/hostPattern&amp;gt;&lt;br /&gt;&amp;lt;userMatch&amp;gt;&lt;br /&gt;&amp;lt;!--ExchangeDialRule--&amp;gt;&lt;br /&gt;&amp;lt;userPattern&amp;gt;2xx&amp;lt;/userPattern&amp;gt;&lt;br /&gt;&amp;lt;permissionMatch&amp;gt;&lt;br /&gt;&amp;lt;transform&amp;gt;&lt;br /&gt;&amp;lt;host&amp;gt;&lt;span style="color:#008000;"&gt;&lt;strong&gt;dc1.lithnet.local&lt;/strong&gt;&lt;/span&gt;&amp;lt;/host&amp;gt;&lt;br /&gt;&amp;lt;urlparams&amp;gt;transport=tcp&amp;lt;/urlparams&amp;gt;&lt;br /&gt;&amp;lt;fieldparams&amp;gt;q=0.9&amp;lt;/fieldparams&amp;gt;&lt;br /&gt;&amp;lt;/transform&amp;gt;&lt;br /&gt;&amp;lt;/permissionMatch&amp;gt;&lt;br /&gt;&amp;lt;/userMatch&amp;gt;&lt;br /&gt;&amp;lt;userMatch&amp;gt;&lt;br /&gt;&amp;lt;!--ExchangeVoicemailRule--&amp;gt;&lt;br /&gt;&amp;lt;!--Note this is only to handle diversions for local sipX 3xx extentions--&amp;gt;&lt;br /&gt;&amp;lt;userPattern&amp;gt;3xx&amp;lt;/userPattern&amp;gt;&lt;br /&gt;&amp;lt;permissionMatch&amp;gt;&lt;br /&gt;&amp;lt;permission&amp;gt;Voicemail&amp;lt;/permission&amp;gt;&lt;br /&gt;&amp;lt;transform&amp;gt;&lt;br /&gt;&amp;lt;user&amp;gt;222&amp;lt;/user&amp;gt;&lt;br /&gt;&amp;lt;host&amp;gt;&lt;span style="color:#008000;"&gt;&lt;strong&gt;dc1.lithnet.local&lt;/strong&gt;&lt;/span&gt;&amp;lt;/host&amp;gt;&lt;br /&gt;&amp;lt;urlparams&amp;gt;transport=tcp&amp;lt;/urlparams&amp;gt;&lt;br /&gt;&amp;lt;headerparams&amp;gt;Diversion=&amp;amp;lt;tel:{digits}&amp;amp;gt;;reason=no-answer;screen=no;privacy=off&amp;lt;/headerparams&amp;gt;&lt;br /&gt;&amp;lt;fieldparams&amp;gt;q=0.9&amp;lt;/fieldparams&amp;gt;&lt;br /&gt;&amp;lt;/transform&amp;gt;&lt;br /&gt;&amp;lt;/permissionMatch&amp;gt;&lt;br /&gt;&amp;lt;/userMatch&amp;gt;&lt;br /&gt;&amp;lt;/hostMatch&amp;gt;&lt;br /&gt;&amp;lt;/mappings&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The above rule ensures that calls for 2xx are sent to the Exchange server, and that sipX only communicates with it using SIP/TCP. It also enables diversion to Voicemail for calls to the sipX extensions (3xx). This is independent of the procedure to setup Trixbox/Asterisk to divert to voicemail. The sipX and Asterisk diversion configurations are completely independent of each other. &lt;/p&gt;&lt;p&gt;Now we need to tell sipX that it is responsible for routing calls to 2xx. Without this the calls would be rejected. At the sipx command prompt, type&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;wget -P /etc/sipxpbx/ &lt;/span&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repo"&gt;&lt;/a&gt;&lt;a href="http://www.sipfoundry.org/pub/sipX/sipx-centos.repoyum"&gt;&lt;/a&gt;&lt;a href="http://lithiumblue.com/config/external_authrules.xml"&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;http://lithiumblue.com/config/external_authrules.xml&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;to download the preconfigured authrules file. Type &lt;span style="font-family:Courier New;color:#0000ff;"&gt;nano /etc/sipxpbx/external_authrules.xml&lt;/span&gt; to modify the hostname in this file.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;&amp;lt;mappings xmlns="http://www.sipfoundry.org/sipX/schema/xml/urlauth-00-00"&amp;gt;&lt;br /&gt;&amp;lt;hostMatch&amp;gt;&lt;br /&gt;&amp;lt;!--ExchangeDialRule--&amp;gt;&lt;br /&gt;&amp;lt;hostPattern&amp;gt;&lt;strong&gt;&lt;span style="color:#008000;"&gt;dc1.lithnet.local&lt;/span&gt;&lt;/strong&gt;&amp;lt;/hostPattern&amp;gt;&lt;br /&gt;&amp;lt;userMatch&amp;gt;&lt;br /&gt;&amp;lt;userPattern&amp;gt;2xx&amp;lt;/userPattern&amp;gt;&lt;br /&gt;&amp;lt;permissionMatch/&amp;gt;&lt;br /&gt;&amp;lt;/userMatch&amp;gt;&lt;br /&gt;&amp;lt;/hostMatch&amp;gt;&lt;br /&gt;&amp;lt;/mappings&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;In order for sipX to use these files we created, we need to add some lines into the config file. Type &lt;span style="font-family:Courier New;color:#0000ff;"&gt;nano /etc/sipxpbx/sipxconfig.properties.in&lt;/span&gt;, scroll through the file, and locate the following lines or add them to the end of the file.&lt;br /&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;mappingRules.externalRulesFileName=/etc/sipxpbx/external_mappingrules.xml authRules.externalRulesFileName=/etc/sipxpbx/external_authrules.xml&lt;br /&gt;&lt;/span&gt;Restart the server using the following command&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0000ff;"&gt;reboot&lt;/span&gt;&lt;/p&gt;&lt;p&gt;After the server reboots, open your browser and navigate to the sipX server i.e. &lt;strong&gt;http://sipx.lithnet.local&lt;/strong&gt;. &lt;/p&gt;&lt;em&gt;NOTE: There is approximately a 2 minute delay between the sipX services starting and being available. If you get an error message when loading the page, wait 2 minutes and try again.&lt;/em&gt;&lt;br /&gt;&lt;p&gt;If all goes well, you should be presented with an SSL certificate warning (if you used a self signed certificate). Accept this warning, and when prompted, enter a new PIN for the superadmin account. You will use this to log into sipXconfig on the next screen.&lt;/p&gt;&lt;h4&gt;Gateway Configuration&lt;/h4&gt;&lt;p&gt;Now we need to add a gateway to allow sipX to communicate with the Exchange Server. Click &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Devices&lt;/span&gt;&lt;/strong&gt; on the top menu, &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Gateways&lt;/span&gt;&lt;/strong&gt;, and select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;SIP Trunk&lt;/span&gt; &lt;/strong&gt;from the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Add New Gateway&lt;/span&gt;&lt;/strong&gt; drop down list. Type the following information and press &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;OK&lt;/span&gt;&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Name&lt;/span&gt;&lt;/strong&gt;: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;ExchangeUMServer &lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Address&lt;/span&gt;&lt;/strong&gt;:&lt;span style="font-family:Courier New;color:#008000;"&gt;&lt;strong&gt; dc1.lithnet.local&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img height="244" alt="" src="http://members.iinet.net.au/~blade9/042907_0034_AccessingEx4.jpg" width="439" /&gt;&lt;strong&gt; &lt;br /&gt;&lt;/strong&gt;Now we need to add another SIP trunk for the Asterisk server. Type the following information and press &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Name&lt;/span&gt;&lt;/strong&gt;: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;AsteriskServer&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Address&lt;/span&gt;&lt;/strong&gt;: &lt;span style="font-family:Courier New;color:#008000;"&gt;&lt;strong&gt;asterisk.lithnet.local&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;h4&gt;Dial Plans &lt;/h4&gt;&lt;p&gt;Now we need to configure the dial plan. Dial rules are used to route incoming calls to the appropriate gateway. Click &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;System&lt;/span&gt;&lt;/strong&gt; on the top menu, followed by &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Dial Plans&lt;/span&gt;&lt;/strong&gt;. In the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Add New Rule&lt;/span&gt;&lt;/strong&gt; drop down box, select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Custom&lt;/span&gt;&lt;/strong&gt; as our dialing rule type. Enter the following information and press &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;OK&lt;/span&gt;&lt;/strong&gt;.&lt;br /&gt;Tick the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Enabled&lt;/span&gt;&lt;/strong&gt; box&lt;br /&gt;Name: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;AsteriskDialRule&lt;/span&gt;&lt;br /&gt;Description: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;Forward calls for 4xx-5xx to the Asterisk Server&lt;/span&gt;&lt;br /&gt;Dialed Number, prefix: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;4&lt;/span&gt;, and select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;2 digits&lt;/span&gt;&lt;/strong&gt; from the drop down list. Click &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Add&lt;/span&gt;&lt;/strong&gt; to add new lines.&lt;br /&gt;Dialed Number, prefix: &lt;span style="font-family:Courier New;color:#0000ff;"&gt;5&lt;/span&gt;, and select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;2 digits&lt;/span&gt;&lt;/strong&gt; from the drop down list. Add as many extension ranges as you require for your setup.&lt;br /&gt;&lt;br /&gt;Resulting Call, Prefix: Leave the prefix blank, and select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Entire Dialed Number&lt;/span&gt;&lt;/strong&gt; from the drop down list&lt;br /&gt;In the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;More Actions&lt;/span&gt; &lt;/strong&gt;drop down box, select &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;AsteriskServer&lt;/span&gt;&lt;/strong&gt; under &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Existing Gateways&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;. &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img height="213" alt="" src="http://members.iinet.net.au/~blade9/042907_0034_AccessingEx6.png" width="446" /&gt;&lt;/p&gt;&lt;p&gt;Press &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;OK&lt;/span&gt;&lt;/strong&gt; to save and return to the dial plans list. Move the new dial plan to the top of the list, by ticking the box next to the new plan, and pressing &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Move up&lt;/span&gt;&lt;/strong&gt; repeatedly. Order does matter, so it is at the top. If you don't plan on using the sipX server for any other SIP traffic, you can delete the other dial plans.&lt;/p&gt;&lt;p&gt;Activate the new plans by clicking the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Activate&lt;/span&gt;&lt;/strong&gt; button, and pressing &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;OK&lt;/span&gt;&lt;/strong&gt; when prompted for confirmation. Remember that whenever you make any changes to your dial plan, or modify your mapping and auth rule XML files, you must reactivate your dial plan for the change to take effect.&lt;/p&gt;&lt;h4&gt;Add an Extension&lt;/h4&gt;&lt;p&gt;We will now add an extension for testing purposes. This will help in your troubleshooting efforts should something not work. Click on &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Users&lt;/span&gt;&lt;/strong&gt; on the top menu, click the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Users&lt;/span&gt;&lt;/strong&gt; menu item, and click &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Add User&lt;/span&gt;&lt;/strong&gt;. Click &lt;strong&gt;Show Advanced Settings &lt;/strong&gt;at the top of the page. Change the user ID to 300, assign a first name, last name, PIN, and SIP password to the account. Take note of the SIP password or change it to something you are going to remember. Press &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;OK&lt;/span&gt;&lt;/strong&gt; when you are done.&lt;/p&gt;&lt;p&gt;&lt;img height="325" alt="" src="http://members.iinet.net.au/~blade9/042907_0034_AccessingEx7.jpg" width="429" /&gt;&lt;/p&gt;&lt;h4&gt;Configure the Fully Qualified Domain Name&lt;/h4&gt;&lt;p&gt;Click the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;System&lt;/span&gt;&lt;/strong&gt; menu and the &lt;strong&gt;&lt;span style="color:#c0504d;"&gt;Domain&lt;/span&gt;&lt;/strong&gt; menu item, and enter the fully qualified domain name that the sipX server will use. When prompted, ensure you activate the new dial plans for our configuration changes to take effect. &lt;/p&gt;&lt;p&gt;Please note that the FQDN &lt;strong&gt;&lt;em&gt;must be the same&lt;/em&gt;&lt;/strong&gt; as the value you configured as the UM IP Gateway address on the Exchange UM Server. &lt;/p&gt;&lt;p&gt;We have now completed the configuration of the sipX server.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Next: &lt;a href="http://blog.lithiumblue.com/2007/04/accessing-exchange-2007-unified_6868.html"&gt;Part 5 - Configuring the SIP Client&lt;/a&gt;&lt;br /&gt;Previous: &lt;a href="http://blog.lithiumblue.com/2007/04/accessing-exchange-2007-unified_5019.html"&gt;Part 3 - Configuring the Exchange Server&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-5646511167186114811?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/LRJg-Ahug0M/accessing-exchange-2007-unified.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">34</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/accessing-exchange-2007-unified.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-6991337584195271210</guid><pubDate>Fri, 05 Oct 2007 23:30:00 +0000</pubDate><atom:updated>2007-10-16T08:49:48.247+10:00</atom:updated><title>Asterisk/SipX bugs and modifications for UM</title><description>&lt;p&gt;There are a few problems people have been running into with their UM setups. &lt;/p&gt;&lt;h5&gt;Intermittent Timouts&lt;/h5&gt;&lt;p&gt;The first is a problem where a timeout occurs intermittently when trying to call the Exchange UM server (approx 1 in 4 calls fails). This is caused by a bug in sipX 3.6 sending a malformed SIP header. The good news is that this has been fixed in sipX 3.8, however this version is still in beta (RC2). I have been waiting for a few months for the final release which is apparently 'just around the corner' to update the guide, but it seems to be causing people enough grief to justify posting about this issue now. I have been using 3.8 RC2 myself for some time, and have not run into any problems. The repo can be downloaded from &lt;a href="http://sipxecs.sipfoundry.org/temp/sipXecs/sipxecs-unstable-centos.repo"&gt;http://sipxecs.sipfoundry.org/temp/sipXecs/sipxecs-unstable-centos.repo&lt;/a&gt;. As soon as 3.8 is released, I will update the instructions accordingly.&lt;/p&gt;&lt;h5&gt;Play on Phone&lt;/h5&gt;&lt;p&gt;The other issue people have been encountering is 'Play on Phone' not working from Outlook or OWA. A SIP trace reveals that Asterisk is sending a 407 Proxy Auth Required to the Exchange server, which it is unable to respond to. In order to get this working, we need to change the SIP connection type settings in each extension definition from &lt;span style="font-family:Courier New;color:#0000ff;"&gt;friend&lt;/span&gt; or &lt;span style="font-family:Courier New;color:#0000ff;"&gt;user &lt;/span&gt;to &lt;span style="font-family:Courier New;color:#0000ff;"&gt;peer&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;If you are using Trixbox (2.2 and above), then using FreePBX, go through each extension in the extension configuration menu, and change the 'type' option to peer as shown below.&lt;/p&gt;&lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/AsteriskSipXbugsandmodificationsforUM_840F/typepeer.jpg"&gt;&lt;img id="id" style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="553" alt="type=" src="http://members.iinet.net.au/~blade9/AsteriskSipXbugsandmodificationsforUM_840F/typepeer_thumb.jpg" width="485" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;If you are not using Trixbox, then you will need to manually modify your extension definitions in sip.conf and ensure the type is specified as 'peer'.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-6991337584195271210?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/u1JmTqEFUcI/asterisksipx-bugs-and-modifications-for.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/10/asterisksipx-bugs-and-modifications-for.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-1754083368862013218</guid><pubDate>Mon, 20 Aug 2007 11:07:00 +0000</pubDate><atom:updated>2007-08-20T21:07:32.858+10:00</atom:updated><title>OCS 2007 Downloads now available on Technet/MSDN</title><description>&lt;p&gt;I just checked the Technet website, and Office Communications Server 2007 and Office Communicator 2007 are now available to download. If you haven't signed up for a Technet/MSDN subscription, you can visit &lt;a href="http://technet.microsoft.com/en-au/subscriptions/"&gt;http://technet.microsoft.com/en-au/subscriptions/&lt;/a&gt; and sign up now. A &lt;a href="http://technet.microsoft.com/en-au/subscriptions/bb404693.aspx"&gt;full list&lt;/a&gt; of the benefits of a Technet Plus subscription can be found on the Technet site, but some of the highlights include:&lt;/p&gt; &lt;li&gt;&lt;b&gt;Microsoft software licensed for evaluation purposes: &lt;/b&gt;Evaluate full-version commercial products--without time limits or feature limits, including Windows Vista™ Microsoft Office System and Exchange Server 2007. With full-version software, IT Professionals can make informed decisions about new technologies and deployments at their own pace.  &lt;li&gt;&lt;b&gt;Beta software:&lt;/b&gt; Automatically receive pre-release versions of Microsoft operating systems, servers and business applications.  &lt;li&gt;&lt;b&gt;Exclusive tools:&lt;/b&gt; Get access to exclusive tools not available to the general public such as &lt;a href="http://www.microsoft.com/systemcenter/sccp/default.mspx"&gt;System Center Capacity Planner&lt;/a&gt;. System Center Capacity Planner helps size and plan deployments of Microsoft Exchange Server and Microsoft Operations Manager. It provides you with the tools and guidance to deploy efficiently, while planning for the future by allowing for "what-if" analyses.  &lt;li&gt;&lt;b&gt;Professional Support incidents:&lt;/b&gt; For the toughest technical questions, a TechNet Plus subscription also comes with two complimentary Professional Support incidents**. Subscribers can talk to a Microsoft Support Professional to quickly resolve their mission-critical technical issues fast.  &lt;li&gt;&lt;b&gt;Unlimited Managed Newsgroup support:&lt;/b&gt; TechNet Plus provides access to over 100 Managed Newsgroups. Subscribers can exchange ideas with other IT Professionals and get expert answers to their technical questions within the next business day — guaranteed.  &lt;li&gt;&lt;b&gt;Technical resources for Microsoft products:&lt;/b&gt; Subscribers also get the TechNet Library containing the Microsoft Knowledge Base, security updates, service packs, resource kits, utilities, technical training, and product documentation to keep their systems and IT skills up to date.  &lt;li&gt;&lt;b&gt;Microsoft E-Learning courses:&lt;/b&gt; To prepare them for certification or simply to help them build their technical skills, TechNet Plus includes a selection of Microsoft E-Learning courses for free each quarter.  &lt;li&gt;&lt;b&gt;Online Concierge Chat:&lt;/b&gt; Subscribers can chat with a Microsoft Search Assistant online for help finding the technical resources they need or for assistance with non-technical questions.  &lt;li&gt;&lt;b&gt;Free subscription to TechNet Magazine:&lt;/b&gt;†† Subscribers also receive a free subscription to TechNet Magazine. TechNet Magazine provides hands-on information to help IT Professionals maximize their system’s security, reliability, scalability and interoperability.&lt;/li&gt; &lt;p&gt;Technet Plus is a&amp;nbsp;very valuable resource for any IT Professional or support group. No MCSE should be without it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-1754083368862013218?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/k4Ff0xhIKqM/ocs-2007-downloads-now-available-on.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/08/ocs-2007-downloads-now-available-on.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-2002279496286352887</guid><pubDate>Sun, 12 Aug 2007 10:56:00 +0000</pubDate><atom:updated>2007-08-12T20:56:29.085+10:00</atom:updated><title>Windows Internals - a "must read"</title><description>&lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/WindowsInternalsamustread_12675/windowsinternals3.jpg" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://members.iinet.net.au/~blade9/WindowsInternalsamustread_12675/windowsinternals_thumb1.jpg" width="184" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;If you work with Windows servers and clients, in either a support role or as a developer, then this book is a must read. MCSEs will find it gives a valuable insight into what Windows is doing behind the scenes, and how to best manage it. If you thought you knew all there was to know about Windows, well, your wrong. Written by Mark Russinovich (of WinInternals fame) and David Solomon (noted expert on Windows internals), it delves into the inner most workings of the kernel and its architecture.&lt;/p&gt; &lt;p&gt;It includes in depth information on:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Concepts and Tools&lt;/li&gt; &lt;li&gt;System Architecture&lt;/li&gt; &lt;li&gt;System Mechanisms&lt;/li&gt; &lt;li&gt;Management Mechanisms&lt;/li&gt; &lt;li&gt;Startup and Shutdown&lt;/li&gt; &lt;li&gt;Processes, Threads, and Jobs&lt;/li&gt; &lt;li&gt;Memory Management&lt;/li&gt; &lt;li&gt;Security&lt;/li&gt; &lt;li&gt;I/O System&lt;/li&gt; &lt;li&gt;Storage Management&lt;/li&gt; &lt;li&gt;Cache Manager&lt;/li&gt; &lt;li&gt;File Systems&lt;/li&gt; &lt;li&gt;Networking&lt;/li&gt; &lt;li&gt;Crash Dump Analysis&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Go and have a &lt;a href="http://www.amazon.com/Microsoft-Windows-Internals-Fourth-Pro-Developer/dp/0735619174/ref=cm_taf_title_featured?ie=UTF8&amp;amp;tag=tellafriend-20"&gt;look inside at Amazon.com&lt;/a&gt;. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-2002279496286352887?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/BoiuSICvamY/windows-internals-read.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/08/windows-internals-read.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-9030303215056040199</guid><pubDate>Sat, 11 Aug 2007 10:14:00 +0000</pubDate><atom:updated>2007-08-11T20:14:49.267+10:00</atom:updated><title>Microsoft Office Roundtable</title><description>&lt;p&gt;This is one of the coolest things I have seen in a while. A &lt;a href="http://www.microsoft.com/presspass/features/2006/oct06/10-20officeroundtable.mspx"&gt;360 degree video conferencing camera&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;The Technet Australia team got their hands on one and &lt;a href="http://blogs.technet.com/itproaustralia/archive/2007/07/11/microsoft-office-roundtable.aspx"&gt;posted these details&lt;/a&gt; about it. &lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;em&gt;The device creates a 360-degree, panoramic video of side-by-side images of everyone who is taking part in the conference. It tracks the flow of the conversation, so the image and voice of the person who is speaking are spotlighted. People across many locations can attend meetings together virtually.&lt;/em&gt; &lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp; &lt;p&gt;&lt;em&gt;RoundTable works with Office Communications Server 2007 and Office Live Meeting, allowing companies to integrate virtual presentations, shared whiteboards and file sharing into their audio/video conferences. If someone misses a conference call, the RoundTable sessions can be recorded and viewed later. &lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;img class="reflect" height="329" alt="" src="http://farm2.static.flickr.com/1261/775622580_82fdb0ff34.jpg?v=0" width="427" onload="show_notes_initially();"&gt;&lt;em&gt;The Microsoft Office Roundtable device &lt;/em&gt; &lt;p&gt;&lt;img class="reflect" height="322" alt="" src="http://farm2.static.flickr.com/1289/774748191_8ef91d2cb5.jpg?v=0" width="426" onload="show_notes_initially();"&gt;&lt;em&gt;The Roundtable device in action using Microsoft Office Live Meeting&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;img class="reflect" height="323" alt="" src="http://farm2.static.flickr.com/1363/775624910_326758dde0.jpg?v=0" width="428" onload="show_notes_initially();"&gt;&lt;em&gt;Close up of the panoramic view&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Awesome! I want one! Definitely going on the shopping list. &lt;p&gt;&lt;em&gt;Unified Communication&lt;/em&gt; continues to amaze me. One can already sense how much UC is going to change the way we communicate. The industry is growing and adapting so rapidly. Vendors and service providers that get their foot in the door today are going to ensure they secure a firm place in this rapidly growing market - its going to boom!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-9030303215056040199?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/_9OM20zFKag/microsoft-office-roundtable.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/08/microsoft-office-roundtable.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-6762093156920310636</guid><pubDate>Sat, 11 Aug 2007 09:54:00 +0000</pubDate><atom:updated>2007-08-11T19:54:41.807+10:00</atom:updated><title>More OCS Info</title><description>&lt;p&gt;&lt;a href="http://blogs.technet.com/jkruse/archive/2007/07/29/ocs-goes-gold.aspx"&gt;Johann has recently posted&lt;/a&gt; information about some of the features in the upcoming OCS 2007 release. He also talks about his personal experiences with OCS/OC.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Software powered VoIP:&lt;/strong&gt; by using a smart end-point (aka a PC), OCS and Communicator 2007 allow a much richer experience than traditional VoIP systems. &lt;/li&gt; &lt;li&gt;&lt;strong&gt;Software economics:&lt;/strong&gt; OCS works with a broad range of devices, phones, applications from a wide range of partners.  &lt;li&gt;&lt;strong&gt;Voice quality:&lt;/strong&gt; The listening and call quality offered by a pre-release version of Office Communications Server 2007 was “considerably better than that provided by [a leading provider’s] IP phones,” according to an independent benchmark study conducted by Psytechnics, a firm specialising in voice-quality research.  &lt;li&gt;&lt;strong&gt;Easy transition:&lt;/strong&gt; Companies can get more value from their existing PBX systems, networks and desk phones by using Office Communications Server to add VoIP and unified communications capabilities without ripping and replacing existing investments.  &lt;li&gt;&lt;strong&gt;Streamlined communications:&lt;/strong&gt; click-to-call from Outlook, Word, Sharepoint and other apps - including the ability to simply add presence and telephony/video to LOB or custom applications/websites.  &lt;li&gt;&lt;strong&gt;Tools that travel:&lt;/strong&gt; It doesn't matter if you're in the office sitting at your desk, working from home, or sitting at a coffee shop - you still have &lt;em&gt;all&lt;/em&gt; of your communications tools available.&amp;nbsp; In fact right now I am writing this from a hotel in Seattle.&amp;nbsp; My girlfriend in Sydney can dial my local 02 phone number and I take the call over here on my PC.&amp;nbsp; All of this without a VPN!!&amp;nbsp; As long as I have web access, then I can make and receive calls - and due to our adaptive codecs (more info below) it doesn't matter that I am running across an unreliable unmanaged network (aka the Internet).&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The OCS downloads are still not yet available on Technet/MSDN.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-6762093156920310636?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/WSNzYc3CS7A/more-ocs-info.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/08/more-ocs-info.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-702569720624257737</guid><pubDate>Tue, 07 Aug 2007 08:22:00 +0000</pubDate><atom:updated>2007-08-07T18:22:20.905+10:00</atom:updated><title>OCS and OC 2007 trial versions available now</title><description>&lt;p&gt;Roger Sleurink from &lt;a href="http://www.trends-it.nl/"&gt;Trends IT&lt;/a&gt; writes to tell me that the trial versions of Office Communications Server 2007 and Office Communicator 2007 are now available for download. Thanks for the heads up Roger.&lt;/p&gt; &lt;p&gt;OCS 2007: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=663e5ef7-2288-46b0-9142-b2135a8fbdb9&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=663e5ef7-2288-46b0-9142-b2135a8fbdb9&amp;amp;DisplayLang=en&lt;/a&gt;&lt;/p&gt; &lt;p&gt;OC 2007: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7F5AB627-2D34-470D-9393-8B3EDE6FE3C4&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=7F5AB627-2D34-470D-9393-8B3EDE6FE3C4&amp;amp;displaylang=en&lt;/a&gt; &lt;p&gt;I have checked the TechNet site, and it doesn't look like OCS has made it to the subscriber downloads yet. It seems that the subscriptions site has had a much needed face-lift though. &lt;p&gt;I have been busy migrating my servers to new hardware this weekend, and have a little more work&amp;nbsp;to do, at which point I'll be setting up OCS 2007 to work with Asterisk and sipX.  &lt;p&gt;Doug Behl from the &lt;a href="http://www.malibu.com/"&gt;Malibu Software Group&lt;/a&gt; and I have spent the past several weeks working on tightening the integration between Asterisk and Exchange. With the two of us being on opposite ends of the planet it has generally meant we were 'following the sun' with at least one of us working on this at any point in the day. He has also had a head start on the OCS integration&amp;nbsp;and has provided me his configuration details to start with. Thanks for all your help so far Doug!&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-702569720624257737?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/W-mb7nASnrE/ocs-and-oc-2007-trial-versions.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/08/ocs-and-oc-2007-trial-versions.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-5852283948186747585</guid><pubDate>Sat, 28 Jul 2007 02:25:00 +0000</pubDate><atom:updated>2007-07-28T12:32:26.832+10:00</atom:updated><title>Configure Asterisk to receive incoming SIP calls</title><description>&lt;p&gt;If you want people from the outside world to be able to contact you via SIP, there are a few things you need to configure.&lt;/p&gt; &lt;p&gt;First, in FreePBX setup, click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;General Settings&lt;/strong&gt;&lt;/span&gt; on the left hand menu, scroll down and select &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/span&gt; to &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Allow Anonymous Inbound SIP Calls&lt;/strong&gt;&lt;/span&gt;. &lt;br&gt;&lt;br&gt;&lt;a href="http://members.iinet.net.au/~blade9/RecievingincomingSIPcallsfromAsterisk_9336/image03.png" atomicselection="true"&gt;&lt;img height="107" src="http://members.iinet.net.au/~blade9/RecievingincomingSIPcallsfromAsterisk_9336/image0_thumb1.png" width="354"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;The Asterisk configuration file &lt;em&gt;sip.conf&lt;/em&gt; defines the parameters for accepting incoming SIP calls. We need to make some changes to this file to correctly process incoming calls. From the Trixbox Admin web page, click &lt;strong&gt;Asterisk&lt;/strong&gt;, &lt;strong&gt;Config Edit&lt;/strong&gt;, then &lt;strong&gt;sip.conf&lt;/strong&gt; on the left hand side. Modify the contents of this file so it reflects what is shown below.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;[general] &lt;br&gt;bindport=5060 ; UDP Port to bind to &lt;br&gt;bindaddr=0.0.0.0 ; (0.0.0.0 binds to all)&lt;br&gt;disallow=all&lt;br&gt;allow=ulaw&lt;br&gt;allow=alaw&lt;br&gt;allow=gsm&lt;br&gt;allow=ilbc&lt;br&gt;context=from-sip-external &lt;br&gt;callerid=Unknown&lt;br&gt;tos=0x68 &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;;------------- Ryan's Mods&amp;nbsp;--------------&lt;br&gt;externip=&lt;font color="#008000"&gt;203.214.45.124&lt;/font&gt; ;required behind NAT&lt;br&gt;localnet=&lt;font color="#008000"&gt;192.168.0.0/255.255.255.0&lt;/font&gt;&amp;nbsp;;required behind NAT&lt;br&gt;fromdomain=&lt;font color="#008000"&gt;lithiumblue.com &lt;br&gt;&lt;/font&gt;canreinvite=no ;Required for UM calls to work&lt;br&gt;insecure=very &lt;br&gt;srvlookup=yes ;Required for outbound calls &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;#include sip_nat.conf&lt;br&gt;#include sip_custom.conf&lt;br&gt;#include sip_additional.conf&lt;/font&gt; &lt;h4&gt;Explanation&lt;/h4&gt; &lt;p&gt;&lt;strong&gt;bindport&lt;/strong&gt; - The UDP Port to bind to. Standard is 5060&lt;br&gt;&lt;strong&gt;bindaddr&lt;/strong&gt; - The IP address to listen on&lt;br&gt;&lt;strong&gt;disallow&lt;/strong&gt; - Always specified first to disable all codecs, then we use allow to specify only the ones we want to use&lt;br&gt;&lt;strong&gt;context&lt;/strong&gt; - The section to send SIP calls to for processing. From-sip-external will process calls provided that Allow Anonymous Inbound SIP Calls is set to Yes. Otherwise, it will just give a busy tone.&lt;br&gt;&lt;strong&gt;tos&lt;/strong&gt; - Type of Service - used for traffic prioritization if supported on the network&lt;br&gt;&lt;strong&gt;externip&lt;/strong&gt; - If you are behind a NAT, set this value to your public IP address. If you are not behind a NAT, delete this line.&lt;br&gt;&lt;strong&gt;localnet&lt;/strong&gt; - If you are behind a NAT, set this value to your local subnet and network mask values. Note you can have multiple localnet= lines&lt;br&gt;&lt;strong&gt;fromdomain&lt;/strong&gt; - Use if you want asterisk will append a domain (rather than its own hostname) to outgoing calls. Note that for people external to your organization to be able&amp;nbsp;to contact you using this domain, the &lt;a href="http://blog.lithiumblue.com/2007/07/understanding-dns-srv-records-and-sip.html"&gt;appropriate DNS SRV records&lt;/a&gt; must be configured on your public facing DNS servers.&lt;br&gt;&lt;strong&gt;canreinvite&lt;/strong&gt; - Must be set to 'no' to enable diversions to Exchange UM to be processed correctly. Setting to 'yes' will result in calls being dropped and Event ID 1150 logged on the UM server by UMCore saying "The Unified Messaging server was unable to create a message for the fax call with ID...".&lt;br&gt;&lt;strong&gt;srvlookup&lt;/strong&gt;&amp;nbsp;- Must be set to 'yes' to allow Asterisk to make outbound SIP calls external to your organization. See &lt;a href="http://blog.lithiumblue.com/2007/07/understanding-dns-srv-records-and-sip.html"&gt;Understanding DNS SRV records and SIP&lt;/a&gt; for more details.&lt;/p&gt; &lt;p&gt;Some people suggest using nat=yes in &lt;em&gt;sip.conf&lt;/em&gt;&amp;nbsp;if your Asterisk server is behind a NAT. I have found that this is not needed, and tends to break calls/diversions to Exchange when enabled. As long as the externip and localnet settings are present, Asterisk should have no problem processing the call from behind a NAT. If you have individual extensions are behind a NAT, you can set nat=yes in each extension definition in&lt;em&gt; sip_additional.conf&lt;/em&gt;. This is required in this scenario, and will not break diversions or calls to Exchange.&lt;/p&gt; &lt;p&gt;A detailed guide on all the options available in sip.conf is available on the &lt;a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sip.conf"&gt;voip-info.org wiki.&lt;/a&gt;&lt;br&gt;&lt;/p&gt; &lt;h4&gt;Port Forwarding&lt;/h4&gt; &lt;p&gt;If your Asterisk server is behind a NAT, you will need to configure port forwarding on your router. You will need to forward the following ports to the Asterisk server.&lt;/p&gt; &lt;p&gt;Service Name: SIP&lt;br&gt;Port: 5060&lt;br&gt;Protocol:&amp;nbsp;UDP&lt;br&gt;&lt;br&gt;Service Name: RTP&lt;br&gt;Port: 10000-20000&lt;br&gt;Protocol: UDP&lt;/p&gt; &lt;p&gt;If you need to change the RTP port range, use the Config Edit web interface to modify the rtp.conf. Read &lt;a href="http://blog.lithiumblue.com/2007/07/understanding-relationship-between-sip.html"&gt;my post on RTP and SIP&lt;/a&gt; to understand their relationship and why you need this.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;[general]&lt;br&gt;rtpstart=&lt;font color="#008000"&gt;10000&lt;/font&gt;&lt;br&gt;rtpend=&lt;font color="#008000"&gt;20000&lt;br&gt;&lt;/font&gt;&lt;/font&gt; &lt;h4&gt;DNS SRV Records&lt;/h4&gt; &lt;p&gt;SIP relies heavily on DNS SRV records to be able to route calls through over the internet. To ensure people are able to contact you, configure the following SRV records on your public facing DNS servers. &lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;_sip._udp.&lt;font color="#008000"&gt;mydomain.com&lt;/font&gt;. 86400 IN SRV 10 5 5060 &lt;font color="#008000"&gt;asterisk.mydomain.com&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;_sip._udp.&lt;font color="#008000"&gt;asterisk.mydomain.com&lt;/font&gt;. 86400 IN SRV 10 5 5060 &lt;font color="#008000"&gt;asterisk.mydomain.com&lt;/font&gt;.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;I have &lt;a href="http://blog.lithiumblue.com/2007/07/understanding-dns-srv-records-and-sip.html"&gt;created instructions&lt;/a&gt; for configuring these records using Windows Server DNS, as well as a description of how SIP uses SRV records.&lt;br&gt;&lt;/p&gt; &lt;h4&gt;And finally....&lt;/h4&gt; &lt;p&gt;You may also want to &lt;a href="http://blog.lithiumblue.com/2007/07/adding-sip-aliases-to-trixboxasterisk.html"&gt;configure SIP aliases&lt;/a&gt; so that incoming calls can be directed to an alias@yourdomain.com rather than extnumber@yourdomain.com.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-5852283948186747585?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/uXhxTUYNaGM/receiving-incoming-sip-calls-from.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/receiving-incoming-sip-calls-from.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-4693032026502332324</guid><pubDate>Sat, 28 Jul 2007 01:29:00 +0000</pubDate><atom:updated>2007-10-27T10:23:13.265+10:00</atom:updated><title>Enabling inbound calls to Exchange UM from the PSTN using Asterisk and an external VoIP service provider</title><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;After confirming that Asterisk can contact the Exchange Server, we can configure our links to the outside world. Asterisk is highly customizable in this regard. You can connect to a VOIP provider, that provides you a PSTN telephone number using a 'soft line', or you can connect physical 'hard lines' to the server using relatively cheap PCI cards. These instructions will involve configuring a soft line to a VOIP provider. In my case, my ISP, iiNet, provides a VOIP line with my ADSL account, but there are companies out there that provide this service for a fee. Please note the exact configuration settings may differ slightly from provider to provider, depending on the gateway they are using. A great place to start is the &lt;a href="http://forums.whirlpool.net.au/index.cfm?a=wiki&amp;amp;tag=VoIP"&gt;Whirlpool forums&lt;/a&gt;, which contain a lot of information about configuring Asterisk to work with various provider settings.&lt;/p&gt;  &lt;h4&gt;Create the Trunk&lt;/h4&gt;  &lt;p&gt;In the FreePBX setup menu, click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Trunks&lt;/strong&gt;&lt;/span&gt;, and &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Add SIP Trunk&lt;/strong&gt;&lt;/span&gt;. Add the following information.&lt;/p&gt;  &lt;p&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Outbound Caller ID&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #9bbb59"&gt;&lt;strong&gt;The PSTN phone number assigned by your provider&lt;/strong&gt;&lt;/span&gt;    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Never Override Caller ID &lt;/strong&gt;&lt;/span&gt;unticked    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Maximum Channels&lt;/strong&gt;&lt;/span&gt; blank    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Dial Rules&lt;/strong&gt;&lt;/span&gt; blank    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Outbound dial prefix&lt;/strong&gt;&lt;/span&gt; blank    &lt;br /&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Trunk Name&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;PSTNOut&lt;/span&gt;    &lt;br /&gt;In &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Peer Details&lt;/strong&gt;&lt;/span&gt;, enter the following information    &lt;br /&gt;    &lt;br /&gt;&lt;span style="font-family: courier new"&gt;&lt;span style="color: #4f81bd"&gt;disallow=all       &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: courier new"&gt;&lt;span style="color: #4f81bd"&gt;allow=alaw&amp;amp;ulaw       &lt;br /&gt;canreinvite=no        &lt;br /&gt;context=ext-did        &lt;br /&gt;fromdomain=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;iinetphone.iinet.net.au *REPLACE WITH THE PROVIDER's DOMAIN*&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;fromuser=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX (REPLACE WITH YOUR ASSIGNED USERNAME, USUALLY THE PHONE NUMBER*         &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;host=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;sip.vic.iinet.net.au *REPLACE WITH YOUR PROVIDERS SIP GATEWAY*&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;insecure=very        &lt;br /&gt;dtmfmode=auto&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: courier new"&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;nat=no        &lt;br /&gt;pedantic=no        &lt;br /&gt;secret=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;**YOUR PASSWORD**&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;type=peer        &lt;br /&gt;username=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX *REPLACE WITH YOUR ASSINGED USERNAME, USUALLY THE PHONE NUMBER*&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;       &lt;br /&gt;User Context&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;PSTNIn&lt;/span&gt;    &lt;br /&gt;In &lt;span style="color: #c0504d"&gt;&lt;strong&gt;User Details&lt;/strong&gt;&lt;/span&gt;, enter the following information &lt;span style="font-family: courier new"&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;        &lt;br /&gt;canreinvite=no        &lt;br /&gt;context=from-pstn        &lt;br /&gt;fromuser=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX (REPLACE WITH YOUR ASSIGNED USERNAME, USUALLY THE PHONE NUMBER*         &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;host=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;sip.vic.iinet.net.au *REPLACE WITH YOUR PROVIDERS SIP GATEWAY*&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;insecure=very        &lt;br /&gt;dtmfmode=auto        &lt;br /&gt;qualify=no        &lt;br /&gt;secret=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;**YOUR PASSWORD**&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd"&gt;       &lt;br /&gt;type=user        &lt;br /&gt;username=&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX *REPLACE WITH YOUR ASSINGED USERNAME, USUALLY THE PHONE NUMBER*         &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Register String&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd; font-family: courier new"&gt;@&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;iinetphone.iinet.net.au&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd; font-family: courier new"&gt;:&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;YOURPASSWORD&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd; font-family: courier new"&gt;:&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: #4f81bd; font-family: courier new"&gt;@PSTNOut/&lt;/span&gt;&lt;span style="color: #9bbb59"&gt;&lt;strong&gt;039029XXXX       &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Please note that register strings vary from provider to provider, please check with your provider that this information is correct. The register string is used by Asterisk to register with the gateway to receive incoming calls. &lt;/p&gt;  &lt;p style="text-align: justify"&gt;Additionally, Maurice van der Werf points out that he had to add dtmfmode=auto in order to get DTMF tones working with one VoIP provider (Xs4all), but dtmfmode=info for another provider (VoIPBuster). Check this setting with your ISP, and modify where appropriate.&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Submit the changes, and now we need to modify our routes.   &lt;br /&gt;&lt;/p&gt;  &lt;h4&gt;Modify the Route   &lt;br /&gt;&lt;/h4&gt;  &lt;p style="text-align: justify"&gt;Now we need to modify the outbound route. There is a preconfigured outbound route called &lt;span style="color: #c0504d"&gt;&lt;strong&gt;9_outside&lt;/strong&gt;&lt;/span&gt; in Asterisk which we will use. If the route is not there, simply create a new route with the following information.&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Click on &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Outbound Routes&lt;/strong&gt;&lt;/span&gt; on the left hand menu, and click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;9_outside&lt;/strong&gt;&lt;/span&gt;. Change the trunk selection in the &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Trunk Sequence&lt;/strong&gt;&lt;/span&gt; drop down box to &lt;span style="color: #c0504d"&gt;&lt;strong&gt;SIP/PSTNOut&lt;/strong&gt;&lt;/span&gt; and press &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Submit Changes&lt;/strong&gt;&lt;/span&gt;.    &lt;br /&gt;&lt;/p&gt;  &lt;p style="text-align: justify"&gt;&lt;/img&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringAsterisktoconnecttoanexternal_A0EE/image0_thumb164.png"&gt;&lt;img height="493" src="http://members.iinet.net.au/~blade9/ConfiguringAsterisktoconnecttoanexternal_A0EE/image0_thumb16_thumb1.png" width="365" /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;p style="text-align: justify"&gt;The nine/pipe character combination tells Asterisk that this route will be used when someone's presses '9' for an outside line. The period is a wildcard character. This means that any calls starting with the number 9 will be use this route. You can substitute 9 with 1 or 0 if you wish. Keep in mind, we have reserved 2-8 for use by various extension pools. If you used one of these numbers, Asterisk would try to route those internal calls out to the PSTN. You may also choose to not use an 'outside line' access number. In this case, simply enter dial patterns appropriate for the phone numbers you need to dial.&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Make a test call from X-Lite to a PSTN phone number. Remember to dial '9' before the phone number to get an outside line.   &lt;br /&gt;&lt;/p&gt;  &lt;p style="text-align: justify"&gt;&lt;/p&gt;  &lt;h4&gt;Configuring the Inbound Route   &lt;br /&gt;&lt;/h4&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Asterisk by default can't forward an incoming call to any arbitrary number. It must exist as a registered extension on the system. We want our calls coming in from the PSTN to be routed to the Exchange Server's extension, which Asterisk can't do on its own. However, there is a module we can install to do this for us. We will create Miscellaneous Destinations for both the AutoAttendant and Subscriber Access Number, and configure the inbound calls to be forwarded to one of those destinations.&lt;/p&gt;  &lt;p style="text-align: justify"&gt;Click Tools on the top menu of FreePBX, then on the left hand side, click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Module Admin&lt;/strong&gt;&lt;/span&gt;. Scroll down to the &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Inbound Call Control&lt;/strong&gt;&lt;/span&gt; section, and click on &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Misc Destinations&lt;/strong&gt;&lt;/span&gt;. Select &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Install &lt;/strong&gt;&lt;/span&gt;as the action, and press the &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Process&lt;/strong&gt;&lt;/span&gt; button at the bottom of the screen. When the module has installed, click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Setup&lt;/strong&gt;&lt;/span&gt; at the top of the FreePBX menu to return to the main configuration screen. Click the &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Misc Destinations &lt;/strong&gt;&lt;/span&gt;option that has appeared on the left hand menu. Enter the following information for our destination. &lt;/p&gt;  &lt;p style="text-align: justify"&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;ExchangeAutoAttendant&lt;/span&gt;    &lt;br /&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Dial&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;299     &lt;br /&gt;      &lt;br /&gt;&lt;/span&gt;&lt;/img&gt;&lt;a href="http://members.iinet.net.au/~blade9/ConfiguringAsterisktoconnecttoanexternal_A0EE/image0_thumb184.png"&gt;&lt;img height="137" src="http://members.iinet.net.au/~blade9/ConfiguringAsterisktoconnecttoanexternal_A0EE/image0_thumb18_thumb1.png" width="345" /&gt;&lt;/a&gt;&amp;#xA0; &lt;br /&gt;    &lt;br /&gt;Click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Submit Changes&lt;/strong&gt;&lt;/span&gt;, and add a second destination    &lt;br /&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;ExchangeSubscriberAccess     &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;Dial&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #4f81bd; font-family: courier new"&gt;222&lt;/span&gt;    &lt;br /&gt;Click &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Submit Changes&lt;/strong&gt;&lt;/span&gt;, and then &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Inbound Routes&lt;/strong&gt;&lt;/span&gt; on the left hand menu. Enter the following information. &lt;/p&gt;  &lt;p&gt;&lt;span style="color: #c0504d"&gt;&lt;strong&gt;DID Number&lt;/strong&gt;&lt;/span&gt;: &lt;span style="color: #9bbb59; font-family: courier new"&gt;039029XXXX&lt;/span&gt; *Replace with your phone number*    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Caller ID Number&lt;/strong&gt;&lt;/span&gt; blank    &lt;br /&gt;Leave &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Zaptel channel&lt;/strong&gt;&lt;/span&gt; blank    &lt;br /&gt;Leave the &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Fax Handling&lt;/strong&gt;&lt;/span&gt;, &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Privacy&lt;/strong&gt;&lt;/span&gt;, and &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Options&lt;/strong&gt;&lt;/span&gt; sections at their defaults.    &lt;br /&gt;Under &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Set Destination&lt;/strong&gt;&lt;/span&gt;, select &lt;span style="color: #c0504d"&gt;&lt;strong&gt;Misc Destinations&lt;/strong&gt;&lt;/span&gt;, and choose either &lt;span style="color: #c0504d"&gt;&lt;strong&gt;ExchangeAutoAttendant&lt;/strong&gt;&lt;/span&gt; or &lt;span style="color: #c0504d"&gt;&lt;strong&gt;ExchangeSubscriberAccess&lt;/strong&gt;&lt;/span&gt;, depending on where you want the incoming calls to go.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;img alt="" src="http://members.iinet.net.au/~blade9/042907_0125_AccessingEx10.png" /&gt;&lt;/img&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Click Submit, then test the configuration by calling your provided PSTN number. The Exchange Server should answer at the other end.&lt;/p&gt;  &lt;p&gt;You may now want to &lt;a href="http://blog.lithiumblue.com/2007/10/configuring-outbound-calls-from.html"&gt;configure Exchange for outbound calls&lt;/a&gt; from OVA to the PSTN.&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-4693032026502332324?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/0Xo_l74neuI/enabling-access-to-exchange-um-from.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/enabling-access-to-exchange-um-from.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-1135068855921463279</guid><pubDate>Fri, 27 Jul 2007 23:41:00 +0000</pubDate><atom:updated>2007-07-28T09:41:23.950+10:00</atom:updated><title>Adding SIP aliases to Trixbox/Asterisk Extensions</title><description>&lt;p&gt;One nice feature of SIP is the ability to have an easy-to-remember URI rather than a long phone number to contact someone with.&lt;/p&gt; &lt;p&gt;By default Trixbox doesn't give you an option to assign an alias, and you are stuck with receiving calls&amp;nbsp;only&amp;nbsp;to your extension numbers. If someone from outside your organization wants to call you, they have to call something like&amp;nbsp;sip:123@mysipdomain.com.&lt;/p&gt; &lt;p&gt;The good news is that we can manually add these aliases into the Asterisk configuration files.&lt;/p&gt; &lt;p&gt;From the Trixbox admin web interface, select &lt;em&gt;Asterisk&lt;/em&gt;, then &lt;em&gt;Config Edit&lt;/em&gt;. Select &lt;em&gt;extensions_custom.conf&lt;/em&gt;, and add the following to the end of the file.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" color="#0080ff"&gt;[ext-local-custom]&lt;br&gt;exten =&amp;gt; &lt;font color="#008000"&gt;ryan&lt;/font&gt;,1,Goto(&lt;font color="#008000"&gt;400&lt;/font&gt;,1)&lt;br&gt;exten =&amp;gt; &lt;font color="#008000"&gt;support&lt;/font&gt;,1,Goto(&lt;font color="#008000"&gt;400&lt;/font&gt;,1)&lt;br&gt;exten =&amp;gt; &lt;font color="#008000"&gt;mark&lt;/font&gt;,1,Goto(&lt;font color="#008000"&gt;401&lt;/font&gt;,1)&lt;br&gt;exten =&amp;gt; &lt;font color="#008000"&gt;jason&lt;/font&gt;,1,Goto(&lt;font color="#008000"&gt;402&lt;/font&gt;,1)&lt;/font&gt;&lt;/p&gt; &lt;p&gt;This example will forward any calls to ryan@mysipdomain.com or support@mysipdomain.com to extension 400, calls for mark@mysipdomain.com to extension 401, and calls for jason@mysipdomain.com to extension 402.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-1135068855921463279?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/8_ncO2427sM/adding-sip-aliases-to-trixboxasterisk.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/adding-sip-aliases-to-trixboxasterisk.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-3584760732859521041</guid><pubDate>Fri, 27 Jul 2007 23:03:00 +0000</pubDate><atom:updated>2007-07-28T09:03:20.092+10:00</atom:updated><title>Asterix -&gt; Asterisk</title><description>&lt;p&gt;Ok so for the last 3 months, I have been misspelling "Asterisk" as "Asterix". I must have spent too many years reading Asterix comic books as a kid.&lt;/p&gt; &lt;p&gt;So now I have it sorted out:&lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/AsterixAsterisk_7F4E/Asterix_the_gaul4.jpg" atomicselection="true"&gt;&lt;img height="168" src="http://members.iinet.net.au/~blade9/AsterixAsterisk_7F4E/Asterix_the_gaul_thumb2.jpg" width="112"&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;&lt;strong&gt;&lt;em&gt;Asterix&lt;/em&gt;&lt;/strong&gt; - Is the little guy from the french comic&lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/AsterixAsterisk_7F4E/Asterisk_logo4.png" atomicselection="true"&gt;&lt;img height="93" src="http://members.iinet.net.au/~blade9/AsterixAsterisk_7F4E/Asterisk_logo_thumb2.png" width="157"&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;&lt;strong&gt;&lt;em&gt;Asterisk&lt;/em&gt;&lt;/strong&gt; - Is the IP-PBX&lt;/p&gt; &lt;p&gt;I've gone through and fixed the spelling in the UM guides. Let me know if you see any occurrences I missed or find any broken&amp;nbsp;links.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-3584760732859521041?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/e_Uz8igs2n0/asterix-asterisk.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/asterix-asterisk.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-6662097292064305420</guid><pubDate>Fri, 27 Jul 2007 11:47:00 +0000</pubDate><atom:updated>2007-07-27T21:47:54.754+10:00</atom:updated><title>Understanding DNS SRV records and SIP</title><description>&lt;h5&gt;What are SRV records?&lt;/h5&gt; &lt;p&gt;DNS SRV records or service records are a type of DNS entry that specify information on a service available in a domain. They are typically used by clients who want to know the location of a service within a domain. For example, in an Active Directory environment, domain joined windows PCs rely on SRV records to locate domain controllers to authenticate to within their domain. &lt;/p&gt; &lt;p&gt;A SRV record record contains the following information:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Service Name: the well know name of the service&lt;/li&gt; &lt;li&gt;Protocol: specifies if this is a TCP or UDP service&lt;/li&gt; &lt;li&gt;Domain Name: the domain name that this record belongs to&lt;/li&gt; &lt;li&gt;TTL: Time to Live value&lt;/li&gt; &lt;li&gt;Class: DNS class field. This always has the value of "IN"&lt;/li&gt; &lt;li&gt;Priority: when multiple hosts are configured for the same service, the priority determines which host is tried first&lt;/li&gt; &lt;li&gt;Weight: A relative weight for records with the same priority&lt;/li&gt; &lt;li&gt;Port: the TCP or UDP port that the service uses&lt;/li&gt; &lt;li&gt;Target: the name of the host providing the service&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Here is an&amp;nbsp;example of a SRV record, that specifies that a SIP/UDP server, with a priority of 10, can be contacted at asterisk.lithnet.local, on port 5060.&lt;/p&gt; &lt;p&gt;&lt;em&gt;_sip._udp.lithnet.local. 86400 IN SRV 10 5 5060 asterisk.lithnet.local.&lt;/em&gt;&lt;/p&gt; &lt;h5&gt;SIP and the SRV record&lt;/h5&gt; &lt;p&gt;SIP clients use SRV lookups to determine where to send an outgoing call. Configuring a DNS SRV records means that you can use your domain name rather than the full host name of the server in the SIP address you give to people. For example, without SRV records,&amp;nbsp;people can only call me on 400@asterisk.lithnet.local. If I configure the SRV record shown in the example above, I can drop the hostname, and people can call me on 400@lithnet.local.&lt;/p&gt; &lt;h5&gt;How does a SIP client use SRV records?&lt;/h5&gt; &lt;p&gt;If I try to call 400@asterisk.lithnet.local, my SIP client will first perform a DNS SRV lookup. It will query its DNS server for the records:&lt;/p&gt; &lt;p&gt;&lt;em&gt;_sip._udp.asterisk.lithnet.local &lt;br&gt;&lt;/em&gt;and&lt;br&gt;&lt;em&gt;_sip._tcp.asterisk.lithnet.local&lt;/em&gt;&lt;/p&gt; &lt;p&gt;If I have either of them configured in my DNS, my SIP client will forward the call to the host and port number specified in the DNS response. If I do not have them configured, the SIP client will try to contact asterisk.lithnet.local directly (by assuming it is a hostname) on the well known SIP port (5060).&lt;/p&gt; &lt;p&gt;An SRV record can also be used to redirect a SIP client to a different server. If I retire my asterisk.lithnet.local, and replace it with newserver.lithnet.local, I can create a SRV record so that calls directed to @asterisk.lithnet.local are forwarded to the new server.&lt;/p&gt; &lt;p&gt;&lt;em&gt;_sip._udp.asterisk.lithnet.local. 86400 IN SRV 10 5 5060 newserver.lithnet.local.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;I might also want to direct calls to a non standard port on my asterisk server. I can do this without having to configure the clients at all.&lt;/p&gt; &lt;p&gt;&lt;em&gt;_sip._udp.asterisk.lithnet.local. 86400 IN SRV 10 5 &lt;strong&gt;5070&lt;/strong&gt; asterisk.lithnet.local.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Correctly configured, SRV records make managing SIP domains a lot easier.&lt;/p&gt; &lt;h5&gt;Sounds great...&amp;nbsp;So how do I do?&lt;/h5&gt; &lt;p&gt;From a&amp;nbsp;Windows server with the DNS server installed, open the DNS Management MMC. Right click&amp;nbsp;the domain (or subdomain) you are assigning this service to, and select "Other New Records..."&lt;/p&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingDNSSRVrecordsandSIP_1327E/image03.png" atomicselection="true"&gt;&lt;img height="533" src="http://members.iinet.net.au/~blade9/UnderstandingDNSSRVrecordsandSIP_1327E/image0_thumb1.png" width="419"&gt;&lt;/a&gt; &lt;p&gt;Scroll down to &lt;em&gt;Service Location (SRV) &lt;/em&gt;in the list. Type _sip in the service field, select _udp from the protocol field, assign a priority and weight, enter 5060 as the port number, and the host name of your SIP server.&lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingDNSSRVrecordsandSIP_1327E/image017.png" atomicselection="true"&gt;&lt;img height="449" src="http://members.iinet.net.au/~blade9/UnderstandingDNSSRVrecordsandSIP_1327E/image0_thumb9.png" width="405"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;Click OK and your are done. You can view your new SRV record by clicking on the _udp item under your domain. In the example here, I would now be able to receive calls to @lithnet.local extensions, as well as @asterisk.lithnet.local.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-6662097292064305420?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/hks6sEYbYKA/understanding-dns-srv-records-and-sip.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/understanding-dns-srv-records-and-sip.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-8878183440649517467</guid><pubDate>Fri, 27 Jul 2007 10:34:00 +0000</pubDate><atom:updated>2007-07-27T20:34:20.214+10:00</atom:updated><title>Office Communications Server 2007 is on its way</title><description>&lt;p&gt;The new version of Office Communications Server and Office Communicator &lt;a href="http://blogs.technet.com/uc/archive/2007/07/27/office-communications-server-2007-and-office-communicator-2007-to-be-released-to-manufacturing-rtm-tomorrow.aspx"&gt;has been released&lt;/a&gt; to manufacturing!&lt;/p&gt; &lt;p&gt;Stay tuned for guides on integrating OCS 2007 with Exchange UM using sipX/Asterisk.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-8878183440649517467?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/893oOTwBzi4/office-communications-server-2007-is-on.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/office-communications-server-2007-is-on.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-5845820703186205241</guid><pubDate>Fri, 27 Jul 2007 10:30:00 +0000</pubDate><atom:updated>2007-08-07T22:22:57.632+10:00</atom:updated><title>Understanding sipX dial plan configuration files</title><description>&lt;p&gt;When troubleshooting problems with sipX configuration, it is important to understand how the configuration files are generated.&lt;/p&gt;&lt;p&gt;There are 3 main files that make up the sipX dial plan configuration. There are all located in the /etc/sipxpbx folder.&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;mappingrules.xml&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Mapping rules are used to route calls based on host, usernames, and permissions. In the guide to setting up Exchange UM, we also use mapping rules to transform the SIP URI to add the transport=tcp argument required to make a successful connection to an Exchange UM Server.&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;authrules.xml&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Authrules allow restriction of dial patterns and host by various permissions. For example, you can modify the authrules file so that extensions 300-320 require special permission to call external hosts.&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;fallbackrules.xml&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Fallback mapping rules are processed after mappingrules.xml, and are usually used to provide mapping to external systems (for example, another SIP domain, or a SIP server used to external calls)&lt;/p&gt;&lt;p&gt;These files are all generated automatically by sipX. Don't bother trying to change them, because your changes will be wiped next time the sipX service starts. Each of these xml files has a corresponding .xml.in file. When you activate your dial plan in the sipXconfig web interface, it writes the .xml.in file, and restarts the required components. The .xml.in file is then taken to generate the .xml file. So don't bother trying to change the .xml.in file either!&lt;/p&gt;&lt;p&gt;So how do we customize the dial plan? If you followed my guide to connecting sipX to Exchange UM, you would remember making (or downloading from me) two files - external_mappingrules.xml, and external_authrules.xml. However, in order for sipX to actually process these files, we need to add a few entries into /etc/sipxpbx/sipxconfig.properties.in. &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0080ff;"&gt;mappingRules.externalRulesFileName=/etc/sipxpbx/external_mappingrules.xml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0080ff;"&gt;authRules.externalRulesFileName=/etc/sipxpbx/external_authrules.xml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0080ff;"&gt;fallbackRules.externalRulesFileName=/etc/sipxpbx/external_fallbackrules.xml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;This tells sipX to integrate our external files into the dial plan when generated. So when configured correctly, our main config file (ie authrules.xml) is generated by combining our .xml.in file, with our external rules file&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;em&gt;authrules.xml.in + external_authrules.xml =&amp;gt; authrules.xml&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;If there is problem with the XML code in our external rules files, sipx will ignore them and not process them. You can tell if your files are being processed correctly by viewing the main xml file, and making sure that the external rules have been incorporated into in. If the external rules are missing, go back and check the external rules file, and make sure all tags are spelt correctly, and are have matching closing tags. You can use the following command to verify your XML files:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#0080ff;"&gt;sipx-validate-xml /etc/sipxpbx/filename.xml&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-5845820703186205241?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/Sc-bx4W52C8/understanding-sipx-dial-plan.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/understanding-sipx-dial-plan.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-2203463778465781069</guid><pubDate>Mon, 23 Jul 2007 10:12:00 +0000</pubDate><atom:updated>2007-07-28T08:46:19.408+10:00</atom:updated><title>Understanding the relationship between SIP and RTP</title><description>&lt;p&gt;Getting your head around SIP and RTP traffic flows&amp;nbsp;is a little daunting at first, but its actually not all that complicated when you understand the purpose of the protocols.&lt;/p&gt; &lt;p&gt;As its name implies, the Session Initiation Protocol&amp;nbsp;is used to &lt;strong&gt;initiate&lt;/strong&gt; a &lt;strong&gt;session&lt;/strong&gt; between two endpoints. SIP does not carry any voice or video data itself - it merely allows two endpoints to set up connection to transfer that traffic between each other via&amp;nbsp;the Real-time Transport Protocol (RTP).&lt;/p&gt; &lt;p&gt;The SIP protocol can be, and usually is, routed through one or more SIP proxy servers before reaching its destination.&amp;nbsp;It is very similar to&amp;nbsp;how email is transmitted,&amp;nbsp;in that multiple email servers&amp;nbsp;are usually involved in the delivery process, each forwarding the message in its original form. Each email server adds a &lt;em&gt;Received&lt;/em&gt; header to the message, to track the route the message has taken. SIP uses a &lt;em&gt;Via&lt;/em&gt; header to track the SIP proxies that the message has passed through to get to its destination.&lt;/p&gt; &lt;p&gt;SIP uses a very similar message format to HTTP. They are both human-readable, and use similar (if not the same) error codes. For example, both HTTP and SIP use 408 as the error code to signal a timeout error, 404 for 'not found', etc. Using wireshark, you can capture SIP packets and read the content of them. &lt;/p&gt; &lt;p&gt;Here is a breakdown of the structure of a SIP packet (Click to enlarge).&lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image02.png" atomicselection="true"&gt;&lt;/a&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image05.png" atomicselection="true"&gt;&lt;/a&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image039.png" atomicselection="true"&gt;&lt;img height="332" src="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image0_thumb27.png" width="420"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;1. This shows the source and destination IP addresses of the SIP packet. Note this information will change as the packet passes between SIP proxy servers.&lt;/p&gt; &lt;p&gt;2. Transport Protocol and port. In this case, this is a SIP/UDP packet being sent to port 5060 (the standard SIP port)&lt;/p&gt; &lt;p&gt;3. This is the SIP &lt;em&gt;Request&lt;/em&gt; header that tells us what type of SIP message this is. This particular packet is a SIP INVITE request for extension 401 @ asterisk.lithnet.local&lt;/p&gt; &lt;p&gt;4. The &lt;em&gt;Via&lt;/em&gt; header contains a list of all SIP proxy servers that this packet has passed through, including the initiating client&lt;/p&gt; &lt;p&gt;5. The &lt;em&gt;To&lt;/em&gt; header specifies the SIP packet's destination&lt;/p&gt; &lt;p&gt;6. The &lt;em&gt;From&lt;/em&gt; header specified who sent the SIP packet&lt;/p&gt; &lt;p&gt;7. This particular packet is a SIP/SD packet, meaning it contains a &lt;em&gt;Session Description&lt;/em&gt; &lt;em&gt;Protocol&lt;/em&gt; message that contains information the remote client needs to open an RTP session for this call&lt;/p&gt; &lt;p&gt;8. The IP address of the SIP client that created this packet&lt;/p&gt; &lt;p&gt;9. The IP address the destination SIP client should contact to open an RTP session. It also specifies the IP Address version (IPv4 or IPv6)&lt;/p&gt; &lt;p&gt;10. The key pieces of information in this header are &lt;em&gt;audio&lt;/em&gt;, &lt;em&gt;33438&lt;/em&gt;, and &lt;em&gt;RTP/AVP&lt;/em&gt;. The &lt;em&gt;audio &lt;/em&gt;component obviously signifies that this is an audio call, &lt;em&gt;33438&lt;/em&gt; specifies the port that the remote computer should open at the IP address specified in (9), and RTP/AVP specifies that the Real-time Transport Protocol will be used for the session. The numbers at the end of this header represent the different codecs that this client supports. The SIP client at the other end must support one of the matching protocols in order to be able to make a successful connection. &lt;/p&gt; &lt;p&gt;Unlike SIP, which listens on port 5060 (usually UDP, but can be TCP), RTP uses a dynamic port range (and is only ever UDP), generally between 10000-20000. This range can usually be customized on the client to suit differing firewall configurations.&lt;/p&gt; &lt;p&gt;Now while SIP traffic passes from one server to the next to get to its destination, RTP sessions are set up directly between SIP clients (There is an exception to this rule, that I will explain shortly). &lt;/p&gt; &lt;p&gt;Here is an easy way to think of this. I want to call Bob on the phone, but I don't know Bob's number. I do however have his email address. So I send Bob an email telling him to call me on my phone number. The email passes through several servers and eventually arrives at Bob's inbox. Bob reads the email containing my phone number, picks up the phone, and calls me. We can then begin our audio conversation with each other. The email was used to help us set up a phone conversation, and after that it was no longer needed. Our phone call did not have to pass through the servers my email passed through to get to him, because they are two separate systems. The email in this example is analogous to a SIP packet, the phone call is our RTP session.&lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image068.png" atomicselection="true"&gt;&lt;img height="175" src="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image0_thumb46.png" width="418"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Now SIP is a good protocol, but things kind of break down when NAT gets involved. SIP packets themselves tend to move about without too much trouble (generally), as they 'hop' from one server to another. RTP sessions&amp;nbsp;are somewhat more troublesome. Either both clients need to be aware they are behind a NAT, and substitute their local IP addresses for their public IPs in their &lt;em&gt;Session Description &lt;/em&gt;messages and open the appropriate firewall ports, or something has to modify the SIP packets en route.&lt;/p&gt; &lt;p&gt;This is where the exception to the rule that I mentioned comes into play. Products known as Back-to-Back User Agents, one of the most well known being Asterisk, can can actually proxy RTP traffic. &lt;/p&gt; &lt;p&gt;&lt;a href="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image070.png" atomicselection="true"&gt;&lt;img height="131" src="http://members.iinet.net.au/~blade9/UnderstandingSIPandRTP_DB23/image0_thumb48.png" width="416"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Asterisk can modify SIP packets to direct the caller and destination to establish an RTP session with itself, rather than with each other. This is useful in situations where two SIP clients may not have direct access to each other, most commonly, when one or both of the SIP clients&amp;nbsp;are behind a NAT. &lt;/p&gt; &lt;p&gt;It is important to note that Asterisk only proxy's RTP traffic when it has to, and when configured to do so. If both clients are on the same local network segment, Asterisk doesn't need to play a part in the RTP session, and it will proxy only the SIP traffic.&lt;/p&gt; &lt;p&gt;In summary, when troubleshooting packet captures, pay close attention to;&lt;/p&gt; &lt;p&gt;1. The ports and IP addresses specified in the SIP message header (to, from, via). Determine where the packet came from, where it thinks it needs to go, and the route it has taken to get to where you found it.&lt;/p&gt; &lt;p&gt;2. The ports and IP addresses specified in the Session Description (SD) portion of the SIP message. Ensure that the remote party will be able to connect to both the IP address and the port specified.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-2203463778465781069?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/Bi2Oi5ONajQ/understanding-relationship-between-sip.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/understanding-relationship-between-sip.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-2046696271940586698</guid><pubDate>Sat, 21 Jul 2007 13:45:00 +0000</pubDate><atom:updated>2007-07-28T08:47:31.970+10:00</atom:updated><title>Unified Messaging in an Office Communications Server 2007 environment</title><description>I've been doing some research on Office Communications Server 2007, and plan on getting this up and running soon. I have been wondering how it will integrate with Exchange UM.&lt;br /&gt;&lt;br /&gt;The guys over at the Microsoft Exchange Team Blog have &lt;a href="http://msexchangeteam.com/archive/2007/07/20/446505.aspx"&gt;just posted &lt;/a&gt;on how OCS 2007 and Exchange UM will integrate to provide voicemail, auto attendant, and subscriber access through OCS.&lt;br /&gt;&lt;br /&gt;I will be providing details on my experience integrating the two products with sipX and Asterisk in the future.&lt;br /&gt;&lt;br /&gt;If you haven't already &lt;a href="http://msexchangeteam.com/rss.aspx"&gt;subscribed &lt;/a&gt;to their blog, do it now. It is one of the most informative blogs at Microsoft, that covers information every Exchange admin needs to know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-2046696271940586698?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/0QwZvYVMOSA/unified-messaging-in-office.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/unified-messaging-in-office.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1261292475025329861.post-2168952003946238370</guid><pubDate>Sat, 21 Jul 2007 13:39:00 +0000</pubDate><atom:updated>2007-07-28T08:47:46.600+10:00</atom:updated><title>Site Updates</title><description>Ok, so I thought it was time for a new site theme. The old theme was good because it stretched to use up all the available space on the screen, but it was uuuuugly.&lt;br /&gt;&lt;br /&gt;So this theme is a little prettier, but things seem a little squishy. I don't have the patience to deal with HTML/CSS/whatever it is web sites are rendered in these days to fix it.&lt;br /&gt;&lt;br /&gt;Can anyone recommend any good blogspot.com themes?&lt;br /&gt;&lt;br /&gt;I also added links to all the Exchange UM setup posts on the right for easy access, as well as my contact details. If you get stuck with anything in your UM/sipx/asterisk setup, feel free to email me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1261292475025329861-2168952003946238370?l=blog.lithiumblue.com'/&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/ItsEnoughToBeOnYourWay/~3/pb1EI6_QjZA/site-updates.html</link><author>noreply@blogger.com (Ryan Newington)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.lithiumblue.com/2007/07/site-updates.html</feedburner:origLink></item></channel></rss>
