[Serusers] Re: Mediaproxy bug??

Robert Zorop rzorop at gmail.com
Wed Aug 2 00:18:28 CEST 2006


hi all, please is someone under the same problem as i am? . I can't get
mediaproxy accoounting (apparently if the two RTP channels get stablished).

Please anyone that can drop me a line with this, thanks very much.


2006/7/29, Robert Zorop <rzorop at gmail.com>:
>
> 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/20060801/57b8dbe1/attachment-0001.htm>


More information about the sr-users mailing list