[Serusers] Mediaproxy bug??

Robert Zorop rzorop at gmail.com
Sun Jul 30 02:25:44 CEST 2006


Hi, i'm using mediaproxy 1.7.2 and ser. I found a problem when trying to use
accounting features of mediaproxy. It simply does not account anything.
If i just only pass one path throught media proxy, (INVITE SIDE), it does
account media, and Kb data.

Here is my config. Please people.. any clue about this!?.


route[1] {

        t_on_reply("1");

        if (method == "INVITE") {
                use_media_proxy();

        } else if (is_method("BYE|CANCEL")) {
                end_media_session();
        };

        # send it out now; use stateful forwarding as it works reliably
        # even for UDP2TCP
        if (!t_relay()) {
                sl_reply_error();
        };
        exit;
}

onreply_route[1] {
        if (status=~"(180)|(183)|(2[0-9][0-9])") {
                use_media_proxy();
        };
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060729/ef8703c9/attachment-0001.htm>


More information about the sr-users mailing list