{"id":115,"date":"2008-09-05T12:00:23","date_gmt":"2008-09-05T19:00:23","guid":{"rendered":"http:\/\/www.milow.net\/public\/?p=115"},"modified":"2013-02-27T14:30:33","modified_gmt":"2013-02-27T21:30:33","slug":"115","status":"publish","type":"post","link":"https:\/\/www.milow.net\/public\/techblog\/115.html","title":{"rendered":"miranda and office communicator 2007"},"content":{"rendered":"<p>After we upgraded our Instant Messaging to the new version of Microsoft Office Communications Server, I have been told to install Office Communicator 2007 in order to be able to connect from outside of our firewall. The new version of OCS apparently requires two seperate connections: one if you are inside the firewall, and one if you are outside on the internet. Why OCS requires two different IP addresses to work this way, I have no idea.<\/p>\n<p>&#8220;So what?&#8221; you ask.<\/p>\n<p><!--more--><\/p>\n<p>Due to the general crappiness of Office Communicator, and the fact that I use many different IM services, I have been using <a href=\"http:\/\/www.miranda-im.org\">Miranda<\/a> for a long time now.<\/p>\n<p>Miranda is an open-source IM platform that supports pretty much every Instant Messaging protocol out there. I use it for Google Talk (Jabber), AIM, ICQ, Yahoo Messenger, and SIP which is OCS&#8217;s communications protocol.<\/p>\n<p>I used to use a program called <a href=\"http:\/\/www.ceruleanstudios.com\/\">Trillian<\/a> but support for it was spotty at best and the program wasn&#8217;t nearly as flexible as Miranda. Plus, Miranda is updated much more frequently and has many more plugins available for it. One major problem I had was that whenever my laptop went into Standby mode, Trillian would not reconnect to OCS. With a few plugins such as <a href=\"http:\/\/addons.miranda-im.org\/details.php?action=viewfile&amp;id=3812\">KeepStatus<\/a>, Miranda will reconnect for me.<\/p>\n<p>The <a href=\"http:\/\/addons.miranda-im.org\/details.php?action=viewfile&amp;id=3455\">SIP Plugin for Miranda<\/a> does not support the concept of internal and external servers which I now need. So what I did was download the source code and add it myself. The solution I came up with is to alternate between both servers when trying to connect. Since I use the KeepStatus PlugIn, Miranda will retry the connection until it finally connects. This is not the perfect solution but it was the easiest for me to implement, not knowing the plugin code well.<\/p>\n<p>If this solution sounds like it will work for you, and you are interested in the plugin, let me know and I will post it here.<\/p>\n<p><span class=\"update\">Update 9\/15\/08:<\/span><br \/>\nI have found out that the latest compiled Miranda SIP plugin won&#8217;t work with OCS 2007 properly. Whenever I signed in, everyone would show me as offline. I found out on <a href=\"http:\/\/zoosmart.us\/sip\/\">this page<\/a> (for the Trillian SIP plugin) that in order to work with OCS 2007, you need to compile against the OCS 2007 SDK.<\/p>\n<p>I did that and once again I showed up as offline. What I found out was that Office Communicator has to be running. All of my IMs still go through Miranda, and I show up as online. It seems that Microsoft is making it a pain to use their SDKs on purpose. At least everything is working like it used to!<\/p>\n<p><span class=\"update\">Update 10\/10\/08:<\/span><br \/>\nI have received at least one request for my updated plugin, so here it is:<br \/>\n<!--downloads(24)--> (<!--downloads(25)-->)<\/p>\n<p><span class=\"update\">Update 8\/26\/09<\/span><br \/>\nIn order to use this plugin, you must install Microsoft RTC. You can download it at the <a href=\"http:\/\/addons.miranda-im.org\/details.php?action=viewfile&#038;id=3455\">SIP RTC plugin site<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After we upgraded our Instant Messaging to the new version of Microsoft Office Communications Server, I have been told to install Office Communicator 2007 in order to be able to connect from outside of our firewall. The new version of OCS apparently requires two seperate connections: one if you are inside the firewall, and one [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-techblog"],"_links":{"self":[{"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":3,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/posts\/115\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milow.net\/public\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}