Asterisk Cannot Register sip peer

I’ve built my own sip client but I am having trouble registering with asterisk. I set sip debugging on and I can see my registration request. It looks like this:

[quote]<— SIP read from UDP:10.2.0.53:40000 —>
REGISTER sip:10.2.3.18:5060 SIP/2.0
Call-ID: b3418a9309d5754d7e92f16d968f8392@10.2.0.53
CSeq: 1 REGISTER
From: “Sam Bengtson” sip:sambengtson@10.2.0.53
To: sip:sambengtson@10.2.3.18
Via: SIP/2.0/UDP 10.2.0.53:40000;branch=b3418a9309d5754d7e92f16d968f8392-10.2.0.53-1-register-10.2.0.53-40000333234
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Expires: 120
Supported: replaces
User-Agent: Video Client
Contact: “Sam Bengtson” sip:sambengtson@10.2.0.53:40000
Content-Length: 0
[/quote]

Asterisk never sends a response back after receiving this initial packet. Can anybody see anything wrong with the formatting of this? Thanks

Do you have the trailing blank line. If yes, you will need to use core set debug to get more detailed debugging.

Yes, I do have the trailing blank line and I have debugging on. But unfortunately, I’m not seeing anything unusual other than asterisk not sending a response after receiving the packet.

Cha-ching just figured it out! I needed a ;tag= at the end of my From: and To: headers.