<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi,</div><div>&nbsp; &nbsp;&nbsp;<span style="line-height: 1.7;">Sometimes the messages can't store into DB,</span></div><div>&nbsp; &nbsp; And log has some error like this:</div><div><br></div><div><div>Feb &nbsp;3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:msg_send: tcp_send failed&nbsp;</div><div>Feb &nbsp;3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:t_forward_nonack: sending request failed&nbsp;</div><div>Feb &nbsp;3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:w_t_relay: t_forward_nonack failed&nbsp;</div><div>Feb &nbsp;3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:tm:_reply_light: failed to generate 500 reply when a final 477 was sent out&nbsp;</div><div>Feb &nbsp;3 14:36:20 mySer /usr/sbin/opensips[24989]: ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: INFO:core:probe_max_sock_buff: using snd buffer of 255 kb&nbsp;</div><div>Feb &nbsp;3 14:36:31 mySer /usr/sbin/opensips[25000]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: INFO:core:probe_max_sock_buff: using snd buffer of 255 kb&nbsp;</div><div>Feb &nbsp;3 14:36:45 mySer /usr/sbin/opensips[25000]: INFO:core:init_sock_keepalive: -- TCP keepalive enabled on socket&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_blocking_connect: timeout 9 s elapsed from 10 s&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcpconn_connect: tcp_blocking_connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:core:tcp_send: connect failed&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:msg_send: tcp_send failed&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:t_forward_nonack: sending request failed&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:w_t_relay: t_forward_nonack failed&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:tm:_reply_light: failed to generate 500 reply when a final 477 was sent out&nbsp;</div><div>Feb &nbsp;3 14:36:59 mySer /usr/sbin/opensips[25000]: ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module&nbsp;</div></div><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2015-02-03 08:15:45, "tin" &lt;centos168@126.com&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi:</div><div>&nbsp; &nbsp; The&nbsp;<span style="font-family: monospace; line-height: 1.7;">REGISTER look like</span><span style="font-family: monospace; line-height: 1.7;">&nbsp;</span><font face="monospace">normal;</font></div><div>&nbsp; &nbsp; Tow&nbsp;<span style="font-family: monospace; line-height: 1.7;">REGISTER</span><span style="font-family: monospace; line-height: 1.7;">&nbsp;can&nbsp;</span><span style="line-height: 1.7;">communicate with each other when they online;</span></div><div><br></div><div>Thanks</div><div><br></div><br><div></div><div></div><br>At 2015-02-02 17:36:42, "Bogdan-Andrei Iancu" &lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  
    
  
  
    <div class="moz-cite-prefix"><tt>And how does the REGISTER look like
        ?<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 02.02.2015 11:33, tin wrote:<br>
    </div>
    <blockquote cite="mid:36b00567.17108.14b49a37c5b.Coremail.centos168@126.com" type="cite">
      <div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <blockquote cite="mid:53c2c3b6.8ff0.14b47d83c22.Coremail.centos168@126.com" type="cite">
          <div style="line-height: 1.7;">Hi,Bogdan:</div>
          <div style="line-height: 1.7;">yes,the DB has the record.</div>
          <div style="line-height: 1.7;">and the username &nbsp;match the AOR
            of the user that register later,</div>
          <div style="line-height: 1.7;">the record as below:</div>
        </blockquote>
        <div>mysql&gt; select * from silo where ctype = 'text/plain';</div>
        <div>+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+</div>
        <div>| id &nbsp; | src_addr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| dst_addr &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp;| username | domain &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| inc_time &nbsp; | exp_time &nbsp; |
          snd_time | ctype &nbsp; &nbsp; &nbsp;| body &nbsp;|</div>
        <div>+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+</div>
        <div>| 3659 | <a class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214">sip:008@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422859611 | 1422895611 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | coi &nbsp; |&nbsp;</div>
        <div>| 3667 | <a class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214">sip:008@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422860496 | 1423119696 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | ggg &nbsp; |&nbsp;</div>
        <div>| 3669 | <a class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214">sip:008@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422860514 | 1423119714 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | qqq &nbsp; |&nbsp;</div>
        <div>| 3671 | <a class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214">sip:008@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422860599 | 1423119799 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | bbbbb |&nbsp;</div>
        <div>| 3719 | <a class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214">sip:003@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422868318 | 1423127518 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | 456 &nbsp; |&nbsp;</div>
        <div>| 3718 | <a class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214">sip:003@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422868210 | 1423127410 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | 123 &nbsp; |&nbsp;</div>
        <div>| 3717 | <a class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214">sip:003@118.193.154.214</a> | <a class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214">sip:010@118.193.154.214</a>
          | 010 &nbsp; &nbsp; &nbsp;| 118.193.154.214 | 1422867734 | 1423126934 | &nbsp; &nbsp; &nbsp;
          &nbsp;0 | text/plain | 999 &nbsp; |&nbsp;</div>
        <div>+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+</div>
        <div>7 rows in set (0.00 sec)</div>
        &nbsp; &nbsp;&nbsp;<br>
        <br>
        <br>
        <br>
        At 2015-02-02 17:17:51, "Bogdan-Andrei Iancu"
        <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a> wrote:<br>
        <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
          MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
          <div class="moz-cite-prefix">Hi,<br>
            <br>
            Please keep the list at CC ! <br>
            <br>
            After you hit the m_store(), do you see the record in DB ?
            if yes, what are the username and domain values - do they
            match the AOR of the user that register later ?<br>
            <br>
            Regards,<br>
            <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
            On 02.02.2015 03:12, tin wrote:<br>
          </div>
          <blockquote cite="mid:53c2c3b6.8ff0.14b47d83c22.Coremail.centos168@126.com" type="cite">
            <div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
              <div>Hi,Bogdan:</div>
              <div>&nbsp; &nbsp; The two function(<span style="font-family:
                  monospace; line-height: 1.7;">m_store(),</span><span style="font-family: monospace; line-height: 1.7;">m_dump()</span><span style="line-height: 1.7;">) was in script,</span></div>
              <div>
                <p class="MsoNormal" style="line-height: 16.25pt;" align="left"><span style="font-size: 12pt;
                    font-family: Helvetica, sans-serif;" lang="EN-US">&nbsp;
                    &nbsp;Although &nbsp;i have received the log for success:</span><span style="font-size: 10pt; font-family: Arial,
                    sans-serif;" lang="EN-US"><o:p></o:p></span></p>
                <b><span style="font-size: 12pt; font-family: Helvetica,
                    sans-serif;" lang="EN-US">&nbsp;&nbsp; log("MSILO: offline
                    messages dumped - if they were\n"); &nbsp;</span></b></div>
              <div><b><span style="font-size: 12pt; font-family:
                    Helvetica, sans-serif;" lang="EN-US"><br>
                  </span></b></div>
              <div>&nbsp; &nbsp; the log:</div>
              [....]<br>
              <br>
              <br>
              <br>
              <br>
              At 2015-01-31 01:10:45, "Bogdan-Andrei Iancu" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a>
              wrote:<br>
              <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
                MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
                <div class="moz-cite-prefix"><tt>Hello,<br>
                    <br>
                    1) when B is offline, do you do m_store() in script
                    ?<br>
                    <br>
                    2) when you handled a registration of B, do you do
                    m_dump() in script ?<br>
                    <br>
                    Regards,<br>
                  </tt>
                  <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
                  On 30.01.2015 09:32, tin wrote:<br>
                </div>
                <blockquote cite="mid:3eca31e.1e318.14b39c1074a.Coremail.centos168@126.com" type="cite">
                  <div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
                    <div>Hi,</div>
                    <div>I am use opensips 1.11.3 on centos5.11,it's
                      everything is ok .</div>
                    <div>I want to deploy the MSILO Module
                      ,loadmoduleĦ˘add route script in the "cfg"</div>
                    <div>the user &nbsp;A &nbsp;send message to B who was
                      offline;the message save to the server;</div>
                    <div>when the user B online,the message didn't from
                      server sent to B user,why?</div>
                    <div><br>
                    </div>
                    <div>thanks</div>
                  </div>
                  <br>
                  <br>
                  <span title="neteasefooter"><span id="netease_mail_footer"></span></span><br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </blockquote>
            </div>
            <br>
            <br>
            <span title="neteasefooter"><span id="netease_mail_footer"></span></span>
          </blockquote>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <span title="neteasefooter"><span id="netease_mail_footer"></span></span>
    </blockquote>
    <br>
  

</blockquote></div></blockquote></div>