Thanks Dan,
this solution works only for opensips 1.5. Is it correct?
Thanks a lot
MD
-----Messaggio originale-----
Da: Dan Pascu [mailto:[email protected]]
Inviato: giovedì 5 marzo 2009 22:14
A: Mauro Davi'
Cc: [email protected]
Oggetto: Re: [OpenSIPS-Users] MediaProxy call termination
On Thursday 05 March 2009, Mauro Davi' wrote:
> Hi All,
>
>
>
> I have a question. If the RTP stream don't pass trough the Media proxy
> after a timeout the call is closed.
>
>
>
> Tha call control module receive the stop event correctly, but in the
> account table isn't present the BYE message (the call is closed by the
> Media Proxy).
>
>
>
> There is a way to write in the accounting table the BYE message?
You need to call the accounting functions explicitly in local_route for
the internally generated BYEs as they do not trigger accounting by just
setting the accounting flag. Something like this:
local_route {
if (method=="BYE") {
acc_rad_request("Internally generated BYE");
}
}
--
Dan
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users