[OpenSIPS-Users] OpenSIPs Radius Accounting.

Muhammad Shahzad shaheryarkh at gmail.com
Mon Apr 29 17:36:58 CEST 2013


Per my understanding, accounting event is sent when BYE completes, whether
if destination replies with 200 OK or BYE re-transmission times out and
opensips responds with 408 Request timeout. In each case SIP response code
is set appropriately and you should use stop time as accounting end time
rather then the time your receive account stop request on radius (they both
may differ, e.g. under high load scenarios).

Thank you.



On Mon, Apr 29, 2013 at 3:27 PM, qasimakhan at gmail.com
<qasimakhan at gmail.com>wrote:

> Hi,
>
> I wanted to confirm if radius accounting requests are generated on a
> successful transaction or it can be generated on a received BYE only. To
> elaborate my question you can look at 2 diagrams below. Is first scenario
> correct based on RFC's? My next question is that if scenario A is correct
> then how can we account the call if say user B has gone offline and we do
> not receive 200 OK of the BYE sent?
>
> Can we send a manual accounting request to Radius with acc_aaa_request in
> accounting module?
>
> *Scenario A:*
> User A            OpenSIPs                Radius           User B
>     |-------BYE------->|                                                  |
>     |                       |---------------------BYE-------------------->|
>     |                       |-------acct-BYE------->|
>
> *Scenario B:*
> User A            OpenSIPs                Radius           User B
>     |-------BYE------->|                              |                   |
>     |                       |---------------------BYE-------------------->|
>     |                       |<-------------------200 OK -----------------|
>     |<----200 OK -----|
>     |                       |-------acct-BYE------->|
>
>
> Regards,
> Qasim Ayyaz Khan
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130429/55b70eb6/attachment-0001.htm>


More information about the Users mailing list