[OpenSIPS-Users] MediaProxy call termination
Dan Pascu
dan at ag-projects.com
Thu Mar 5 22:14:04 CET 2009
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
More information about the Users
mailing list