Hi all,
Can't receive a 200 0k response from openser register server when URI in a To 
header field in a REGISTER request contains escaped characters. 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      [email protected]         
[email protected]
contact-uri :                        [email protected]    
[email protected]
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|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER 
sip:ss.under.test.com:5060
[0002:  0.00|U   ] 401   |--->|    |    |    |    |    |    |    | 401 
Unauthorized (REGISTER)
[0003:  0.08|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER 
sip:ss.under.test.com:5060
[0004:  0.08|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK 
(REGISTER)
[0005:  0.13|U   ] REGIS |<---|    |    |    |    |    |    |    | REGISTER 
sip:ss.under.test.com:5060
[0006:  0.13|U   ] 200   |--->|    |    |    |    |    |    |    | 200 OK 
(REGISTER)

0001: <UA11      REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9483269
Max-Forwards: 70
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: <sip:[email protected];transport=udp>
Expires: 3600
Content-Length: 0

0002: >UA11      SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
node.under.test.com:5060;branch=z9hG4bKPUA9483269;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>;tag=0c0d2af89845c72ddfdc7de2133116df.5423
Call-ID: [email protected]
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="under.test.com", 
nonce="4c147ce58c3aeb0320d06420d0fb7202f99cc211", qop="auth"
Server: OpenSER (1.3.4-tls (i386/linux))
Content-Length: 0

0003: <UA11      REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9483270
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth, 
nonce="4c147ce58c3aeb0320d06420d0fb7202f99cc211", opaque="", nc=00000001, 
cnonce="6f54a149", uri="sip:ss.under.test.com:5060", 
response="55d63d1b7029e12d72f20ec094992773"
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Contact: <sip:[email protected];transport=udp>
Expires: 3600
Content-Length: 0

0004: >UA11      SIP/2.0 200 OK
Via: SIP/2.0/UDP 
node.under.test.com:5060;branch=z9hG4bKPUA9483270;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>;tag=0c0d2af89845c72ddfdc7de2133116df.c56b
Call-ID: [email protected]
CSeq: 2 REGISTER
Date: Sun, 13 Jun 2010 06:33:29 GMT
Contact: <sip:[email protected];transport=udp>;expires=3600
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=z9hG4bKPUA9483271
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth, 
nonce="4c147ce58c3aeb0320d06420d0fb7202f99cc211", opaque="", nc=00000001, 
cnonce="6f54a149", uri="sip:ss.under.test.com:5060", 
response="55d63d1b7029e12d72f20ec094992773"
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Contact: *
Expires: 0
Content-Length: 0

0006: >UA11      SIP/2.0 200 OK
Via: SIP/2.0/UDP 
node.under.test.com:5060;branch=z9hG4bKPUA9483271;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:[email protected]>;tag=11169
To: UA11 <sip:[email protected]>;tag=0c0d2af89845c72ddfdc7de2133116df.5d7a
Call-ID: [email protected]
CSeq: 2 REGISTER
Date: Sun, 13 Jun 2010 06:33:29 GMT
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

Attachment: openser.cfg
Description: Binary data

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to