<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; line-height: 1.7;">Hi,<span style="font-family: arial; white-space: pre-wrap; line-height: 1.7;">Bogdan:</span></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; line-height: 1.7;"><font face="arial"><span style="white-space: pre-wrap;">I test again ,the head like below:</span></font></div><div style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; line-height: 1.7;"><br></div><div><div>29<span class="Apple-tab-span" style="white-space: pre;">        </span>13:52:11.990113<span class="Apple-tab-span" style="white-space: pre;">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space: pre;">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space: pre;">        </span>SIP<span class="Apple-tab-span" style="white-space: pre;">        </span>608<span class="Apple-tab-span" style="white-space: pre;">        </span>Request: REGISTER sip:118.193.154.214 &nbsp;(1 binding) |&nbsp;</div><div>38<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:11.990706<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>507<span class="Apple-tab-span" style="white-space:pre">        </span>Status: 401 Unauthorized |&nbsp;</div><div>50<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:12.024457<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>817<span class="Apple-tab-span" style="white-space:pre">        </span>Request: REGISTER sip:118.193.154.214 &nbsp;(1 binding) |&nbsp;</div><div>62<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:12.041409<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>784<span class="Apple-tab-span" style="white-space:pre">        </span>Status: 200 OK &nbsp;(1 binding) |&nbsp;</div><div>70<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:12.083972<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>612<span class="Apple-tab-span" style="white-space:pre">        </span>Request: REGISTER sip:118.193.154.214 &nbsp;(1 binding) |&nbsp;</div><div>76<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:12.084421<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>508<span class="Apple-tab-span" style="white-space:pre">        </span>Status: 401 Unauthorized |&nbsp;</div><div>84<span class="Apple-tab-span" style="white-space:pre">        </span>13:52:12.125688<span class="Apple-tab-span" style="white-space:pre">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space:pre">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space:pre">        </span>SIP<span class="Apple-tab-span" style="white-space:pre">        </span>820<span class="Apple-tab-span" style="white-space:pre">        </span>Request: REGISTER sip:118.193.154.214 &nbsp;(1 binding) |&nbsp;</div><div>90<span class="Apple-tab-span" style="white-space: pre;">        </span>13:52:12.131621<span class="Apple-tab-span" style="white-space: pre;">        </span>118.193.154.214<span class="Apple-tab-span" style="white-space: pre;">        </span>59.36.45.241<span class="Apple-tab-span" style="white-space: pre;">        </span>SIP<span class="Apple-tab-span" style="white-space: pre;">        </span>787<span class="Apple-tab-span" style="white-space: pre;">        </span>Status: 200 OK &nbsp;(1 binding) |&nbsp;</div></div><blockquote id="isReplyContent" style="color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; line-height: 1.7; padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br></div><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 style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>thanks a lot!</div><div></div><div></div><br>At 2015-02-03 18:05:43, "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">Hi Tin,<br>
      <br>
      Once again, can you post the full REGISTER request here ? are you
      sure that REGISTER do advertise "MESSAGE" in the Allow header <br>
      <br>
      Also , you could enable full debug for the m_dump() function:<br>
      &nbsp;&nbsp;&nbsp; set_debug(4);<br>
      &nbsp;&nbsp;&nbsp; m_dump();<br>
      &nbsp;&nbsp;&nbsp; set_debug();<br>
      <br>
      In this case, you may get a clue why the function does not send
      out the stored messages.<br>
      <br>
      Regards,<br>
      <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 03.02.2015 03:05, tin wrote:<br>
    </div>
    <blockquote cite="mid:4b37cf82.19af.14b4cf8203a.Coremail.centos168@126.com" type="cite">
      <div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div>Dear Bogdan,&nbsp;</div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thanks for all your reply and kindly help.&nbsp;<span style="font-size: 14px; line-height: 1.7;">I&nbsp;</span>definitely&nbsp;<span style="font-size: 14px; line-height: 1.7;">saw the record in
            DB.&nbsp;here are the records on my DB:</span></div>
        <div>
          <blockquote cite="mid:36b00567.17108.14b49a37c5b.Coremail.centos168@126.com" type="cite">
            <div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">mysql&gt; select * from silo where ctype =
                  'text/plain';</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 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;|</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">+------+-------------------------+-------------------------+----------+-----------------+------------+------------+----------+------------+-------+</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3659 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:008@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422859611 | 1422895611 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | coi &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3667 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:008@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422860496 | 1423119696 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | ggg &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3669 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:008@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422860514 | 1423119714 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | qqq &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3671 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:008@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:008@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422860599 | 1423119799 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | bbbbb |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3719 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:003@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422868318 | 1423127518 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | 456 &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3718 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:003@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422868210 | 1423127410 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | 123 &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><span style="color: rgb(128, 128,
                  128);">| 3717 |&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:003@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:003@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;|&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sip:010@118.193.154.214" style="color:
                  rgb(128, 128, 128); text-decoration: underline;"><span style="color: rgb(128, 128, 128);">sip:010@118.193.154.214</span></a><span style="color: rgb(128, 128, 128);">&nbsp;| 010 &nbsp; &nbsp; &nbsp;|
                  118.193.154.214 | 1422867734 | 1423126934 | &nbsp; &nbsp; &nbsp; &nbsp;0 |
                  text/plain | 999 &nbsp; |&nbsp;</span></div>
              <div style="font-family: Arial; font-size: 14px;
                line-height: 1.7;"><br></div></div></blockquote><br>
        </div>
      </div>
    </blockquote>
    <br>
  

</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>