[SR-Users] how to m_store to database not just a "body" with MSILO?
Daniel-Constantin Mierla
miconda at gmail.com
Fri Jul 18 09:27:25 CEST 2014
Hello,
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.
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:
- http://sip-router.org/tracker/
Cheers,
Daniel
On 03/07/14 16:38, denis kremov wrote:
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140718/df5f8add/attachment.html>
More information about the sr-users
mailing list