[SIPForum-discussion] Incorrect register request

Andrew Yu andrew at asiatel.com.sg
Thu Jun 14 12:56:14 UTC 2007


Dear Members,

I need your kind assistance to point out in what way this UAC is sending 
register request in violation of RFC3261 requirements. This UAC is using 
opensipstack 1.1.6.134.

Here's what I've identified for violations:

   1. CSeq is always 3
   2. Max-Forwards should be 70
   3. Branch-IDs in Via is not always unique, and it has been reused in
      previous register requests. (Is it alright to reuse branch-id from
      previous register request?)

User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request-Line: REGISTER sip:sip.abc.com SIP/2.0
        Method: REGISTER
    Message Header
        From: 12345678 
<sip:12345678 at proxy.abc.com>;tag=3bf8e618e8f818109f1eafec866a1c9f
        To: sip:12345678 at proxy.abc.com
        Via: SIP/2.0/UDP 
192.168.1.250:5060;iid=4033;branch=z9hG4bK3bf8e618e8f818109f1fafec866a1c9f;uas-addr=sip.abc.com;rport
        CSeq: 3 REGISTER
        Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
        Contact: "12345678" <sip:12345678 at 192.168.1.250:5060;transport=udp>
        User-Agent: OpenSIPStack-1.1.6-134
        Expires: 60
        Max-Forwards: 10
        Authorization: Digest username="12345678", realm="ABC-SIP", 
nonce="a0a60cf1077568e0e0cc5bfb7e15434a87bbc5f5", uri="sip:sip.abc.com", 
response="399329b9b96fec0dd29e87ef13035270", algorithm=MD5
        Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS
        Content-Length: 0

User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request-Line: REGISTER sip:sip.abc.com SIP/2.0
        Method: REGISTER
    Message Header
        From: 12345678 
<sip:12345678 at proxy.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
        To: sip:12345678 at proxy.abc.com
        Via: SIP/2.0/UDP 
192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f;uas-addr=sip.abc.com;rport
        CSeq: 3 REGISTER
        Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
        Contact: "12345678" <sip:12345678 at 192.168.1.250:5060;transport=udp>
        User-Agent: OpenSIPStack-1.1.6-134
        Expires: 60
        Max-Forwards: 10
        Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS
        Content-Length: 0

User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
Session Initiation Protocol
    Request-Line: REGISTER sip:sip.abc.com SIP/2.0
        Method: REGISTER
    Message Header
        From: 12345678 
<sip:12345678 at proxy.smtelsip.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
        To: sip:12345678 at proxy.smtelsip.com
        Via: SIP/2.0/UDP 
192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f;uas-addr=sip.abc.com;rport
        CSeq: 3 REGISTER
        Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
        Contact: "12345678" <sip:12345678 at 192.168.1.250:5060;transport=udp>
        User-Agent: OpenSIPStack-1.1.6-134
        Expires: 60
        Max-Forwards: 10
        Allow: INVITE, BYE, ACK, REFER, MESSAGE, INFO, NOTIFY, OPTIONS
        Content-Length: 0

-- 
Cheers,

Asiatel Singapore Pte Ltd
Andrew Yu

19 Jalan Kilang Barat
#06-01, Acetech Centre
Singapore 159361

Tel: +65 6271 8233
Fax: +65 6274 4266




More information about the discussion mailing list