<p>If the rabbitmq server is restarted, the librabbitmq library will report an AMQP_STATUS_SOCKET_ERROR. The connection will be destroyed and the event lost.<br>
On next received event, opensips will attempt to re-connect and deliver the event.</p>

<p>On this particular error, we should perform a reconnect here and re-send the event (tested ok).<br>
Maybe there are also other errors that require a similar handling.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/535">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcia4nSHsJFo39KnIy22P5PIXssUNVks5oPKTogaJpZM4EzUuf.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/535"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>