<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<BR> <BR>I am receiving the below message when using Sorcery cache:<BR> <BR><blockquote style="margin-right: 0px;" dir="ltr"><font size="2" style="font-size: 10pt;">[2016-02-25 13:47:02] ERROR[17353]: res_sorcery_memory_cache.c:1559 sorcery_memory_cache_delete: Unable to delete object '<ENDPOINT>;@115bb1375dae1799c68048e7abef7e05' from sorcery cache<br> Contact <ENDPOINT>/sip:<ENDPOINT>@<IP Address>:39212;transport=TLS has been deleted<br> -- Added contact 'sip:<ENDPOINT>@<IP Address>:39212;transport=TLS' to AOR '<ENDPOINT>' with expiration of 60 seconds<br> Contact <ENDPOINT>/sip:<ENDPOINT>@<IP Address>:39212;transport=TLS has been created<br> Contact <ENDPOINT>/sip:<ENDPOINT>@<IP Address>:39212;transport=TLS is now Unknown. RTT: 0.000 msec</font><BR></blockquote> <BR>The device had previously registered and therefore the device should have been in the cache. When this issue occurs it blocks the registration of an endpoint causing it to go offline. I can replicate this issue by pressing 'Re-register' within the Snom interface.<BR> <BR>Firstly I can't find documentation on 'full_backend_cache' on the Wiki page: <a href="https://wiki.asterisk.org/wiki/display/AST/Sorcery+Caching">https://wiki.asterisk.org/wiki/display/AST/Sorcery+Caching</a><BR> <BR>Therefore is full cache setup in the same way as other object settings?<BR> <BR><blockquote style="margin-right: 0px;" dir="ltr"><font size="2">[res_pjsip] ; <br>auth/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>auth=config,pjsip.conf,criteria=type=auth<br>auth=realtime,ps_auths</font><BR><font size="2"></font> <BR><font size="2">aor/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>aor=config,pjsip.conf,criteria=type=aor<br>aor=realtime,ps_aors</font><BR><font size="2"></font> <BR><font size="2">domain_alias/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>domain_alias=config,pjsip.conff,criteria=type=domain_alias<br>domain_alias=realtime,ps_domain_aliases</font><BR><font size="2"></font> <BR><font size="2">endpoint/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>endpoint=config,pjsip.conf,criteria=type=endpoint<br>endpoint=realtime,ps_endpoints</font><BR><font size="2"></font> <BR><font size="2">contact/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>contact=config,pjsip.conf,criteria=type=contact<br>contact=realtime,ps_contacts</font><BR><font size="2"></font> <BR><font size="2">[res_pjsip_endpoint_identifier_ip]<br>identify/cache=memory_cache,object_lifetime_stale=3600,object_lifetime_maximum=28800,expire_on_reload=yes,full_backend_cache=yes<br>identify=config,pjsip.conf,criteria=type=identify<br>identify=realtime,ps_endpoint_id_ips</font><br><BR></blockquote>Looking at the real-time database the ID is present all be it encoded with <ENDPOINT>^3B which is the encoding for a semicolon. Therefore it looks like the cache isn't matching the object correctly or not being inserted in the first place. <BR> <BR>I don't believe this relates to the full_backend_cache as this issue is also present on another test box which is using standard cache.<BR> <BR>Any advice on how to resolve/investigate the issue would be helpful.<BR> <BR>Kind regards,<BR> <BR>Ross<BR> </div></body>
</html>