[Freeswitch-users] FW: [ERR] sofia_reg.c:1914 NO CONTACT!

Anthony Minessale anthony.minessale at gmail.com
Thu Mar 21 22:06:12 MSK 2013


It should default to the behavior where it accepts no contact and the param
should be set only to disable it.
That is how it has been typically.


On Thu, Mar 21, 2013 at 10:25 AM, bulk orok <bulkorok at outlook.com> wrote:

> Hi Mike,
>
> I think this is the issue from where the option was intended:
>
> http://jira.freeswitch.org/browse/FS-2875
>
>
> ------------------------------
> From: bulkorok at outlook.com
> To: freeswitch-users at lists.freeswitch.org
> Date: Thu, 21 Mar 2013 15:03:26 +0100
>
> Subject: Re: [Freeswitch-users] FW: [ERR] sofia_reg.c:1914 NO CONTACT!
>
> Thanks Mike,
>
> this is stopping flooding my logs :-)
>
> regards Benjamin
>
> ------------------------------
> From: mike at jerris.com
> Date: Thu, 21 Mar 2013 09:07:22 -0400
> To: freeswitch-users at lists.freeswitch.org
> CC: anthm at freeswitch.org
> Subject: Re: [Freeswitch-users] FW: [ERR] sofia_reg.c:1914 NO CONTACT!
>
> a reg without a contact is trying to lookup what is already regged.  If
> you want to turn on this, add sofia param
>
> reg-deny-binding-fetch-and-no-lookup=false
>
> 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?
>
> Mike
>
>
> On Mar 21, 2013, at 8:30 AM, bulk orok <bulkorok at outlook.com> wrote:
>
> Hi,
>
> 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
> The requesting side is sending a second REGISTER with Contact then and it
> registeres.
> Some "AVM FritzBox" hardware-boxes send such a REGISTER.
>
> Here a (cleaned) SIP-Trace
>
>    ------------------------------------------------------------------------
> recv 620 bytes from udp/[1.2.3.4]:5060 at 11:01:06.214597:
>    ------------------------------------------------------------------------
>    REGISTER sip:sipproxy.somebusiness.com SIP/2.0
>    Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK4F974DA26FBE794A
>    From: <sip:user.user2 at sipproxy.somebusiness.com>;tag=3665871555
>    To: <sip:user.user2 at sipproxy.somebusiness.com>
>    Call-ID: 9BB803703627C9DF at 1.2.3.4
>    CSeq: 2078 REGISTER
>    Max-Forwards: 70
>    User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)
>    Supported: 100rel,replaces
>    Allow-Events: telephone-event,refer,reg
>    Allow:
> INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
>    Accept: application/sdp, multipart/mixed
>    Accept-Encoding: identity
>    Content-Length: 0
>
>    ------------------------------------------------------------------------
> *2013-03-21 12:01:06.214194 [ERR] sofia_reg.c:1914 NO CONTACT! ip:
> 1.2.3.4, port: 5060*
> send 322 bytes to udp/[1.2.3.4]:5060 at 11:01:06.214998:
>    ------------------------------------------------------------------------
>    SIP/2.0 500 Internal Server Error
>    Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK4F974DA26FBE794A
>    From: <sip:user.user2 at sipproxy.somebusiness.com>;tag=3665871555
>    To: <sip:user.user2 at sipproxy.somebusiness.com>;tag=cFDNr9NQa5g9m
>    Call-ID: 9BB803703627C9DF at 1.2.3.4
>    CSeq: 2078 REGISTER
>    Content-Length: 0
>
>    ------------------------------------------------------------------------
> recv 715 bytes from udp/[1.2.3.4]:5060 at 11:01:06.252877:
>    ------------------------------------------------------------------------
>    REGISTER sip:sipproxy.somebusiness.com SIP/2.0
>    Via: SIP/2.0/UDP 1.2.3.4:5060;rport;branch=z9hG4bK394B9487FAFBC468
>    From: <sip:user.user2 at sipproxy.somebusiness.com>;tag=3665871555
>    To: <sip:user.user2 at sipproxy.somebusiness.com>
>    Call-ID: 9BB803703627C9DF at 1.2.3.4
>    CSeq: 2079 REGISTER
>    Contact: <sip:user.user2 at 1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0>
>    Max-Forwards: 70
>    Expires: 1800
>    User-Agent: AVM FRITZ!Box Fon WLAN 7390 84.05.50 (Dec 11 2012)
>    Supported: 100rel,replaces
>    Allow-Events: telephone-event,refer,reg
>    Allow:
> INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
>    Accept: application/sdp, multipart/mixed
>    Accept-Encoding: identity
>    Content-Length: 0
>
>    ------------------------------------------------------------------------
> send 595 bytes to udp/[1.2.3.4]:5060 at 11:01:06.265145:
>    ------------------------------------------------------------------------
>    SIP/2.0 200 OK
>    Via: SIP/2.0/UDP 1.2.3.4:5060;rport=5060;branch=z9hG4bK394B9487FAFBC468
>    From: <sip:user.user2 at sipproxy.somebusiness.com>;tag=3665871555
>    To: <sip:user.user2 at sipproxy.somebusiness.com>;tag=Dr6Dt46t7D7Ug
>    Call-ID: 9BB803703627C9DF at 1.2.3.4
>    CSeq: 2079 REGISTER
>    Contact: <sip:user.user2 at 1.2.3.4;uniq=77F5786DCDB3B0B3999878F7FB4C0
> >;expires=1800
>    Date: Thu, 21 Mar 2013 11:01:06 GMT
>    User-Agent: SIP-SERVER
>    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY
>    Supported: timer, precondition, path, replaces
>    Content-Length: 0
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.org
> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel
> Communication Server  Official FreeSWITCH Sites
> http://www.freeswitch.org http://wiki.freeswitch.org
> http://www.cluecon.com FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.org
> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel
> Communication Server  Official FreeSWITCH Sites
> http://www.freeswitch.org http://wiki.freeswitch.org
> http://www.cluecon.com FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130321/3d436eee/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list