[OpenSIPS-Users] SIPv6 UA Can't receive a 200 0k response from openser-1.3.4-12.fc13.i686 register server when URI in a To header field in a REGISTER request contains escaped characters
Xiaoqiang Hu
xhu at redhat.com
Tue Jun 22 11:50:10 CEST 2010
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 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: 3.00|U ] REGIS |<---| | | | | | | | REGISTER sip:ss.under.test.com:5060
[0004: 3.00|U ] 401 |--->| | | | | | | | 401 Unauthorized (REGISTER)
[0005: 3.07|U ] REGIS |<---| | | | | | | | REGISTER sip:ss.under.test.com:5060
[0006: 3.07|U ] 403 |--->| | | | | | | | 403 Forbidden auth ID (REGISTER)
0003: <UA11 REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9531271
Max-Forwards: 70
From: UA11 <sip:U%4111 at under.test.com>;tag=11171
To: UA11 <sip:U%4111 at under.test.com>
Call-ID: 11171 at sun.example.com
CSeq: 1 REGISTER
Contact: <sip:U%4111 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=z9hG4bKPUA9531271;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:U%4111 at under.test.com>;tag=11171
To: UA11 <sip:U%4111 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.46dd
Call-ID: 11171 at sun.example.com
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="under.test.com", nonce="4c147cfa07dd3f3a059e319e43cfc80d0b8b78db", 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=z9hG4bKPUA9531272
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147cfa07dd3f3a059e319e43cfc80d0b8b78db", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="17f29661e1187c5da753955ab11707ec"
From: UA11 <sip:U%4111 at under.test.com>;tag=11171
To: UA11 <sip:U%4111 at under.test.com>
Call-ID: 11171 at sun.example.com
CSeq: 2 REGISTER
Contact: <sip:U%4111 at node.under.test.com;transport=udp>
Expires: 3600
Content-Length: 0
0006: >UA11 SIP/2.0 403 Forbidden auth ID
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9531272;received=3FFE:501:FFFF:1:0:0:0:1
From: UA11 <sip:U%4111 at under.test.com>;tag=11171
To: UA11 <sip:U%4111 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.fffe
Call-ID: 11171 at sun.example.com
CSeq: 2 REGISTER
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 200 OK?
--------------------------------------
Regards!
Hu xiaoqiang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openser.cfg
Type: application/octet-stream
Size: 10752 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20100622/ac0069d4/attachment-0001.obj
More information about the Users
mailing list