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
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to