[OpenSIPS-Users] SIPv6 UA can't receive a 423 (Interval Too Brief) response from openser-1.3.4-12.fc13.i686 SIPv6 Registrar Server when expiration of a REGISTER request is less than a registrar-configured minimum
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jun 23 22:45:32 CEST 2010
Hi,
OpenSIPS does not reject the REGISTERs with expire not fitting the min -
max interval, but simply adjust (as per RFC, a registrar can do that)
the expire value to fit the configured interval.
As you can see, the "30" value is replaced with 200 OK with "60" seconds.
Anyhow, 1.3 is really old version, I strongly recommend to upgrade to
1.6 version
Regards,
Bogdan
Xiaoqiang Hu wrote:
> Hi all,
> SIPv6 UA can't receive a 423 (Interval Too Brief) response from openser-1.3.4-12.fc13.i686 SIPv6 Registrar Server when expiration of a REGISTER request is less than a registrar-configured minimum.The details can be seen as follows. Is it a bug or can be resolved by modifying configuration file?
> 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 Test results 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)
>
> 0001: <UA11 REGISTER sip:ss.under.test.com:5060 SIP/2.0
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9361264
> Max-Forwards: 70
> From: UA11 <sip:UA11 at under.test.com>;tag=11164
> To: UA11 <sip:UA11 at under.test.com>
> Call-ID: 11164 at eye.example.com
> CSeq: 1 REGISTER
> Contact: <sip:UA11 at node.under.test.com;transport=udp>
> Content-Length: 0
> Expires: 30
>
> 0002: >UA11 SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9361264;received=3FFE:501:FFFF:1:0:0:0:1
> From: UA11 <sip:UA11 at under.test.com>;tag=11164
> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.fbda
> Call-ID: 11164 at eye.example.com
> CSeq: 1 REGISTER
> WWW-Authenticate: Digest realm="under.test.com", nonce="4c147cbdaa78f4207bc41ac16dce0b8e2ab32dec", 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=z9hG4bKPUA9361265
> Max-Forwards: 70
> Authorization: Digest username="UA11", realm="under.test.com", qop=auth, nonce="4c147cbdaa78f4207bc41ac16dce0b8e2ab32dec", opaque="", nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060", response="3f61013fa1bb9d330c9117c73c27e05a"
> From: UA11 <sip:UA11 at under.test.com>;tag=11164
> To: UA11 <sip:UA11 at under.test.com>
> Call-ID: 11164 at eye.example.com
> CSeq: 2 REGISTER
> Contact: <sip:UA11 at node.under.test.com;transport=udp>
> Content-Length: 0
> Expires: 30
>
> 0004: >UA11 SIP/2.0 200 OK
> Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA9361265;received=3FFE:501:FFFF:1:0:0:0:1
> From: UA11 <sip:UA11 at under.test.com>;tag=11164
> To: UA11 <sip:UA11 at under.test.com>;tag=0c0d2af89845c72ddfdc7de2133116df.63cb
> Call-ID: 11164 at eye.example.com
> CSeq: 2 REGISTER
> Date: Sun, 13 Jun 2010 06:32:49 GMT
> Contact: <sip:UA11 at node.under.test.com;transport=udp>;expires=660
> Server: OpenSER (1.3.4-tls (i386/linux))
> Content-Length: 0
>
> 3 I have added the following block into the openser.cfg
> "
> modparam("registrar", "default_expires", 3600)
> modparam("registrar", "min_expires", 60)
> "
>
> --------------------------------------
> 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
More information about the Users
mailing list