<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,<div><br></div><div>I've run into an issue with slow processing of SIP packets on Asterisk 11, which isn't present in Asterisk 1.8.</div><div><br></div><div>I believe the issue to be related to asterisk realtime and cache. In version 1.8 asterisk appears to use cache data or if present static config. However in version 11 a call is made to the database every time a call comes in even if there is a static peer defined or cache is present. </div><div><br></div><div>The issue has become apparent recently when one server calls a group of phones that reside on another server. For example 'Asterisk A (Asterisk 11)' calls multiple phones on 'Asterisk B (Asterisk 11)' at exactly the same time, a delay is present which causes the phones to ring at different times. </div><div><br></div><div>If however 'Asterisk A (Asterisk 11) makes the same calls to 'Asterisk C (Asterisk 1.8)'  all phones ring in time. </div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">When looking at the CLI, the calls coming into 'Asterisk B' show a slight delay in processing, however a call from a phone on the same server to the same group has no such delay. </span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">This leads me to </span>believe<span style="font-size: 12pt;"> that processing of packets from other servers is delayed in some way, however I am unable to find the cause. I've even downgraded to Asterisk 1.8 on 'Asterisk B' which removes the issue.</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"> The question I have is why does the realtime </span>architecture query the database even if the peer is not dynamic? Does Asterisk 11 not check for static peers before checking the database?</div><div><span style="font-size: 12pt;"><br></span></div><div>Can anyone shed any light on this?</div><div><br></div><div>Ross</div>                                     </div></body>
</html>