<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: <sip:003@118.193.154.214>;tag=1892155303</div><div>To: <sip:003@118.193.154.214></div><div>Call-ID: 1489433135</div><div>CSeq: 1 REGISTER</div><div>Contact: <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></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: <sip:003@118.193.154.214>;tag=1892155303</div><div>To: <sip:003@118.193.154.214></div><div>Call-ID: 1489433135</div><div>CSeq: 2 REGISTER</div><div>Contact: <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></div><div>Authorization: Digest username="003", realm="118.193.154.214", </div><div><br></div><div>nonce="54d1b3a900000087b0d1245da49b53e193368d0b76f4358c", uri="sip:118.193.154.214", </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: <sip:003@118.193.154.214>;tag=1892155303</div><div>To: <sip:003@118.193.154.214>;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: <sip:003@118.193.154.214>;tag=1892155303</div><div>To: <sip:003@118.193.154.214>;tag=5c2831c51ae0c72390d6fc905fc065f7.cae6</div><div>Call-ID: 1489433135</div><div>CSeq: 4 REGISTER</div><div>Contact: <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>;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" <centos168@126.com> 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> There has a stauts about 401 <span style="line-height: 1.7;"> </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: <sip:<a href="mailto:003@118.193.154.214">003@118.193.154.214</a>>;tag=2014338328</div><div>To: <sip:<a href="mailto:003@118.193.154.214">003@118.193.154.214</a>>;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" <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</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 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>
set_debug(4);<br>
m_dump();<br>
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, </div>
<div> Thanks for all your reply and kindly help. <span style="font-size: 14px; line-height: 1.7;">I </span>definitely <span style="font-size: 14px; line-height: 1.7;">saw the record in
DB. 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> 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 | src_addr | dst_addr
| username | domain | inc_time |
exp_time | snd_time | ctype | body |</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 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422859611 | 1422895611 | 0 |
text/plain | coi | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3667 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422860496 | 1423119696 | 0 |
text/plain | ggg | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3669 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422860514 | 1423119714 | 0 |
text/plain | qqq | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3671 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422860599 | 1423119799 | 0 |
text/plain | bbbbb | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3719 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422868318 | 1423127518 | 0 |
text/plain | 456 | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3718 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422868210 | 1423127410 | 0 |
text/plain | 123 | </span></div>
<div style="font-family: Arial; font-size: 14px;
line-height: 1.7;"><span style="color: rgb(128, 128,
128);">| 3717 | </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);"> | </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);"> | 010 |
118.193.154.214 | 1422867734 | 1423126934 | 0 |
text/plain | 999 | </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>