[OpenSIPS-Users] R: MediaProxy call termination

Mauro Davi' mauro.davi at acotel.com
Fri Mar 6 09:58:22 CET 2009


Thanks Dan,

this solution works only for opensips 1.5. Is it correct?

Thanks a lot
	MD

-----Messaggio originale-----
Da: Dan Pascu [mailto:dan at ag-projects.com] 
Inviato: giovedì 5 marzo 2009 22:14
A: Mauro Davi'
Cc: users at lists.opensips.org
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



More information about the Users mailing list