<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><div><div dir="ltr"><br>FreeSWITCH (Version 1.2.7 git 93e2a38) throws this error in the CLI when a REGISTER without CONTACT-header hits it. FS responds with 500 Internal Server Error<br>The requesting side is sending a second REGISTER with Contact then and it registeres.<br>Some "AVM FritzBox" hardware-boxes send such a REGISTER.<br><br>Here a (cleaned) SIP-Trace<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 620 bytes from udp/[1.2.3.4]:5060 at 11:01:06.214597:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; REGISTER sip:sipproxy.somebusiness.com SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK4F974DA26FBE794A<br>&nbsp;&nbsp; From: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=3665871555<br>&nbsp;&nbsp; To: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;<br>&nbsp;&nbsp; Call-ID: 9BB803703627C9DF@1.2.3.4<br>&nbsp;&nbsp; CSeq: 2078 REGISTER<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)<br>&nbsp;&nbsp; Supported: 100rel,replaces<br>&nbsp;&nbsp; Allow-Events: telephone-event,refer,reg<br>&nbsp;&nbsp; Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH<br>&nbsp;&nbsp; Accept: application/sdp, multipart/mixed<br>&nbsp;&nbsp; Accept-Encoding: identity<br>&nbsp;&nbsp; Content-Length: 0<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br><b><font style="" color="#AC193D">2013-03-21 12:01:06.214194 [ERR] sofia_reg.c:1914 NO CONTACT! ip: 1.2.3.4, port: 5060</font></b><br>send 322 bytes to udp/[1.2.3.4]:5060 at 11:01:06.214998:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 500 Internal Server Error<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK4F974DA26FBE794A<br>&nbsp;&nbsp; From: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=3665871555<br>&nbsp;&nbsp; To: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=cFDNr9NQa5g9m<br>&nbsp;&nbsp; Call-ID: 9BB803703627C9DF@1.2.3.4<br>&nbsp;&nbsp; CSeq: 2078 REGISTER<br>&nbsp;&nbsp; Content-Length: 0<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>recv 715 bytes from udp/[1.2.3.4]:5060 at 11:01:06.252877:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; REGISTER sip:sipproxy.somebusiness.com SIP/2.0<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK394B9487FAFBC468<br>&nbsp;&nbsp; From: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=3665871555<br>&nbsp;&nbsp; To: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;<br>&nbsp;&nbsp; Call-ID: 9BB803703627C9DF@1.2.3.4<br>&nbsp;&nbsp; CSeq: 2079 REGISTER<br>&nbsp;&nbsp; Contact: &lt;sip:user.user2@1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0&gt;<br>&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp; Expires: 1800<br>&nbsp;&nbsp; User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)<br>&nbsp;&nbsp; Supported: 100rel,replaces<br>&nbsp;&nbsp; Allow-Events: telephone-event,refer,reg<br>&nbsp;&nbsp; Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH<br>&nbsp;&nbsp; Accept: application/sdp, multipart/mixed<br>&nbsp;&nbsp; Accept-Encoding: identity<br>&nbsp;&nbsp; Content-Length: 0<br><br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>send 595 bytes to udp/[1.2.3.4]:5060 at 11:01:06.265145:<br>&nbsp;&nbsp; ------------------------------------------------------------------------<br>&nbsp;&nbsp; SIP/2.0 200 OK<br>&nbsp;&nbsp; Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK394B9487FAFBC468<br>&nbsp;&nbsp; From: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=3665871555<br>&nbsp;&nbsp; To: &lt;sip:user.user2@sipproxy.somebusiness.com&gt;;tag=Dr6Dt46t7D7Ug<br>&nbsp;&nbsp; Call-ID: 9BB803703627C9DF@1.2.3.4<br>&nbsp;&nbsp; CSeq: 2079 REGISTER<br>&nbsp;&nbsp; Contact: &lt;sip:user.user2@1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0&gt;;expires=1800<br>&nbsp;&nbsp; Date: Thu, 21 Mar 2013 11:01:06 GMT<br>&nbsp;&nbsp; User-Agent: SIP-SERVER<br>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>&nbsp;&nbsp; Supported: timer, precondition, path, replaces<br>&nbsp;&nbsp; Content-Length: 0<br><br>                                               </div></div>                                               </div></body>
</html>