[SIPForum-discussion] Incorrect register request
Andrew Yu
andrew at asiatel.com.sg
Fri Jun 15 16:17:12 UTC 2007
Dear Members,
I'm appealing for more advices & comment on this issue that I'm facing.
Thank you.
--
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
Andrew Yu wrote:
> Hi Lun & Vivek,
>
> All these transmissions are send at different timing meaning that
> these are 3 separated requests, though the requests looks like resent.
> There are no response from the sip server and and finally 504 from the
> sbc to the UAC. Response from Ondo will have the server header, those
> responses without server header are from sbc.
>
> Here's what I've identified for RFC3261 violations:
>
> 1. CSeq is always 3
> 2. Max-Forwards should be 70, 10 is too simply short! I've not see
> any UAC sending 10 for max-forward, this can cause the packets to
> be unintentionally dropped.
> 3. Branch-IDs in Via is not always unique, and it has been reused in
> previous register requests. (Is it alright toreuse branch-id from
> previous register request?)
>
> For your comments & advice please for any unidentified RFC violations
> on my part.
>
> And as requested, the full capture of the 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=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: 2 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 2 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 2 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 401 Unauthorized
> Status-Code: 401
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>;tag=1181637698218-108102351
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 2 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> WWW-Authenticate: Digest
> realm="ABC-SIP",nonce="1f2d068b25fb75ab021e4ed6d34e56a987bbc5f5"
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> 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=3a4fc117e8f818109f1cafec866a1c9f
> To: sip:12345678 at proxy.abc.com
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK3a4fc117e8f818109f1dafec866a1c9f;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="1f2d068b25fb75ab021e4ed6d34e56a987bbc5f5",
> uri="sip:sip.abc.com", response="8c563dd4d6cd556ad3696616fa53891c",
> 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=3a4fc117e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK3a4fc117e8f818109f1dafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 200 OK
> Status-Code: 200
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=3a4fc117e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>;tag=1181637698359-777144072
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> Content-Length: 0
> Contact: <sip:12345678 at 220.255.131.59:57880>;expires=59;q=1.0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK3a4fc117e8f818109f1dafec866a1c9f
>
>
> 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
> Status-Line: SIP/2.0 200 OK
> Status-Code: 200
> Message Header
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f;uas-addr=sip.abc.com;rport
>
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Expires: 60
> Contact: "12345678"
> <sip:12345678 at 220.255.131.59:57880;transport=udp>
> 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
> Status-Line: SIP/2.0 200 OK
> Status-Code: 200
> Message Header
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f;uas-addr=sip.abc.com;rport
>
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Expires: 60
> Contact: "12345678"
> <sip:12345678 at 220.255.131.59:57880;transport=udp>
> 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 401 Unauthorized
> Status-Code: 401
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>;tag=1181637845812-299361820
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> WWW-Authenticate: Digest
> realm="ABC-SIP",nonce="d3aedb4f94b5767d4a8112c4bce1b76787bbc5f5"
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> 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=55c09d18e8f818109f1dafec866a1c9f
> To: sip:12345678 at proxy.abc.com
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK55c09d18e8f818109f1eafec866a1c9f;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="d3aedb4f94b5767d4a8112c4bce1b76787bbc5f5",
> uri="sip:sip.abc.com", response="2e56ae47e95e1c23c792899b93c3480c",
> 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=55c09d18e8f818109f1dafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK55c09d18e8f818109f1eafec866a1c9f
>
>
> 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 401 Unauthorized
> Status-Code: 401
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=e2ffc017e8f818109f1cafec866a1c9f
> To: <sip:12345678 at sip.abc.com>;tag=1181637895359-733449722
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Server: Brekeke OnDO SIP Server (rev.172)
> WWW-Authenticate: Digest
> realm="ABC-SIP",nonce="a0a60cf1077568e0e0cc5bfb7e15434a87bbc5f5"
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK170cc117e8f818109f1cafec866a1c9f
>
>
> 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
> Status-Line: SIP/2.0 100 Trying
> Status-Code: 100
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=3bf8e618e8f818109f1eafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK3bf8e618e8f818109f1fafec866a1c9f
>
>
> User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
> Session Initiation Protocol
> Status-Line: SIP/2.0 504 Server Time-out
> Status-Code: 504
> Message Header
> From: 12345678
> <sip:12345678 at sip.abc.com>;tag=3bf8e618e8f818109f1eafec866a1c9f
> To: <sip:12345678 at sip.abc.com>
> Call-ID: e2ffc017-e8f8-1810-8cb1-afec866a1c9f
> CSeq: 3 REGISTER
> Content-Length: 0
> Via: SIP/2.0/UDP
> 192.168.1.250:5060;iid=4033;branch=z9hG4bK3bf8e618e8f818109f1fafec866a1c9f
>
>
>
> lun Tong wrote:
>> Hi, Andrew:
>>
>> Regarding to your 3 questions, I think,
>>
>> 1. The reason CSeq is not changing is because they are
>> re-transmissions. That also explains why Branch-ID is not changing.
>> (Though I am not sure if it is required that the Branch-ID should be
>> unique for different CSeqs. ) Did you see 200OK sent back? Even if
>> 200OK was sent back, can you make sure that the UAC got it?
>>
>> 2. Max-Forward could be any number less than 70.
>>
>> Regards.
>> Lun
>
>
> vivek krishna wrote:
>> Hi,
>> Can you please say what is the exact error which
>> you get.Whether this request is rejected by the server
>> or something else.
>>
>> Also are the 3 messages a retransmission or 3 separate
>> requests ???
>>
>> Can you send the complete log of the call.
>>
>> Regards,
>> vivek
>> --- Andrew Yu <andrew at asiatel.com.sg> wrote:
>>
>>
>>> 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.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
>>>
>>> --
>>> 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
>>>
>>> _______________________________________________
>>> This is the SIP Forum discussion mailing list
>>> TO UNSUBSCRIBE, or edit your delivery options,
>>> please visit
>>> http://sipforum.org/mailman/listinfo/discussion
>>> Post to the list at discussion at sipforum.org
>>>
>>>
>>
>>
>>
>>
>> ____________________________________________________________________________________
>>
>> Get the Yahoo! toolbar and be alerted to new email wherever you're
>> surfing.
>> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
>>
>> __________ NOD32 2329 (20070614) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
>>
>>
>
>
More information about the discussion
mailing list