<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,<span style="font-family: arial; white-space: pre-wrap; line-height: 1.7;">Bogdan:</span></div><div><font face="arial"><span style="white-space: pre-wrap;">I test again ,the head like below:</span></font></div><div><font face="arial"><span style="white-space: pre-wrap;"><br></span></font></div><div>REGISTER sip:118.193.154.214 SIP/2.0</div><div>Via: SIP/2.0/TCP 10.0.2.10:1024;rport;branch=z9hG4bK189760539</div><div>From: &lt;sip:003@118.193.154.214&gt;;tag=1892155303</div><div>To: &lt;sip:003@118.193.154.214&gt;</div><div>Call-ID: 1489433135</div><div>CSeq: 1 REGISTER</div><div>Contact: &lt;sip:003@10.0.2.10:1024;transport=tcp;app-id=622464153529;pn-type=google;pn-</div><div><br></div><div>tok=APA91bFCjG6AELwpGdxAbtaQkAGW93EsJcja4fnXi66hpi3RWPkq4K14tup7hrNEMEr2hVuCwkK6TewwD5_GpMyN0wvOXvlzbB7eNva536mCC-</div><div><br></div><div>DUzwsyBl2zOxlp07U53DOmuTlqZv7U;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-</div><div><br></div><div>snd=msg.caf;line=eb8ee2c9efe04cc&gt;</div><div>Max-Forwards: 70</div><div>User-Agent: LinphoneAndroid/2.0.2 (eXosip2/3.6.0)</div><div>Expires: 3600</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>REGISTER sip:118.193.154.214 SIP/2.0</div><div>Via: SIP/2.0/TCP 10.0.2.10:1024;rport;branch=z9hG4bK1625593069</div><div>From: &lt;sip:003@118.193.154.214&gt;;tag=1892155303</div><div>To: &lt;sip:003@118.193.154.214&gt;</div><div>Call-ID: 1489433135</div><div>CSeq: 2 REGISTER</div><div>Contact: &lt;sip:003@10.0.2.10:1024;transport=tcp;app-id=622464153529;pn-type=google;pn-</div><div><br></div><div>tok=APA91bFCjG6AELwpGdxAbtaQkAGW93EsJcja4fnXi66hpi3RWPkq4K14tup7hrNEMEr2hVuCwkK6TewwD5_GpMyN0wvOXvlzbB7eNva536mCC-</div><div><br></div><div>DUzwsyBl2zOxlp07U53DOmuTlqZv7U;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-</div><div><br></div><div>snd=msg.caf;line=eb8ee2c9efe04cc&gt;</div><div>Authorization: Digest username="003", realm="118.193.154.214",&nbsp;</div><div><br></div><div>nonce="54d1b3a900000087b0d1245da49b53e193368d0b76f4358c", uri="sip:118.193.154.214",&nbsp;</div><div><br></div><div>response="9557d32405a7991c33735aff9d54fcae", algorithm=MD5</div><div>Max-Forwards: 70</div><div>User-Agent: LinphoneAndroid/2.0.2 (eXosip2/3.6.0)</div><div>Expires: 3600</div><div>Content-Length: 0</div><div><br></div><div><br></div><div><br></div><div>SIP/2.0 401 Unauthorized</div><div>Via: SIP/2.0/TCP 10.0.2.10:1024;received=59.36.45.241;rport=1273;branch=z9hG4bK1505113328</div><div>From: &lt;sip:003@118.193.154.214&gt;;tag=1892155303</div><div>To: &lt;sip:003@118.193.154.214&gt;;tag=5c2831c51ae0c72390d6fc905fc065f7.c43f</div><div>Call-ID: 1489433135</div><div>CSeq: 3 REGISTER</div><div>WWW-Authenticate: Digest realm="118.193.154.214", nonce="54d1b3aa00000089f875fca1bb2d1287147d37c160ac1921"</div><div>Server: OpenSIPS (1.11.3-notls (x86_64/linux))</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>SIP/2.0 200 OK</div><div>Via: SIP/2.0/TCP 10.0.2.10:1024;received=59.36.45.241;rport=1273;branch=z9hG4bK1183991583</div><div>From: &lt;sip:003@118.193.154.214&gt;;tag=1892155303</div><div>To: &lt;sip:003@118.193.154.214&gt;;tag=5c2831c51ae0c72390d6fc905fc065f7.cae6</div><div>Call-ID: 1489433135</div><div>CSeq: 4 REGISTER</div><div>Contact: &lt;sip:003@59.36.45.241:1273;transport=tcp;app-id=622464153529;pn-type=google;pn-</div><div><br></div><div>tok=APA91bFCjG6AELwpGdxAbtaQkAGW93EsJcja4fnXi66hpi3RWPkq4K14tup7hrNEMEr2hVuCwkK6TewwD5_GpMyN0wvOXvlzbB7eNva536mCC-</div><div><br></div><div>DUzwsyBl2zOxlp07U53DOmuTlqZv7U;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-</div><div><br></div><div>snd=msg.caf;line=eb8ee2c9efe04cc&gt;;q=1;expires=3600;received="sip:59.36.45.241:1273;transport=TCP"</div><div>Server: OpenSIPS (1.11.3-notls (x86_64/linux))</div><div>Content-Length: 0</div><div><br></div><div>thanks a lot!</div><div><br></div><div></div><div id="divNeteaseMailCard"></div><br>At 2015-02-04 13:44:16, "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; There has a stauts about 401&nbsp;<span style="line-height: 1.7;">&nbsp;</span><span style="line-height: 1.7;">Unauthorized</span><span style="line-height: 1.7;">:</span></div><div><br></div><div><div>SIP/2.0 401 Unauthorized</div><div>Via: SIP/2.0/TCP 10.0.2.10:1024;received=59.36.45.241;rport=9782;branch=z9hG4bK1450910565</div><div>From: &lt;sip:<a href="mailto:003@118.193.154.214">003@118.193.154.214</a>&gt;;tag=2014338328</div><div>To: &lt;sip:<a href="mailto:003@118.193.154.214">003@118.193.154.214</a>&gt;;tag=5c2831c51ae0c72390d6fc905fc065f7.ab7b</div><div>Call-ID: 1547875337</div><div>CSeq: 3 REGISTER</div><div>WWW-Authenticate: Digest realm="118.193.154.214", nonce="54d192cf0000001ce25c63b4ab2f9483e02d77ebc3ebeede"</div><div>Server: OpenSIPS (1.11.3-notls (x86_64/linux))</div><div>Content-Length: 0</div></div><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>