Menu

#601 SIPv6 UA can't receive a 423 (Interval Too Brief) response

closed-wont-fix
nobody
modules (357)
5
2010-06-21
2010-06-21
xhu xhu
No

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@under.test.com UA12@under.test.com
contact-uri : UA11@node.under.test.com UA12@node11.under.test.com

2 the tcpdump file can be seen in "SIP Registrar- Expiration of REGISTER request less than a registrar-configured minimum" attachment

3 openser-1.3.4-12 configuration file can be seen in openser.cfg attachment.
I have added the following block into the openser.cfg
"
modparam("registrar", "default_expires", 3600)
modparam("registrar", "min_expires", 60)
"

Discussion

  • xhu xhu

    xhu xhu - 2010-06-21

    openser configuration file

     
  • Klaus Darilion

    Klaus Darilion - 2010-06-21

    Hi!

    1. Openser 1.3 is rather old and not supported anymore. Anyway, the behavior has not changed in newer versions.

    2. Openser/Kamailio/sip-router does not have an implicit mechanism to send 423 - it uses a different approach. It just overrides the user-provided expires value and set a different one. Take a look at the 200 OK response - the Contact header has a different expire value (660) then the requested one (30).

    3. if you really need 423, you have to script it. e.g. in Kamilio 3.0 Syntax:
    if ($hdr[Expires] < 3600) {
    append_to_reply("Min-Expires: 3600\r\n");
    sl_send_reply("423","Intervall to short");
    exit;
    }

    4. For such discussions please use the kamailio mailing list

     
  • Klaus Darilion

    Klaus Darilion - 2010-06-21
    • status: open --> closed-wont-fix
     

Log in to post a comment.