<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 (1 binding) | </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 | </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 (1 binding) | </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 (1 binding) | </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 (1 binding) | </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 | </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 (1 binding) | </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 (1 binding) | </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" <<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></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>