[OpenSER-Users] Radius accounting and Dialog

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 12 09:47:58 CEST 2008


Hi David,

This should work, if you manage to convince the UAC to periodically send 
some with-in the dialog requests.

When sending the BYE via MI command, you could use a local_route to 
catch the BYE and do accounting for it from the script.

Regards,
Bogdan

David Villasmil wrote:
> Hello all,
>
>      Question: I know BYE messages aren't gusranteed to be delivered 
> as far as accounting is concerned. BUT, Could Dialog and TM modules be 
> used in the following way:
>
> Setting a timeout on the dialog to receive the first message, i.e. 100 
> or 180.
> Instruct the UAC to send a message every 60 senconds to our server, 
> and reseting that timer when we receive it, so that we know that the 
> call hasn't ended.
>
> If we don't receive that "keep-alive" message we end the dialog with a 
> BYE (from an outside script) so that, even if the caller or calle 
> dropped out of the internet, we have a START and END for this call, 
> maybe loosing a few senconds.
>
> Is this possible at all?
>
>
> Thanks a lot!
>
> David
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the sr-users mailing list