Getting phone numbers from Packet8's DTA-310

Since I’ve moved, my roommates have often destroyed the telephone to the point that I don’t want to search for it.

Let’s be honest – who wants to pound on someone else’s door, and perhaps, just perhaps peer through dirty undies to find the phone?

Not me.

This is a good reason to find out who might be calling BEFORE you go searching for it.

Enter the DTA-310. It’s Packet8’s answer to VoIP. It is outdated, and no longer available, but it offers a decent connection, at not too much bandwidth.

As you’ll see above, I opted to parse the ‘latest ten’ call log of my machine.

The DTA-310 returns it’s data entirely in JavaScript, for no specific reason, so I cheated by making a small parser which dumps the data into temporary array to properly format it’s data as I wished.

If you want the awful code, feel free to contact me for it; this “throwaway” is usable, but not worth documenting.