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@xxx.in | sip:777581288@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!