[OpenSIPS-Users] SIPv6 UA Can't receive a 500 (Server Internal Error) response from openser-1.3.4-12.fc13.i686 register server when sending a REGISTER with the equal CSeq header field value to the last value of CSeq or lower than the number

Xiaoqiang Hu xhu at redhat.com
Fri Jun 25 03:56:20 CEST 2010


I made a mistake. Here is the right seq for the problem:
                        NUT  UA11 UA12 UA13 UA14 PX2  PX3  PX4  DNS
 No     time             |    |    |    |    |    |    |    |    |
 No     time             |    |    |    |    |    |    |    |    |
[0001:  0.00|    ]       |----|----|----|----|----|----|----|--->|  DNS(query) Q:ss.under.test.com.  A:
[0002:  0.00|    ]       |<---|----|----|----|----|----|----|----|  DNS(reply) Q:ss.under.test.com.  A:No Host
[0003:  0.00|    ]       |----|----|----|----|----|----|----|--->|  DNS(query) Q:ss.under.test.com.localdomain.  A:
[0004:  0.00|    ]       |<---|----|----|----|----|----|----|----|  DNS(reply) Q:ss.under.test.com.localdomain.  A:No Host
[0005:  0.00|    ]       |----|----|----|----|----|----|----|--->|  DNS(query) Q:ss.under.test.com.  A:
[0006:  0.00|    ]       |<---|----|----|----|----|----|----|----|  DNS(reply) Q:ss.under.test.com.  A:No Host
[0007:  0.00|    ]       |----|----|----|----|----|----|----|--->|  DNS(query) Q:ss.under.test.com.localdomain.  A:
[0008:  0.00|    ]       |<---|----|----|----|----|----|----|----|  DNS(reply) Q:ss.under.test.com.localdomain.  A:No Host
[0009:  1.19|    ]       |<---|    |    |    |    |    |    |    |  NS 
[0010:  1.19|    ]       |--->|    |    |    |    |    |    |    |  NA 
[0011:  1.19|    ]       |--->|    |    |    |    |    |    |    |  NS 
[0012:  1.19|    ]       |<---|    |    |    |    |    |    |    |  NA 
[0013:  3.11|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
[0014:  3.11|U   ] 401   |--->|    |    |    |    |    |    |    | 401 Unauthorized (REGISTER)
[0015:  3.19|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
[0016:  3.19|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
[0017:  3.24|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
[0018:  3.25|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)

0013: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462387
Max-Forwards: 70
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>
Call-ID: 11287 at air.example.com
CSeq: 1 REGISTER
Contact: <sip:UA11 at node.under.test.com;transport=udp>
Expires: 3600
Content-Length: 0

0014: >UA11	SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462387;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>;tag=342e93888690910a050457d333be0c5a.6701
Call-ID: 11287 at air.example.com
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="under.test.com", nonce="4c24098a000000009505211c2fde0eb7112f08fbb09a5d7a", qop="auth"
Server: OpenSIPS (1.6.2-tls (i386/linux))
Content-Length: 0
 
0015: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462388
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c24098a000000009505211c2fde0eb7112f08fbb09a5d7a", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="611b7071a5233d4f63cbc05018c2b140"
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>
Call-ID: 11287 at air.example.com
CSeq: 2 REGISTER
Contact: <sip:UA11 at node.under.test.com;transport=udp>
Expires: 3600
Content-Length: 0

0016: >UA11	SIP/2.0 200 OK
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462388;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>;tag=342e93888690910a050457d333be0c5a.188e
Call-ID: 11287 at air.example.com
CSeq: 2 REGISTER
Date: Fri, 25 Jun 2010 01:42:04 GMT
Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600
Server: OpenSIPS (1.6.2-tls (i386/linux))
Content-Length: 0

0017: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462389
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c24098a000000009505211c2fde0eb7112f08fbb09a5d7a", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="611b7071a5233d4f63cbc05018c2b140"
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>
Call-ID: 11287 at air.example.com
CSeq: 2 REGISTER
Contact: <sip:UA11 at node.under.test.com;transport=udp>
Expires: 3600
Content-Length: 0

0018: >UA11	SIP/2.0 200 OK
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA2462389;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:UA11 at under.test.com>;tag=11287
To: UA11 <sip:UA11 at under.test.com>;tag=342e93888690910a050457d333be0c5a.809f
Call-ID: 11287 at air.example.com
CSeq: 2 REGISTER
Date: Fri, 25 Jun 2010 01:42:04 GMT
Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600
Server: OpenSIPS (1.6.2-tls (i386/linux))
Content-Length: 0

--------------------------------------
Regards!
Hu xiaoqiang
Quality Assurance Engineer
IRC Account:xhu Channel:#apac #apac-qa

----- Original Message -----
From: "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Sent: Wednesday, June 23, 2010 5:44:10 PM GMT -05:00 US/Canada Eastern
Subject: Re: [OpenSIPS-Users] SIPv6 UA Can't receive a 500 (Server Internal Error) response from openser-1.3.4-12.fc13.i686 register server when sending a REGISTER with the equal CSeq header field value to the last value of CSeq or lower than the number

Hi,

In the trace you sent I see an increasing Cseq val ( 1 in the first 
REGISTER and 2 in the second one) and not the case you reported ( equal 
or lower than the last used)......?!

Regards,
Bogdan

Xiaoqiang Hu wrote:
> Hi all,
> Can't receive a 500 (Server Internal Error) response from openser register server when sending a REGISTER with the equal CSeq header field value to the last value of CSeq or lower than the number. The details can be as follows:
> 1 Test topology:
>
>                    NUT(REG && PX)           UA11                         UA12                           DNS
>                         |                      |                          |                              |
> IP          : 3ffe:501:ffff:50::50   3ffe:501:ffff:1::1          3ffe:501:ffff:2::2                3ffe:501:ffff:4::1
> aor-uri     : ss.under.test.com      UA11 at under.test.com         UA12 at under.test.com
> contact-uri :                        UA11 at node.under.test.com    UA12 at node11.under.test.com
> 2  the test result can be seen as follows:
>                         NUT  UA11 UA12 UA13 UA14 PX2  PX3  PX4  DNS
>  No     time             |    |    |    |    |    |    |    |    |
>  No     time             |    |    |    |    |    |    |    |    |
> [0001:  0.00|    ]       |<---|    |    |    |    |    |    |    |  NS 
> [0002:  0.00|    ]       |--->|    |    |    |    |    |    |    |  NA 
> [0003:  2.76|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
> [0004:  2.76|U   ] 401   |--->|    |    |    |    |    |    |    | 401 Unauthorized (REGISTER)
> [0005:  2.84|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
> [0006:  2.84|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
> [0007:  2.90|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER sip:ss.under.test.com:5060
> [0008:  2.90|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK (REGISTER)
>
> 0003: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9383265
> Max-Forwards: 70
> From: UA11 <sip:UA11 at under.test.com>;tag=11165
> To: UA11 <sip:UA11 at under.test.com>
> Call-ID: 11165 at www.example.com
> CSeq: 1 REGISTER
> Contact: <sip:UA11 at node.under.test.com;transport=udp>
> Expires: 3600
> Content-Length: 0
>
> 0004: >UA11	 SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9383265;received=3FFE:501:FFFF:1:0:0:0:1
> From: UA11 <sip:UA11 at under.test.com>;tag=11165
> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.8f4e
> Call-ID: 11165 at www.example.com
> CSeq: 1 REGISTER
> WWW-Authenticate: Digest realm="under.test.com", nonce="4c147cc5fd03db60cc9c319db99f38a167269459", qop="auth"
> Server: OpenSER (1.3.4-tls (i386/linux))
> Content-Length: 0
>
> 0005: <UA11	 REGISTER sip:ss.under.test.com:5060 SIP/2.0
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9383266
> Max-Forwards: 70
> Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147cc5fd03db60cc9c319db99f38a167269459", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="83dd622570f6f9a7b6666d90fcb7f615"
> From: UA11 <sip:UA11 at under.test.com>;tag=11165
> To: UA11 <sip:UA11 at under.test.com>
> Call-ID: 11165 at www.example.com
> CSeq: 2 REGISTER
> Contact: <sip:UA11 at node.under.test.com;transport=udp>
> Expires: 3600
> Content-Length: 0
>
> 0006: >UA11	 SIP/2.0 200 OK
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9383266;received=3FFE:501:FFFF:1:0:0:0:1
> From: UA11 <sip:UA11 at under.test.com>;tag=11165
> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.366d
> Call-ID: 11165 at www.example.com
> CSeq: 2 REGISTER
> Date: Sun, 13 Jun 2010 06:32:57 GMT
> Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=3600
> Server: OpenSER (1.3.4-tls (i386/linux))
> Content-Length: 0
> 3  openser configuration file can be seen in "openser.cfg" attachment
> How can I modify the configuration file if I want to receive the 500?
>
> --------------------------------------
> Regards!
> Hu xiaoqiang
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro



_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list