[SR-Users] how to m_store to database not just a "body" with MSILO?
denis kremov
d.kremov at mail.ru
Thu Jul 3 16:38:16 CEST 2014
Hello All,
Subj, need you help,
How to store this type of message to MSILO database?
Content-Type: message/external-body;access-type=URL;URL="https://xxx.com//download/539c28884_3e071c9db68044f687bf.jpg"
I modified and recompiled msilo.c to resolve this error:
ERROR: msilo [msilo.c:626]: m_store(): body of the message is empty! but after that - m_store just store this information to database:
mysql> select * from silo;
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
| id | src_addr | dst_addr | username | domain | inc_time | exp_time | snd_time | ctype | body | extra_hdrs | callid | status |
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
| 30 | sip:777351300 at xxx.in | sip:777581288 at xxx.in | 777581288 | xxx.in | 1402479947 | 1403479946 | 0 | message/external-body | | | | 0 |
+----+-------------------------+-------------------------+-----------+-----------+------------+------------+----------+-----------------------+------+------------+--------+--------+
1 row in set (0.00 sec) How can I store to database "access-type=URL" and and URL="xxxx" ?
Thanks All!
--
denis kremov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140703/54a8a6df/attachment.html>
More information about the sr-users
mailing list