[OpenSIPS-Users] SIP Registration Failure - 484 Address Incomplete

Mark Holloway mh at markholloway.com
Sun Jul 3 20:31:29 CEST 2011


I have OpenSIPS 1.6.4 configured as a SIP Registrar with mysql. It is configured to challenge SIP registrations with authentication.  Keeping it simple, I've used opensipsctl to add user 1000 with password 1000 and set the IP/SIP Domain of OpenSIPS is 192.168.1.20. I am attempting to register using Counterpath Bria 3.1 (Mac).  Bria sends the initial registration to OpenSIPS and it properly responds with a 401 Unauthorized, but after Bria responds to the 401 challenge OpenSIPS responds with 484 Address Incomplete.

Looking at the docs I noticed OpenSIPS will send 484 if the username is not in the Request-Line. For example, OpenSIPS wants 1000 at 192.168.1.20 but Bria sends 192.168.1.20. The way Bria registers, the username portion (1000 in this case) is only in the Contact, To, and From headers. The R-URI line does not include the username portion.  Has anyone else encountered this?


==
Bria's response to 401 challenge
==

Session Initiation Protocol
    Request-Line: REGISTER sip:192.168.1.20 SIP/2.0
        Method: REGISTER
        [Resent Packet: False]


       Contact: <sip:1000 at 192.168.1.116:62018;rinstance=3b31a8f560e5c3bc;transport=udp>
            Contact Binding: <sip:1000 at 192.168.1.116:62018;rinstance=3b31a8f560e5c3bc;transport=udp>
        To: "Mark"<sip:1000 at 192.168.1.20>
            SIP Display info: "Mark"
            SIP to address: sip:1000 at 192.168.1.20
        From: "Mark"<sip:1000 at 192.168.1.20>;tag=fbaf644d
            SIP Display info: "Mark"
            SIP from address: sip:1000 at 192.168.1.20
            SIP tag: fbaf644d


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110703/d8a106ed/attachment.htm>


More information about the Users mailing list