<div dir="ltr">It should default to the behavior where it accepts no contact and the param should be set only to disable it.<div style>That is how it has been typically. </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 21, 2013 at 10:25 AM, bulk orok <span dir="ltr">&lt;<a href="mailto:bulkorok@outlook.com" target="_blank">bulkorok@outlook.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">Hi Mike,<br><br>I think this is the issue from where the option was intended:<br><br><a href="http://jira.freeswitch.org/browse/FS-2875" target="_blank">http://jira.freeswitch.org/browse/FS-2875</a><br>
<br><br><div><div></div><hr>From: <a href="mailto:bulkorok@outlook.com" target="_blank">bulkorok@outlook.com</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Date: Thu, 21 Mar 2013 15:03:26 +0100<div><div class="h5"><br>Subject: Re: [Freeswitch-users] FW: [ERR] sofia_reg.c:1914 NO CONTACT!<br><br>


<div dir="ltr">Thanks Mike,<br><br>this is stopping flooding my logs :-)<br><br>regards Benjamin<br><br><div><div></div><hr>From: <a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a><br>Date: Thu, 21 Mar 2013 09:07:22 -0400<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>CC: <a href="mailto:anthm@freeswitch.org" target="_blank">anthm@freeswitch.org</a><br>Subject: Re: [Freeswitch-users] FW: [ERR] sofia_reg.c:1914 NO CONTACT!<br>
<br>a reg without a contact is trying to lookup what is already regged.  If you want to turn on this, add sofia param<div><br></div><div>reg-deny-binding-fetch-and-no-lookup=false</div><div><br></div><div>Tony-  The notes in the source on this are unclear if this is supposed to be on by default.  it defaults to true, but if you explicitly set it to true it brings up a deprecated warning (true means do not do lookup).  Do you remember what was intended?</div>
<div><br></div><div>Mike</div><div><br></div><div><br><div><div><div>On Mar 21, 2013, at 8:30 AM, bulk orok &lt;<a href="mailto:bulkorok@outlook.com" target="_blank">bulkorok@outlook.com</a>&gt; wrote:</div><br><blockquote>
<div style="font-size:12pt;font-family:Calibri;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<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 &quot;AVM FritzBox&quot; hardware-boxes send such a REGISTER.<br><br>Here a (cleaned) SIP-Trace<br><br>   ------------------------------------------------------------------------<br>recv 620 bytes from udp/[1.2.3.4]:5060 at 11:01:06.214597:<br>
   ------------------------------------------------------------------------<br>   REGISTER<span> </span><a>sip:sipproxy.somebusiness.com</a><span> </span>SIP/2.0<br>   Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK4F974DA26FBE794A<br>
   From: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=3665871555<br>   To: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;<br>   Call-ID: <a href="mailto:9BB803703627C9DF@1.2.3.4" target="_blank">9BB803703627C9DF@1.2.3.4</a><br>
   CSeq: 2078 REGISTER<br>   Max-Forwards: 70<br>   User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)<br>   Supported: 100rel,replaces<br>   Allow-Events: telephone-event,refer,reg<br>   Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH<br>
   Accept: application/sdp, multipart/mixed<br>   Accept-Encoding: identity<br>   Content-Length: 0<br><br>   ------------------------------------------------------------------------<br><b><font 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>   ------------------------------------------------------------------------<br>   SIP/2.0 500 Internal Server Error<br>   Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK4F974DA26FBE794A<br>
   From: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=3665871555<br>   To: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=cFDNr9NQa5g9m<br>   Call-ID: <a href="mailto:9BB803703627C9DF@1.2.3.4" target="_blank">9BB803703627C9DF@1.2.3.4</a><br>
   CSeq: 2078 REGISTER<br>   Content-Length: 0<br><br>   ------------------------------------------------------------------------<br>recv 715 bytes from udp/[1.2.3.4]:5060 at 11:01:06.252877:<br>   ------------------------------------------------------------------------<br>
   REGISTER<span> </span><a>sip:sipproxy.somebusiness.com</a><span> </span>SIP/2.0<br>   Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK394B9487FAFBC468<br>   From: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=3665871555<br>
   To: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;<br>   Call-ID: <a href="mailto:9BB803703627C9DF@1.2.3.4" target="_blank">9BB803703627C9DF@1.2.3.4</a><br>   CSeq: 2079 REGISTER<br>   Contact: &lt;<a>sip:user.user2@1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0</a>&gt;<br>
   Max-Forwards: 70<br>   Expires: 1800<br>   User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)<br>   Supported: 100rel,replaces<br>   Allow-Events: telephone-event,refer,reg<br>   Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH<br>
   Accept: application/sdp, multipart/mixed<br>   Accept-Encoding: identity<br>   Content-Length: 0<br><br>   ------------------------------------------------------------------------<br>send 595 bytes to udp/[1.2.3.4]:5060 at 11:01:06.265145:<br>
   ------------------------------------------------------------------------<br>   SIP/2.0 200 OK<br>   Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK394B9487FAFBC468<br>   From: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=3665871555<br>
   To: &lt;<a>sip:user.user2@sipproxy.somebusiness.com</a>&gt;;tag=Dr6Dt46t7D7Ug<br>   Call-ID: <a href="mailto:9BB803703627C9DF@1.2.3.4" target="_blank">9BB803703627C9DF@1.2.3.4</a><br>   CSeq: 2079 REGISTER<br>   Contact: &lt;<a>sip:user.user2@1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0</a>&gt;;expires=1800<br>
   Date: Thu, 21 Mar 2013 11:01:06 GMT<br>   User-Agent: SIP-SERVER<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>   Supported: timer, precondition, path, replaces<br>   Content-Length: 0<br>
<br></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div><br></div></div><br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div>                                               </div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>