<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I think that can easily become a problem if all the users decide to send registrations as they please. I tried looking into ratelimit and pike and it wont solve my problem.<br>What is the extent of the setting min_expires on this module? Will it create a 423 reply to the user or is not the intended behavior?<br><br>In the mean time I am trying to craft a 423 Message when the expires in the Contact header or in the Expires header is less than the min_expires set in the config but I am having problems parsing and looking for the Expires header. With the expires in the contact is easy using the select feature or parsing the whole contact using $ct:<br><br>xlog("L_INFO","mylog: Contact Header: [$ct].\n");<br>$var(c_expires) = $(ct{s.select,1,=}); <br><br>or this way, it is more accurate<br><br>$sel(@contact.expires)<br><br><br>but I can't find a way to do the same thing with the Expires headers. In the same page that I found the "select " it says:<br>"The <strong>select</strong> is a READ-ONLY "function", that helps to get
 direct access to some parts of SIP message within the script (like @to,
 @cseg.method, @msg["P-anyheader-youwant"]) ...."<br><br>So I am trying to use this @msg["P-anyheader-youwant"] but I can't make it work.<br><br>&nbsp;Any ideas?<br>txs a lot in advance<br><div><div dir="ltr">                                               </div></div>                                               </div></body>
</html>