<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'>
Hello,<br><div><div dir="ltr"><br>I am trying, once I receive the first REGISTER, to store a specific header and then retrieve its value in the subsequent requests, like the following INVITE's.<br><br>I'm currently using the cache memory, but for some reason its not working properly, the value cannot be used after only one INVITE and I'm not able to use it for other subsequent calls for the same user, I'm getting an null value.<br><br>cache_store("local","variable_name_1","$hdr(header_name)",$ct.fields(expires));<br>cache_fetch("local","variable_name_1",$avp(new_hdr));<br><br>Is there a better way to do this? Thank you in advance.<br><br>Thanks,<br>Marwan<br><font color="#333399" face="Courier New, Courier, Monospace" size="3"></font>                                               </div></div>                                               </div></body>
</html>