The rants and raves of a technogeek
Amazon EC2
Call Analytics – Beyond CDR analysis – Part I
Feb 22nd
“Oh, just get me the CDR‘s and I’ll take it from there” – how many times have I heard these words before? I can’t even imagine the number of times in the past 15 years of IT/Telecom’s work that I’ve done and in the last 8 years of Asterisk in particular – when it comes to billing and fraud management, it would appear that the CDR’s are the Rosetta Stone of the industry.
Over the past 6 months, several of my friends and I had been asking ourselves this question: “Is there more to billing, fraud management and profit leakage? does it really all begins and ends with the CDRs?” – so, here we were, a group of 3 engineers dealing with telecom system and billing systems – we knew that the answer is a definite YES, however, how come most companies and system aren’t even aware of this, in such a way that causes them to leak telecom profits and waste their hard earned profit margins on simple accidental mis-interpretation of CDR records.
So, we’ve decided to sit down and start analyzing calls in real-time, trying to evaluate not only the CDR record that is received upon the completion of the call – but also understand the traversal path of the call, analyzing it in real time and evaluating it profit leakage potential. At the mean time, we’re concentrating our work on Asterisk, as it is the simplest for us to implement – however, we’re not focusing it only on that – we’ll looking at adding it to FreeSwitch, Yate, OpenSer/Kamailio, OpenSIPS and the various varients.
So, what have we done so far? well, one thing we never really had with any of the existing systems was a clear view of what’s going on “right-now” on our systems, so we said: “it would really be great if we could know how many call hits we’ve received during the past 15, 30, 45 or 60 minutes” – so here is what we made:
The above image shows our top 10 inbound DID numbers, as you can see these are in the 972 and 447 country codes (yes, we work mainly in Israel and the UK). At the backend, our servers are analyzing the data in real time, generating an active alert in the case a DID number’s statistics change in a somewhat drastic change, thus, establish a traffic anomaly. Another thing that interested us was our usage across multiple servers, which we are exhibiting in the below graph:
Now, as you can see, the top graph shows a discrete anomaly:
This anomaly indicates something went wrong on all our servers between 00:45 and 1:15, which gives us a fairly discrete period of time to seek for a problem in the system. What happened was that one of the guys updated a portion of the data traversal API – basically deleting it
[we resumed full work after about 40 minutes].
So, where is it all going to? well simple, a new Open Source based service that we’ll be launching within a few months from now. Our intention is to provide a means for simple, straight forward, highly reliable, call analytics, fraud management and profit leakage analysis service. A service which is based upon a simple to use API on one hand and Open Source based data gathering agents. Our belief is that by analyzing large amounts of data, from multiple sources around the world, we’ll be able to ascertain the fingerprint of a telecom bound attack – being able to alert the respective users of the service and maybe in the later future, also provide a means to block the attack as it advances across the world.
I’ll be updating about our advancement as we go along, but for the time being, this is something I felt would interest you.
Astricon 2009 – Glendale, AZ – Part II
Oct 15th
Ok, it’s day 1 (or actually day 2) for AstriCon 2009 – and here’s my report for the day.
Yesterday was kind’a of a hectic day for me, as I was teaching a full day track of Asterisk and Cloud Computing, specifically, implementing Asterisk systems with Amazon EC2. I started the day with a class filled with 20+ people, and ended the day with a similar number – so in general I’m very happy. Not many people tend to attend the pre-conference days, so having that number of people and their positive reactions through out the day were very reassuring to me.
If there is one thing I’ve learned from this experience, it is the following: If you give a full day track, don’t arrive at the hotel 24 hours prior to it – you need at least 48 hours! People didn’t really notice (I hope), but through out the day I was suffering from a splitting headache – one that would usually send me right into bed with a couple of Advil’s. But hey, that didn’t stop me and I powered through it, I’m fairly proud of myself for doing so – as at the end of the day I regained back my strength and was livelier.
Today was the first official day of the conference – I gave the opening talk for the Cloud Computing track of the day. My talk was about how to build “IP Centrex” like services, without building an “IP Centrex”. I guess that I didn’t really introduce a brand new concept, but actually talked about something that many are thinking about, but are not inclined to try it on their own and burn some cash on. I guess my talk helped them out saying: “Hey, we’re not talking out of our asses here, this guy makes some sense and what we thought of isn’t that far fetched”.
Previous to that, Digium announced the 2009 Digium innovation award winners, where my company won an award in the pioneer category. This is the second year in a row my company had won the award, and I’m really happy with being acknowledged for this specific work. Having being a part of the community for over 7 years now, this award, at least to me personally, says a lot – it’s basically saying: “Look, you’ve done good, you’ve done some work that really helps out the project and the community in general – here’s a beer and a toast to you – hip hip” – well, that’s kind’a of a mouth full, but you get what I mean. I think that this is actually the place to mention that the award was for developing a high-powered Dialer/IVR platform, used in the Israeli elections and the work was contracted for a company called Shtrudel.
The all conference party is tonight – so I better rest up and be ready for it – should be fun. I guess beer and food are always a good mix when a bunch geeks are getting together
Astricon 2009 – Glendale, AZ – Part I
Oct 13th
Well, as some of you know, I’ll be speaking at this week’s AstriCon convention, being held in Glendale, AZ. I guess that in normal days I wouldn’t be starting to write about it prior to the actual convention, however, this time I decided to write about it earlier. I guess the title of this post can be changed to: Tosche Mark Spencer.
In order to understand what I’m talking about, we need to take a trip down memory lane, to be more exact – 2.5 years back memory lane.
Date: January 2007, Location: Tel-Aviv, Israel. Mark Spencer along side with Schuyler Deerman of Digium are on their way for their first time visit to Israel. Both of them are flying to Israel together after spending their Christmas holidays in the Middle East, mainly Egypt. Back at that time, I used to work for a company called Atelis – we were the Digium Israeli distributor. To make a long story short, Mark and Schuyler got held up at the airport for almost 4 hours, by Israeli security. The only thing that helped was for me to call my brother in-law, back then at the NY Israeli consulate, to try and find out what happend to both of them. Aparently, they were held up for questioning – without notifying anybody on the outside – who were waiting for them – what is going on.
Fast forward…
Date: October 2009, Location: Philadelphia, USA. I’m being held for a seconday inspection and the immigration control at the US border. The funny thing is, this is not my first trip to the US this year – I was here last February. The immigration officer looks at me and decideds that I’m a candidate for an illegal worker for some reason. Maybe the fact that I came in on an e-Ticket and didn’t have my itenirary printed throw him off, maybe the fact that I looked somewhat young to him, or maybe the fact that I’m continuing to Phoenix flagged me – I don’t know, in any case,
I’m now being held in secondary inspection, while I have only 50 minutes to get to my connecting flight – talk about turning up the heat. So, here I am, infront of this immigration officer, who I had to admit does his best to be polite and correct about the way he does his job. I gotta hand it to these guys, I guess they come across some of the worst scums in the world, and yet, they are able to sustain a professional and polite manner at all times – brava. Any way, he starts questioning me about my travel to the US, who paid for it, where am I going, where do I work, etc, etc. So, I
start explaining to him what AstriCon is, giving the guy the 5 minute “Asterisk is” introduction, and for some reason, it doesn’t really cut it with him. So, I decide to pull out the ultimate weapon – The Internet. I ask him if he’s able to logon to www.astricon.net and see that my picture is on the website. He looks the site up and indeed my picture is on there. The guy is now convinced that I’m here to lecture and nothing more – thank god. I get my passport back, pick up my stuff and run like the wind to my connecting flight – getting to it right before they close the boarding doors.
So, although I didn’t get the same 4th degree Mark/Schuyler did, I understand what they must have felt like in there. I guess it could have been worse, another guy that was in there with me got deported back to where he came in from (don’t know where that was) – not a very pleasent scenario.
Points for travelers
- You’re coming to the USA, have your itenirary printed and ready
- Have you flight invoices printed and hotel reservations printed – it may be required
- If you are staying with friends, not at a hotel – state that when asked, don’t hide it.
- If you had memorized your answers, these guys will pick up on it really easy – they know their job.
- If you are lecturing in a convention or tradeshow, make sure you can point the officer to an online mention of your talk – this helps smooth things faster.
Tomorrow’s update – AstriCon Cloud Computing class
A baby, a house and a full time job
Jul 19th
For those of you who know personally, you probably already know that last month I became a father. I guess the transition is something that I was more or less ready for, at least on the technical terms of the transition. However, the thing that completely surprised me was the mental transition – which isn’t even related to the somewhat lack of sleep here and there.
So, here I am, about a month and half away into the final touches to our new home, spending the weekend deploying over 100 meters of CAT-5 cabling in the house – yes the house is network rigged to the teeth. I’m sitting in my daughters room, clamping away the wall sockets for the network, thinking to myself: “hmmmm…. will Nitzan need a single network connection? or should I put at least two for future usage? … hmmmm…. well, I guess time would tell”. In any case, so there I was, spending most of my weekend being my own geeky self, thinking about wiring, networking, wireless exposures, access points, etc. I then go back home, and suddenly, all that disappears the minute I put Nitzan on my shoulder to burp her. It’s really funny, but with her on my shoulder, I guess everything goes away for a few minutes. My brother-in-law informed the house that he caught me burping Nitzan, while sitting at my computer answering emails with the other hand – Ok, so I can’t stop being a geek all together.
In any case, here I am juggling the various aspects of being a father to a new born baby, attending to the various tasks required to final touches of the house (painters, cleaners, air cons, dry walls, etc) and of course, attending to my customers – some of which are completely ambivalent to the fact that I’m under a constant lack of sleep in the past month. Well, I guess in a couple of months Nitzan will start sleeping better, and would make life easier for both me and my wife; in the mean while, we take comfort with the sleep periods my wife gets during the day, so that I can work and cater to my customers, while she caters to Nitzan during the nights – and I have to be honest about this, when it comes to the baby, my wife is the closest thing to a Jedi Knight, her ability to stay focused and clam even when the Nitzan is screaming is amazing – I can’t always do it.
Ok, enough about the house and Nitzan, let’s go back to been geeks for a bit. As you can see on the right hand side of the blog, I’ll be speaking at the up-coming Astricon. I’ll be giving a talk about how to build “IP-Centrex” like installations, utilizing Asterisk and tools like VMWARE, XEN and OpenVZ. However, while my talk may be interesting to you (I hope), my pre-conference tutorial will be much more interesting. I’ll be giving a full day tutorial, teaching people how to install Asterisk in a clouded environment (cloud computing), mainly the Amazon EC2 cloud computing infrastructure. For those of you reading this blog, you may have noticed that I’ve developed a distinct interest in the Amazon EC2 cloud, which I’ve written about several times and also lectured about at Amoocon. While my Amoocon presentation was mainly informational, at Astricon I’ll be primarily teaching you how to do what I did. Well, I won’t be teaching you the inner workings of the GreenfieldTech IVR API framework, although, if you’re gonna ask questions I will answer (especially if you ask the question 3 times, I can’t stand it when people ask the same question 3 times – I just have to answer it – nudge nudge).
Ok, back to fatherhood and Nitzan stuff. The mental transition that I was referring to before is something that I felt last night in its most force. My wife and I decided to go to one of the malls, not far away from our house. So, we entrusted Nitzan with my in-laws and drove to the mall. The mall I’m referring to is called “The seven stars mall” and we like it. It’s not a big mall, but its got this shop called DOMO, that carries these high class cooking ware (my wife and I really like to cook – my chilli con-carne is well known). So, here we were walking the mall, after I ordered a pair of shoes that I needed. So, my wife comments: “You know something, let’s see if there is some sale at Super-Pharm.” – and then we ended up purchasing baby formula, pacifiers and baby wipes. I then asked my wife if she maybe wants to walk into DOMO, but we both didn’t really think about it – suddenly, something that was like a default prior to Nitzan is no longer a default – interesting isn’t it?
In any case, this is how my life looks like at this point in time – and I have to admit that I kind’a like it. Sure, I don’t get as much sleep as I got before, but hey, I’m happy with it – so I just keep on smiling and go on forward.
Asterisk and Amazon EC2 – Amoocon Presentation
May 14th
I recently gave a presentation at the Amoocon convention, held in Rostock, Germany – about Asterisk and Amazon EC2. Below is a medium quality video of that presentation:
or you may download it here:
Amazon EC2 and Asterisk video files

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=48389df4-cfc0-4a29-999f-bd64ebfa9a06)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=3e059ca7-4f5b-4284-8e33-9013e7224e35)




Picasa
Twitter
Facebook
LinkedIn
Youtube
RSS