Jacken’s Blog

Asterisk PBX

August 15th, 2005 · 2 Comments

Asterisk

So I’ve been busy for the last five days setting up my own Asterisk PBX. I’ve connected two different voIP lines to it. I have the X-Lite VoIP softphones installed on all the computers and a FSX device so I can use my normal wireless phone. And it’s really fun learning something new. First my wife though that I was crazy, “Who needs a telephone switchboard at home!?” But I think she’s coming around. Now she can sit at here computer using a headset and talk to her friends without holding the line. And it’s easy to transfer calls between all the phones in the apartment. It’s also nice to have a digital answering machine and get the messages mailed to you. The added benefit of multiple lines on the same phone number and that it doesn’t cost anything to dial a phone in Sweden is an added bonus.

The last two days I have worked on a Perl AGI module for Asterisk. When someone calls, the script looks up the name of the person or company calling on the internet and shows it on the phone display. It works now, but I’m about to start to add a database function to it so It saves the name/phone number in MySQL to minimize the load on the net and to get faster lookups. You can write the AGI in PHP, C or Perl so I decided that this was an excellent opportunity to learn Perl. It’s an amazing language for doing data mining. I will probably start using it now that I’m getting the hang of it.

It’s nice to see that there’s companies like Rix TeleCom. It’s one of my VoIP providers. And talk about great service. And they let their customers connect using an Asterisk server, they even have a forum for asterisk users on their web page. And a couple of their employees regularly answer technical questions on the forum. It’s nice to see a company that is “hacker” friendly. They’ll get my recommendation.

Tags: Asterisk PBX · Life and times of Jacken

2 responses so far ↓

  • 1 Sake Crnica // Nov 15, 2005 at 22:01

    Dear Sir,

    my friends and me learn how to use Asterisk at the moment. We have connected two x-lite phones and that worked fine. Ten minutes ago, I have achieved a call over PSTN into my LAN over the Fritz card and that worked also. I have seen your blog by some accident and I am very happy to find you. I find your blog very informative and interesting. I am an IT novice but a friend of mine knows perl well. We want to implement in our lab the thing you have already achieved (caller recognition) and improve it a bit in a future. Since I could not see your email address on your site, I hope this message will reach you. We need some instructions about how to achieve the same in our lab. I mean how to fix it that CallerId gets recognized to let un/wanted calls trough or not by using perl and mysql and to let those who do not have a callerID for some reason to authenticate with DTMF pin.

    I hope very much to get some (honest)help from you. I promise we will later give you knowlege and support from expertise we are getting by our project.

    Please give me a reply ASAP so I can know this message has reached you.

    TIA and Cheers,

    Sake from Belgrade

Leave a Comment