<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
perhaps the module needs to be refactored to store the full body for
content-type. Not it doesn't store the parameters in that header.<br>
<br>
I will look over it soon if nobody else does it. Maybe you should
open an issue on tracker so we don't forget about it:<br>
<br>
- <a class="moz-txt-link-freetext" href="http://sip-router.org/tracker/">http://sip-router.org/tracker/</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 03/07/14 16:38, denis kremov wrote:<br>
</div>
<blockquote cite="mid:1404398296.198851252@f314.i.mail.ru"
type="cite">
Hello All,<br>
<br>
Subj, need you help,<br>
<br>
How to store this type of message to MSILO database?<br>
<br>
<p>Content-Type:
message/external-body;access-type=URL;URL=<a class="moz-txt-link-rfc2396E" href="https://xxx.com//download/539c28884_3e071c9db68044f687bf.jpg">"https://xxx.com//download/539c28884_3e071c9db68044f687bf.jpg"</a>
<br>
<br>
I modified and recompiled msilo.c to resolve this error:<br>
<span style="font-size: 12px;">ERROR: msilo [msilo.c:626]:
m_store(): body of the message is empty!</span></p>
but after that - m_store just store this information to database: <br>
<br>
<p>mysql> select * from silo;<br>
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+<br>
| id | src_addr | dst_addr | username | domain | inc_time |
exp_time | snd_time | ctype | body | extra_hdrs | callid |
status |<br>
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+<br>
| 30 | <a class="moz-txt-link-freetext" href="sip:777351300@xxx.in">sip:777351300@xxx.in</a> | <a class="moz-txt-link-freetext" href="sip:777581288@xxx.in">sip:777581288@xxx.in</a> | 777581288 |
xxx.in | 1402479947 | 1403479946 | 0 | message/external-body | |
| | 0 |<br>
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+<br>
1 row in set (0.00 sec)</p>
How can I store to database "access-type=URL" and and URL="xxxx"
?<br>
<br>
Thanks All!<br>
<br>
<br>
-- <br>
denis kremov
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>