By Martin on 24.09.2007 08:33
Some days ago somebody asked via a comment to my blog entry about SwyxIt API and Powershell if it is possible to consume events from the API, e.g. to run a Powershell script when a call comes in. I tried it using the RCW interop.clmgrlib.dll which exposes the SwyxIt COM API as .Net Types. However, Powershell only supports a specific kind of delegates. A small script from the Powershell blog (get-delegate.ps1) seemed to help.
PS> [System.Reflection.Assembly]::LoadFrom("Interop.CLMGRLib.dll")PS> $clmgr = new-object clmgrlib.clientlinemgrclassPS> $cb = get-delegate clmgrlib.IClientLineMgrEventsDisp_DispOnLineMgrNotificationEventHandler {write-host $args }PS> $clmgr.add_disponlinemgrnotification($cb)
That gives no error, but the {write-host $args} script block is never called. I suppose it has something to do with different threads. Notifications... Read More » |
By morten.rokosz on Fri, 21 Sep 2007 09:20:07 GMT
It is friday all over again. Time to find out what to do in the weekend. Have you ran out of people to add as friends on facebook or businesspartners to add to LinkedIN? Then you should use the weekend to start getting closer to the enemy. You can do that on arsebook.org, the anti-social network where you can get in touch with all the people you hate.... Have a not so nice weekend everyone 
|
By morten.rokosz on Thu, 20 Sep 2007 20:13:58 GMT
Curious about iPhone? Read what the four big US players (competitors) think about Apples new hype. The iPhone Three Months In: What the Competition Thinks This is exactly why we should respect Apple. They are in a position that makes even the competitors without any other option than to play along with the media-hype. I would love to see an article were Cisco, Nortel, Avaya and Alcatel-Lucent all had to answer some questions about Swyxware! That would have been a national holiday in Swyxville 
|
By Martin on 20.09.2007 18:13
Yesterday a colleague needed to decode a Windows security descriptor stored in the registry as REG_BINARY. It defines security for a COM object. I've used Windows Powershell to help him:
PS>$binSD = (get-itemproperty hklm:\software\Microsoft\Ole).DefaultLaunchPermission
PS>$sd = new-object System.Security.AccessControl.RawSecurityDescriptor $binSD,0
PS>$sd
ControlFlags : DiscretionaryAclPresent, SelfRelativeOwner : S-1-5-32-544Group : S-1-5-32-544SystemAcl :DiscretionaryAcl : {System.Security.AccessControl.CommonAce, System.Security.AccessControl.Co mmonAce, System.Security.AccessControl.CommonAce}ResourceManagerControl : 0BinaryLength : 124
That looks not so bad, but the access control list was the interesting item. Use this:
PS>$sd.DiscretionaryAcl | format-table AceQualifier, AccessMask,@{ Label="SID"; Expression={$_.SecurityIdentifier.Translate("System.Security.Principal.NTAccount")} },IsInherited,... Read More » |
By Marcus Mucks on 18.09.2007 09:17
Der Dialog des Windows Installers "Update License Key" unterstützt leider kein "Copy and Paste" (MSDN - Windows Installer Guide - MaskedEdit Control). Startet man allerdings das SwyxWare Setup von der Kommandozeile, kann man dort den Lizenzschlüssel per "Copy and Paste" einfügen: setup.msi UPDATELICENSEKEY=Paste Key here Z.B. ein Update mit aktivierten Logging: C:\Documents and Settings\Administrator\Desktop>setup.msi /l*vx update.log UPDATELICENSEKEY=ABCDE-ABCDE-ABCDE-ABCDE
|
By Marcus Mucks on 18.09.2007 08:55
Nein, eine ermüdende Schilderung meines Lebens möchte ich hier niemanden antun. Sonst sperrt mir Tom den Blog, bevor mein erster Eintrag fertig ist ;-)Read More » |
By Martin on 17.09.2007 20:34
Today when I came home, all LEDs on my Fritzbox were off. Short test with a voltmeter showed that the AC-adapter is ok. Looks like the router itself is broken. No router = no wlan and no internet. I'm disconnected from the worldinternet.  Fortunately, I had my old router stored somewhere in a box in my basement. Took about an hour to find it, to connect and to configure it. Now I'm online again. 
|
By Tom Wellige on Sonntag, 16. September 2007 12:10
The other day a colleague of mine asked my for a favour to write a small function that strips the SIP URI from his caller list and redial list. At home he only uses SIP trunks to the outside world and therefore he always gets the SIP URIs into all lists.
Well, the result is the following piece of code that has to be copied into the gse script's Start block, and later on within the script, somewhere before the Connect To block you need to call the FixSIP function, best suited within a Insert Script Code block.
Feel free to use it where ever you like 
Sub FixSIP()
Dim sNumber
sNumber = StripNumberFromSipURI(PBXCall.CallingPartyNumber)
PBXCall.CallingPartyNumber = sNumber
PBXCall.PhoneCallListEntry.Number = sNumber
End Sub
Function StripNumberFromSipURI(ByVal sURI)
Dim sReturn
sReturn = sURI ... Read More » |
By Martin on 15.09.2007 21:56
Today, exactly 50 years ago, "Amok Time" the 5th episode of the second season of Star Trek, the original series (TOS) aired in the United States. In this episode Spock suffers from pon farr, a Vulcan mating urge. He dies when he does not return to Vulcan to marry his fiancé. The Enterprise traves to Vulcan, of course, to save Spock. Remarkable about this episode is the German version which aired in January 1974 on ZDF, the "Zweites Deutsches Fernsehen" (second german television channel). ZDF cut several scenes, changed the ordering and altered the dialog to avoid anything sexual. Spock just suffers from "Weltraumfieber" (space fever), as the epsiode was called. And Amok Time is the epsiode where Leonard Nimoy invents the famous vulcan greeting. Live long and prosper
|
By Tom Wellige on Freitag, 14. September 2007 13:42
As Morten already has opened the fun section for the upcoming weekend, let's celebrate it !
This is my contribution to it (Don't miss to watch BOTH movies!)
... Read More » |
By morten.rokosz on Fri, 14 Sep 2007 12:34:42 GMT
Time for this weeks friday blog-entry. Do you have around 28 000 dollar and nothing to use them on? Why not buy this computer keyboard? Xynergi SLK Keyboard It might work with SwyxIt! 
|
By morten.rokosz on Thu, 13 Sep 2007 13:03:15 GMT
I just read an interesting article by Ross O'Brien on the VON Magazine web-site about VoIP as a Hosted Service. You can read it here: Hosted VoIP for the Enterprise Working closely with TSP's in Norway it is quite clear that SMB is accepting the concept of voice as a hosted service. Hosted SwyxWare from Swyx is a good step to get Swyx technology into this market. At the moment we have a Beta-test site in Norway for Hosted SwyxWare and I must say that it looks really promising. I am really looking forward to see what kind of impact Swyx is able to do in this segment.
|
By Martin on 13.09.2007 12:34
SwyxWare v6.02 uses the standard Microsoft .Net tracing capabilities for newer components. Tracing is control via TraceSwitch objects which are set in the application configuration file, e.g.
system.diagnostics>
switches>
add name="CDSClient" value="1" />
add name="GC" value="1" />
add name="MT" value="1" />
add name="PERFM" value="1" />
add name="IpPbxSrv" value="4" />
add name="PPool" value="1" />
add name="Files" value="1" />
add name="FileCache" value="1" />
add name="Report" value="1" />
add name="WSE" value="1" />
add name="SCT" value="1" />
add name="ChngMgmt" value="4" />
add name="ChngMgmtUser" value="4" />
switches>
system.diagnostics>
I often have to change these settings on my development machine or on test systems. Instead of editing the file manually I use Windows Powershell:
[0] C:\
PS ADMIN> get-traceswitch "C:\Program Files (x86)\SwyxWare\IpPbxSrv.exe.config"
name value... Read More » |
By Tom Wellige on Donnerstag, 13. September 2007 08:04
Again I want to inform you about the latest news of the Kinderhilfe Afghanistan (Sorry, but both links are in german language available only). swyx-forum supports the Kinderhilfe Afghanistan. Read more about it here.
|
By Tom Wellige on Dienstag, 11. September 2007 13:20
This small movie shows what really happend to Darth Vader after his battle star was destroyed by the rebells. ► Episode IV.V
|
By Tom Wellige on Montag, 10. September 2007 21:42
Being already in the mood for some more good one's of Robin Williams I am pretty sure you will enjoy this very special version of "none-weapons-of.mass-destruction". This is definately one of the most brilliant ones ! http://www.youtube.com/watch?v=WL5qMobVS2U
|
By Tom Wellige on Montag, 10. September 2007 21:09
Ever wondered who invented Golf ? This game where a few people with sticks in their hands hit tiny balls and run all the day after their these balls. Well, my most favorite comedian, Robon Williams, tells the truth about this sport. Lean back and enjoy: http://www.youtube.com/watch?v=6X04wZpqx3U
|
By Martin on 09.09.2007 11:47
Recently I had an email discussion with somebody which left me wordless. It was about some security permissions required to run a piece of software. I mentioned that the default settings grant too many privileges thereby violating the principle of least privilege. Using fewer privileges would be possible without reducing the functionality or user experience. But the person simply didn’t care. I thought that after years and years of security vulnerabilities, all software developers would at least have a sense of the importantance of writing secure software. Am I too naïve in thinking so?
|
By Martin on 09.09.2007 11:38
Warning: Heavy technical content following 
On Friday I tried to build a piece of software which is usually maintained by a colleague who’s on vacation right now. During build a tool is called which always crashed with a SecurityException. The reason was easy to find. My system’s executable search path contained a folder residing on a server in our network and the tool was xsd.exe, a managed code program. Per default managed code running from a network share gets much less permissions than running from a local hard disk. The technology behind this in the Microsoft .NET framework is called Code Access Security (CAS). It’s one of the most interesting features of the framework and has no counterpart in the unmanaged... Read More » |
By Tom Wellige on Samstag, 8. September 2007 22:38
Too many DVDs, and CDs and not enough time to rewind? Are your DVDs running a bit too slow? The DVD rewinder is the perfect solution! This novelty rewinder comes with the exclusive Centriptal Velocity Spindle providing the world’s fastest DVD rewind!
The DVD Rewinder is a great gift for the technical savvy, the couch potato, teens with too much time on their hands, and the gadget buff! Novelty for you or gag gift for a friend.
The DVD Rewinder has a great black and fluorescent green color scheme with high tech styling! The DVD Rewinder will spin discs backwards and plays a “rewind” sound. You can also record your own “rewind” sound which provides unending possibilities. For the tech hip, the DVD Rewinder also has an additional MP3 port and plays a separate “rewind” sound. Rewind all types of disc media DVDs, CDs, and Console Games. But not just novelty, the DVD Rewinder has utility. It has a built in compartment that holds a disc cleaner. This compartment can be used to hold the cleaner, loose couch... Read More » |
By morten.rokosz on Fri, 07 Sep 2007 08:25:22 GMT
Let's get in the mood for the weekend! The weekend is all about laughs and fun, right? Some may have seen this video before, but it is funny every time, so I post it here. This is a tribute to all the Germans struggeling to learn a foreign language ;). Enjoy. Video on YouTube: German Coast Guard
|
By Martin on 05.09.2007 16:00
Process Explorer, IMHO the best task manager for Windows has been updated to v11.0. It now offers even more information than before. On Vista you now can see the I/O and memory priority*) of a process and if the executable has Address Space Layout Randomization enabled. And the TCP/IP Port display in the process properties is working now on Windows Vista, too. I especially missed that feature after switching from XP to Vista.
*)On Windows Vista I/O and memory access can have different priority, too. For example the search indexer (searchprotocolhost.exe, searchfilterhost.exe) use lower i/o and memory priorities to not disturb you. There's a great three-part article series in Technet... Read More » |
By Ralf on 04.09.2007 17:03
As one might know we have an exhibition centre here in Dortmund - so called "Westfalenhallen". And once a year there is an exhibition called "Hobbytronic". A lot of computer shops from Dortmund and most of bigger Online-shops for IT and electronics offer mostly remaining or outdated stock. And sometimes one can make a good deal of it. So it happend that a good friend of mine visited the "Hobbytronic" and gave me a call
"Hey - here's an good offer for a MSI barebone for socket 370 with a two slot PCI raiser!"
We already discussed howto build a cheap and small server for SwyxWare some time ago and this offer was the start! He bought two of the basrbones and started to implement the first homegrown SwyxWare. The barebone was a desktop PC with a so called LPX form factor. Very nice and tiny at 2001 when it first came out.
Here some information about it:
http://www.msi-computer.de/produkte/bare_idx_view.php?Prod_id=101
I already did some research on low power CPU and performance... Read More » |
By morten.rokosz on Mon, 03 Sep 2007 07:27:57 GMT
Remember my blog-entry about the infrastructure loss in Sweden? Well, friday last week, something similar happened here in Norway. South of Norway experienced some problems when a fiber-cabel owned by Telenor was damaged during some construction work. Some basestations for the GSM network and a network used by banks failed due to the damage. So what about resilience? For some reason it did not work even if it has been implemented. If you read norwegian you can read about it here: Kabelbrudd hos Telenor rammer Telemark
|
By Martin on 01.09.2007 09:23
Germany is one of the last european countries to ban smoking. And it's not one general law, but each of the 16 states ("Bundesländer") made it's own law and all are different. In addition there is a federal law which bans smoking from all federal buildings and public transport. The federal law came into effect today (September 1st, 2007), some state laws started a month ago, some will take longer.
In North Rhine-Westphalia (NRW) the "non-smoker protection law" (Nichtraucherschutzgesetz) will be in effect on January 1st, 2008. It forbids smoking in all public buildings, schools, hospitals, pubs, restaurants, public transports and recreation facilites. However, there are some exceptions, one of them allows smoking in "private smoking clubs" and I've already seen a sign at a small pub saying "From 1.1.2008 smoking club". But I doubt that this is an easy way out, and not many pubs will go this route. Most of them will probably see no or positive effects on their revenue, as in other european countries.
... Read More » |