Saturday, November 24, 2012

Tron

Saw Tron at the loft tonight in their new theater.

It's interesting, You can definitely tell it was a Garage in a prior life.

Seats feel smaller than usual.

Tron was awesome to watch on the big screen, I noticed several things I hadn't before.

Pacman

How Big Alan's glasses are.

Yori's butt.

A good night was had :)

Friday, November 23, 2012

Today is my 33rd Birthday and a great day.

I worked today altho we didnt have a lot to do at the office.

My coworker Joe took me out to lunch to the Canyons Crown which was nice as I had not been there in ages.

After work My friends the Rains family made me a delicious meal of Meatloaf, Mashed Potatoes and Gravy and a Abigail made me a Chocolate Cake from scratch which her sister Harmony frosted.

I was given a personalized bible and three pairs sweet boot socks.

Tuesday, August 21, 2012

Asterisk Call Recording Monitor() vs MixMonitor()

I'm rewriting some call recording code today.

Previously I used Monitor() Now I'm using MixMonitor()

My old code looked something like this:


exten => _nxxxxxx,1,Set(CALLFILENAME=/var/spool/asterisk/monitor/${CDR(accountcode)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _nxxxxxx,n,Set(MONITOR_EXEC_ARGS=${peeremail} ${EXTEN} ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _nxxxxxx,n,Set(MONITOR_EXEC=mymix)
exten => _nxxxxxx,n,Monitor(wav,${CALLFILENAME},m)

New code looks like:

exten => _nxxxxxx,1,Set(CALLFILENAME=/var/spool/asterisk/monitor/${CDR(accountcode)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}.wav)
exten => _nxxxxxx,n,MixMonitor(${CALLFILENAME}|b|/usr/sbin/wav2mp3 ${CALLFILENAME} ${peeremail} ${EXTEN} ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)} email)

Switching to MixMonitor saves me from having to manually mix the two call legs together with SOX before converting to MP3.

I was also having a problem with calls that were Parked, With Montior() the two call legs would be different lengths causing the final mp3 file I emailed to be a confusing as you would hear one party responding to the other parties yet unasked questions and then you would hear the question get asked by the second party.

Tuesday, August 14, 2012

Banana part 2.

OK, so it was a even worse idea to put the frozen banana in the fridge to thaw.

This morning I had a banana shaped balloon of liquid.

I threw it away, Didn't even try to open it.


Monday, August 13, 2012

Not so Smoothie

This morning I learned that using frozen fruit instead of ice in a Smoothie isn't just as simple as tossing a banana in the freezer for use the next day.

I've got a frozen unpeelable banana now. Guess I should have peeled and chopped up the Banana first.

Tuesday, August 07, 2012

Dusting off the old Blog.

I've decided to dust off my blog and start updating here again.

It was too much work to maintain my Wordpress installation and I've found I want to occasionally post something longer than what I would on Google Plus.