[SR-Users] msilo
Daniel-Constantin Mierla
miconda at gmail.com
Thu Nov 17 10:44:22 CET 2016
Hello,
if you want to fetch them for config usage is ok, otherwise m_dump() is
still better, because it takes care of removing delivered messages, etc...
Cheers,
Daniel
On 16/11/16 16:08, Slava Bendersky wrote:
> Hello Daniel,
> Yes that good alternative. I will use sql to fetch or insert staff.
>
>
> Slava
>
> ------------------------------------------------------------------------
> *From: *"Daniel-Constantin Mierla" <miconda at gmail.com>
> *To: *"sr-users" <sr-users at lists.sip-router.org>
> *Sent: *Wednesday, 16 November, 2016 04:37:24
> *Subject: *Re: [SR-Users] msilo
>
> Hello,
>
> as an alternative, I think it should work by using sql_query(...) to
> insert whatever values one would like to have in msilo table. This
> might be a quick workaround until someone will code the extension to
> get the body via a function parameter.
>
> Cheers,
> Daniel
>
>
> On 15/11/16 16:07, Federico Cabiddu wrote:
>
> Hi Slava,
> if I understand correctly your scenario,
> you could call t_on_failure before relaying the MESSAGE. In this
> way you should have access to the original message in the failure
> route triggered after receiving a final reply and you should be
> able to store it with the regular msilo functions.
> Hope this helps.
>
> Cheers,
>
> Federico
>
>
> On 15 Nov 2016 3:47 pm, "Slava Bendersky" <volga629 at skillsearch.ca
> <mailto:volga629 at skillsearch.ca>> wrote:
>
> Hello Daniel,
> I am not programmer, but I want place request if kaamilio devs
> can complete it .
> Thanks
>
>
> Slava.
>
> ------------------------------------------------------------------------
> *From: *"Daniel-Constantin Mierla" <miconda at gmail.com
> <mailto:miconda at gmail.com>>
> *To: *"sr-users" <sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>>
> *Sent: *Tuesday, 15 November, 2016 03:00:19
> *Subject: *Re: [SR-Users] msilo
>
> Hello,
>
> for me it is fine to add a new parameter to m_store() that
> takes the body content.
>
> Are you asking for more details of how can be done?
>
> Cheers,
> Daniel
>
> On 13/11/16 07:08, Slava Bendersky wrote:
>
> Hello Everyone,
> I asking question/request to add improvement for msilo
> module where will have ability set $avp(i:body) in mod
> params. That will allow use it in m_store() by specifying
> body message $avp. In my case registration is on B2BUA
> so kamailio pass through/proxy to destination. In order
> to check user status online/offline kamailio wait for
> reply from B2BUA on MESSAGE status if it return error 503
> that mean user offline and m_store(0 should store message
> in db, but the issue that error 503 is in final stage and
> MESSAGE body is not available any more. The improvement
> will allow specify body $var in m_store() so new way
> will be m_store($tu, $avp(body)).
>
> Any help thank you.
>
> Slava.
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
>
> _______________________________________________ SIP Express
> Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> _______________________________________________ SIP Express
> Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
>
> _______________________________________________
> 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://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161117/122cce44/attachment.html>
More information about the sr-users
mailing list