Asterisk problems

A couple of months ago I upgraded my trixbox to 2.2. I now had the problem that when I called out or someone called in, as soon as the other party answered the call was disconnected. While tracing asterisk with the -gccc option I didn’t find any trace of errors. Today I finally got 10 minutes to spare and got reminded that this feature wasn’t working.

After tracing with -gcc and also the asterisk system log file I got this error message :


Unable to find a codec translation path from g729 to ulaw

After googling it , I was reminded that g729 was actually not installed by default and that you needed to purchase it. So in my config I removed that codecs from my allowed entries. After testing it a couple of times it now seems to work again. So back to happy asterisking ๐Ÿ™‚

Reason why I got reminded was that a friend asked what this new Oracle product was, he said it was something like Asterisk. So after checking it out, it seems to be more like a full Communication Server (like the Windows product). But then again, there is probably also an Asterisk version where you can have video conferencing,… (the integration with SugarCRM is already available …)

Wii multitouch

When I was checking my rss feeds, I came across the following post. This is really amazing. I’ve seen some cool things that people did with the Nintendo wii, but this beats everything. Everyone who is a bit of a technology freak should really see this.

Now I’m really sure I’m gonna buy a Nintendo wii. Maybe schools should investigate this as well as it probably is much cheaper than those smart boards.

Update
Thnx sch3lp
seems my link is timing he supplied me with the youtube vide over here

32bits with 8 gig RAM

I was installing a new server with 8 gig RAM. (I’ll be using it as a vm box) After installation I did free and noticed that only 3.3 gig of physical RAM was found, hmm very strange. After talking to Bert he gave me a nice command I never heared off (dmidecode) . This gives you all kinds of hardware information. I was always using cat /proc/meminfo and free for my memory.

dmidecode displayed 2 x 2 gig. Hmm even odd, checked the invoice but it said 2 x 4 gig. They told me that it could be because I installed a 32 bit Linux. But I remembered reading in the Kernel book that Linux 32 bit could handle more. They had built something called HIGHMEM. But it seems that either the PAE or the HIGHMEM feature aren’t enabled by default. So after a reinstalling my box with a 64 bit Linux everything works fine.

Learned something again : if your box has more than 4 gig of memory, just choose 64 bit otherwise it’ll probably be wasted.

Silverlight session

A while ago, I went to a Silverlight session. For those who don’t know, Silverlight is a new product from Microsoft. You can compare it with Flash, difference is that the new version let’s you write your code in dotnet ๐Ÿ™‚

As they explained it, they told us the Silverlight runtime actually downloads the managed dll (assembly) and runs it. My first impression that I also tried to explain was that in a corporate environment, many firewalls will block exe,dll,… files. So how where they gonna solve this. I got the feeling nobody actually found this important. Am i the only one who finds it strange that my browser will try to download an run dll files ??? If I were Microsoft I would at least rename the extension to sli or something. Maybe you can do this yourself, haven’t looked into detail in the software.

Fedora 8

I just upgraded my Fedora 7 to Fedora 8. I didn’t notice to much difference. Okay the login screen looks much better ๐Ÿ™‚

However I did install Compiz-fusion. This is really amazing, MS and Apple still have a lot of catching up todo if you look at this. I followed the tutorial on the Howto site but I still have to run Compizmanager as a separate process. I really like the new features (flatten your desktop, group applications on a virtual plane,…)

My girlfriend is doing here internship at some schools. She demoed Ubuntu and Beryl. The day after she had to bring Ubuntu cd’s for all the kids in here class. My little saleswoman is doing great, don’t you agree?

Xml Xsl FOP

One of the ‘new’ features that was requested in our app was the forwarding of screens to email addresses. We discussed this and adding a simple pdf version of the screen as attachment to the mail was ok.
As at the moment our application isn’t xml based (just Html with custom Javascript,Dojo and DWR) I suggested to first ‘xmlize’ our messages and then convert this xml to a pdf. At previous customers I used Velocity for performing the Xml serialization. But before I suggested this solution I read up on Groovy as I had read somewhere that it has first class support for Xml. And indeed after checking it out. You have a simple MarkupBuilder object that handles a lot for you.


import groovy.xml.MarkupBuilder

def writer = new StringWriter()
def xml = new MarkupBuilder(writer)

xml.Blog(id:"${blog.id}",type:"${blog.type}"){
Content("${blog.content}"){}
}

output = writer.toString()

This small piece of code will generate the following Xml:



Just some content

As I installed the Groovy plugin in Eclipse I get errors when my Xml is false. Not bad at all.
The really nice thing about this is that you just initialize your Groovy engine in Java. You add your Java object (in my example blog) and you can use it as if it was a Groovy object. Then I return the output to my Java code.

Sweet!

As this generates Xml I used a simple Xsl stylesheet to generate an intermediate Xml. So all objects get transformed into this intermediate Xml. This xml gets transformed in to FOP xml and with the nice Apache FOP library I generate a simple pdf.

Another added value is that for changing my pdf or Xml I don’t have to restart my application, so no downtime!!

Dojo 1.0 + OCR

This week Dojo 1.0 was released. I already took a quick look at it, and it looks really nice. Big changes since the last version I used (0.4). The new grid is awesome, I really hope it will be easy to use but I’m pretty sure it will be. The guys from the Dojo community are really good programmers. I spent some timing digging through the code for a fix, I saw several things I didn’t even know were possible with Javascript ๐Ÿ™‚
I’ll come back on Dojo once I’ve got some real first hand experience with it, but it looks promising (and also much faster than previous releases)
I already found out that if you pass in a JSON store to your grid, your identifier better be unique or it won’t work (took me some time to figure that one out ๐Ÿ™‚ )

A couple of weeks ago We bought a All in one (scanner,fax,printer,copier). The nice thing about this device it let’s you scan 50 pages (document feeder) without having to put every page on the scanner window. That combined with the ability to scan to a networkdrive,email or ftp server makes this device the perfect solution for my administrative problem. My goal is to go to a paperless office but it will take some time until we get there.
Problem is the device scans the images straight to PDF. So text actually becomes an image, you can’t select it, search for text,… it’s not yet what I want. In my Ubuntu I searched for OCR and got some results witch I installed. Almost all of the tools let me scan for text in the PDF, when I saved the document I suddenly could search for text in the document. Still the selecting of text wasn’t possible. Philip told me that Google had a solution that let’s you convert these kind of documents to XHtml. I knew they were developing an OCR tool but didn’t know it would be able to do this kind of stuff. I tried to install it but I’m still missing some dependecies, I’ll try it later again.

Am I a trader ?

I’m an IT geek with a real affection for FLOSS, but I’m not anti not-FLOSS (hmmm, weird sentence ๐Ÿ™‚ ). I also use Microsoft on a daily base, Mac on a weekly base because my customers use it. At my company nearly all software is opensource, +90% of our operating systems are Linux.
I always try to push my customers to FLOSS software but in the end they decide what happens. I understand that some people see it black and white, but in my daily business live I’ve seen a lot of cases where opensource isn’t the best choice (yet). I would love to bring a product up to speed with the closed source competitors, but most of my customers don’t want to wait on that, so they choose a closed source product. We as IT people see that this is a bad choice in the ultimate end, but in the near future they need a solution and then the closed source is a better option.

So am I a trader? Hmm in my eyes not, but then again in some people there eyes I maybe am. Like the saying goes:
The truth is in the eye of the beholder ๐Ÿ™‚

the friendlyness of belgium banks

Yesterday my girlfriend and I went to the bank. We wanted to know how much we could loan to buy a house. In the weekends we are always in my birth-town and during the week we are in Leuven. So because it was weekend we scheduled an appointment with the bank in my birt-town. The day started badly as we couldn’t find a parking space, I had to drive 3 rounds before finding one. I already dropped my girlfriend off at the bank. When I entered the first thing the lady said was that our bank account wasn’t attached to the their office but to the office in Leuven. She mentioned this several times during the conversation.

She started explaining all kinds of stuff, things we actually didn’t need to know. We just wanted some figures to know in what kind of categoy we could start looking for houses. After an hour here next appointment showed up and we still didn’t have an answer, so I bluntly said, could you please just give us figure. At the moment we still don’t have one and that was the purpose of this meeting. So she made one for us. When she did, she saw that there was a lot of information missing on our bank account to give us an accurate figure. So she had to improvise a bit.

During the whole conversation she was unfriendly, simply because we weren’t attached to their office. I understand that they probably get funding according to the bank accounts attached, but you don’t have to be unfriendly. What I don’t understand is why she did this. Doesn’t she understand that it is thanks to people like us, who want to loan from there company that she gets paid? I go into a bank and want to get a loan, I’ll be paying 100.000 รขโ€šยฌ interests part of this money is here paycheck. Okay probably the bank in Leuven will get slightly more but then again thanks to here we won’t loan it at the bank we visited so neither will get the money. I really hate it that most flemish banks think they are almighty, because they are not. If I want I can close all my bank accounts and move to another bank. It’s a free market, remember?

In the end,my girlfriend and I decided we are going to move all our money from our current banks to another bank (maybe even a not Belgium bank).

Ubuntu gutsy + Google Calendar

This weekend I upgraded my main desktop from Feisty to Gutsy. It went pretty smooth I have to admit. Just click upgrade and it works as it supposed. I had installed the Ubuntu Studio theme and that got upgraded too. When my X came back up I was really amazed, I had to remember to close my jaw.
I really like the gray theme I have now. It’s much more clearer than the former one. (I could have switched to another one, but didn’t want too ๐Ÿ™‚ )

I also noticed they ditched Gaim and switched to Pidgin. I was using it already on my F7 and works perfect with my 2 hotmail,1 google and 1 jabber account ๐Ÿ˜›

Another thing I really like is that nautilus now has the Documents,Photos,… folders in the main opendialog-form.

I have to conclude it feels like another successful iteration of the Gnome desktop and Ubuntu distro!


On planet gnome I saw this article. In the feature list it states

รขโ‚ฌยข Viewing default calendar
รขโ‚ฌยข Creating/modifying/deleting the appointments

Hubba hubba, /me wants this for his desktop. I use Google Calendar all the time. My girlfriend even uses it. I still have to find a better Calendar web application! I even get notified by SMS.
At the moment I just import it as a read only calendar, so getting the other CUD features is … … SWEET