[OpenSIPS-Users] msilo on failure_route

Dani Popa dani.popa at gmail.com
Fri Feb 15 11:19:52 CET 2013


Hi,

Regarding msilo module and example from the documentation, one simple
question:

if i have 5 clients already registered and non of them know IM(message sip
method), on next failure_route(it was taken from modules documentation).
haw many times the message is stored in database ? In fact the question is,
because of sip forking, how many times the IM message is stored in db with
m_store on failure_route.

Thanks,
Dani

failure_route[1] {
    # forwarding failed -- check if the request was a MESSAGE
    if (!method=="MESSAGE")
    {
        exit;
    };

    log(1,"MSILO:the downstream UA doesn't support MESSAGEs\n");
    # we have changed the R-URI with the contact address, ignore it now
    if (m_store("$ou"))
    {
        log("MSILO: offline message stored\n");
        t_reply("202", "Accepted");
    }else{
        log("MSILO: offline message NOT stored\n");
        t_reply("503", "Service Unavailable");
    };
}


-- 
Dani Popa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130215/d7311e48/attachment.htm>


More information about the Users mailing list