[sr-dev] [ openser-Bugs-3018975 ] SIPv6 UA can't receive a 423 (Interval Too Brief) response

SourceForge.net noreply at sourceforge.net
Mon Jun 21 13:04:26 CEST 2010


Bugs item #3018975, was opened at 2010-06-21 11:55
Message generated for change (Comment added) made by klaus_darilion
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=3018975&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: xhu xhu (xhujohnson)
Assigned to: Nobody/Anonymous (nobody)
Summary: SIPv6 UA can't receive a 423 (Interval Too Brief) response 

Initial Comment:
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 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)
"

----------------------------------------------------------------------

>Comment By: Klaus Darilion (klaus_darilion)
Date: 2010-06-21 13:04

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=3018975&group_id=139143



More information about the sr-dev mailing list