Major milestone

Last night I reached what I consider a major milestone with the Cobra.  I plugged the wiring harness’ back in after finishing the trimming.  It didn’t start on the first try but it did on the second!  Idled kind of rough but I suspect that’s because I didn’t tighten things down, like the battery terminals, and/or because I have a ground that I know I need to re-attach.  The important thing is that I didn’t remove anything I absolutely needed!

The wiring was a bit of a mental hurdle and I’m glad I’ve crested the hill with it.  I’m not done by any stretch, but I feel like I understand what most of the wiring is doing now.  At least from a fundamental sense.

Next up is hooking up the lights and making them work properly.  I’d like to verify that before I start tying the wiring into the car.  Easier to fix things while they’re draped over the frame.  I expect to have issues with the lights.

I’m excited about the possibility of actually having this thing on the road in a month or two.  It’s been a long time and I’m ready to drive it.

Wire diet, Part 2

I’m almost done with the wire diet.  I’ve trimmed out everything except about half of the dash harness.  That one’s taking a bit longer as I’m trying to be careful not to cut something important.  All of the harness were pretty simple with the exception of the dash.  The dash hasn’t been bad so far, just more questionable items.  It’s important to not cut wires that are actually bridged inside the plug!  I’ve already found one in the dash harness that I needed to remove and retain rather than chop it.

I hope to finish up the dash harness some time in the next couple of nights.  After that I’ll move the body back to the buck, lay in the harness and make sure everything starts.  At that point the fun begins as I can start routing everything and putting it in it’s final place.  I’ll also start on the dash at that point.

Working on the car again feels good.  Although parts of the wire diet have been challenging I can see my way through it.  I feel like it’s more in my repertoire.  I can see the light at the end of the tunnel…it’s still kinda dim but it’s there!

A@H new?

I usually enjoy Andy Abrahmson’s writing but come on Andy…this post makes it sound like Asterisk@Home is somthing new. As anyone reading my blog could tell, it’s been around for quite a while. And I didn’t even get into it until it was close to a 1.0 release. It’s up to 2.7 now!

As I read somewhere else, Asterisk@Home really doesn’t have much to do with “home” anymore, it’s more like Asterisk+. It’s Asterisk with a bunch of good programs bundled together and, mostly, working well together. There are even graphics to change it to Asterisk@Work if you’re hung up on such a thing.

Andy, please tell me I’m reading it wrong and you didn’t just stumble upon this!

Cisco router with FXO as an Asterisk gateway

It occured to me that I never wrote up how I managed to get Asterisk working with my Cisco 1760 as an FXO gateway. So, here it is:

I have a Cisco 1760 that began it’s life as a CallManager Express (CME). After a while I transitioned it to an MGCP gateway for CM 4.1 and then just a SIP gateway for the same CM4.1 See, CallerID didn’t work for my VIC with MGCP, but it worked with SIP. Now the router is a SIP gateway for Asterisk, which is my primary system. Verizon comes into the FXO on the router and then is trunked via SIP to Asterisk. So…on to the configs. Here’s the important part of the router config:

!
voice rtp send-recv
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
!
!
voice-port 0/0
timing hookflash-out 50
connection plar 401
caller-id enable
!
dial-peer voice 8 pots
destination-pattern 8.T
port 0/0
!
dial-peer voice 400 voip
destination-pattern 4..
session protocol sipv2
session target ipv4:192.168.x.x:5060
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
sip-ua
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
sip-server ipv4:192.168.x.x
!
!
telephony-service
fxo hook-flash
max-conferences 4 gain -6
transfer-system full-blind
transfer-pattern ….

I’m quite certain all of that is not necessary but it works, so I’ll leave it alone.

Here’s the config in AMP. I got this working through the raw config files but wanted to figure it out in AMP. If you’re going to use A@H and AMP it’s best to get it working through AMP. AMP has a nice habit of writing over certain files because it know’s it correct! Anyway, here’s the config for the SIP trunk:

Outbound caller-id: Set to your PSTN number (although I don’t think it matters)
Max Channels: Set to 2 but I think it should probably be 1
Dial Rules: Whatever’s appropriate for you situation
Outgoing Settings: trunk name should be something meaningful
allow=ulaw
context=from-pstn
disallow=all
dtmfmode=rfc2833
host=192.168.x.x
insecure=very
ipaddr=192.168.x.x
type=peer

Replace x.x with the address of the router. Make sure to add the insecure=very! I can’t tell you how important that is. I went round and round before stumbling across that. The partial tutorials on the intarweb don’t specify that. From what I can understand you need this because there’s no means of authenticating the SIP session with the router, aside from the source IP address.

Leave everything else blank. Don’t forget to add your outbound routing dial patterns.

That’s it. If someone has a comment please email me or leave it in the comments here.

Diet!

Amazingly enough, this is not a post about how I plan on working on the cobra soon.  I’ve actually worked on it this time!  Over the weekend I tagged and removed all of the wiring, moved the body back onto the frame, set up a 4×8 sheet of plywood as a table and started stripping the front harness.

Also drove down to Stephen’s to pick up some wiring diagrams he had.  I’m not completely oriented yet, but I’m starting to understand it better.

This seems like a part I can really wrap my head around.  I’m looking forward to stripping out what I don’t need and cleaning it up real nice.  I’ll have to be careful to be methodical, but the end result should be a much cleaner, more straight forward harness.

Just with the front headlight harness I’ll be removing the fog lamps.  I was considering reusing that wire for the fan but I think I’m going to get a thermostat instead.  I’m all about eliminating failure points, such as me forgetting to flip the fan switch on because I didn’t notice the gauge reading hot!

I’ve got a lot of little things to figure out, such as where to put the battery cut off, but I’m looking forward to it.

With the weather the way it is, I’m excited about getting this thing done.  Nothing like a couple of 70+ days to make it painful to look at it sitting in the garage.

Peanuts and beer

I have memories of Memorial Stadium in the summer, growing up.  I can remember sitting on the 3rd base line, about 20, maybe 30 rows up from the dugout.  Almost all of the times it was with my Dad.  He’d score the game and I’m sure I nagged him for food regularly.  I remember seeing Mike Schmidt play 3rd and thinking “there’s a name I recognize”.  I think I can remember Earl Weaver running up out of the dugout more than once.

After I grew up a bit I remember listening to the games on my way home from work.  John Miller on WBAL.  What a voice.  His voice helped me understand when people tell stories of sitting around a radio and listening to announcers of old call the games.  He could put you there.

Tom Bridge’s account of his youth put me in the mood.

Spring is finally coming to town.  It’s supposed to get up to the 60’s today.  A bit overcast, but I’ll take it.  Just makes me think of baseball.  I love watching baseball.  I love the game.  I’m not into the stats the way some are, but it’s still left a mark on my soul.  There are many who don’t feel that way these days and it’s unfortunate.  They don’t like the players, and in some regards I can’t blame them.  For me, it’s not about the players.  I’m just as happy going to a minor league game.  It’s about the atmosphere of being in this place.  Paced…peanuts and beer…punctuated by moments of excitement.  For me, perfection.