Hello,

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.

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.

cache_store("local","variable_name_1","$hdr(header_name)",$ct.fields(expires));
cache_fetch("local","variable_name_1",$avp(new_hdr));

Is there a better way to do this? Thank you in advance.

Thanks,
Marwan
                                                                                
  
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to