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.
|