[OpenSIPS-Users] New acc module for cdr generation over Radius
mbsip at gazeta.pl
Fri Apr 29 16:42:55 CEST 2011
Thanks for info.
I am about to work on this.
2011/4/21 Vlad Paiu <vladpaiu at opensips.org>:
> The new CDRs type of accounting in OpenSIPS 1.6.4 only produces one entry
> per call for every type of backend, whether it's a DB, Radius or Syslog. So
> it's natural to only have a single STOP entry per call, and not two, a start
> and stop entry as in the old type of accounting.
> The STOP packet should also contain the Sip-Call-Duration and
> Sip-Call-Duration attributes, defined in the 'etc/dictionary.opensips'
> dictionary that comes with the OpenSIPS sources. Are you using that provided
> dictionary ?
> On 04/17/2011 11:38 PM, Maciej Bylica wrote:
>> Dear OS Fans,
>> I've just managed to configure new acc with dialog cdr generation
>> feature with Mysql.etc/dictionary.opensipset
>> It looks fine and realy help to do accouting for some of us.
>> In my scenario there is a need to use Radius.
>> As stated in acc module description, there is a need to use cdr_flag
>> and setflag in initial invite.
>> Once it is set there i do receive only STOP radius acc packet.
>> In case i do not have setflag set anywere in my script Opensips
>> produce START and STOP packet properly.
>> Does anyone knows where to look for the problem?
>> Last question does standard STOP packet incorporate call duration attr
>> anyhow or should i use aaa_extra in my config.
>> My STOP packet is as follows:
>> Sun Apr 17 21:08:38 2011
>> Acct-Status-Type = Stop
>> Service-Type = IAPP-Register
>> Sip-Response-Code = 200
>> Sip-Method = Bye
>> Event-Timestamp = "\266:\253M\374\212\256"
>> Sip-From-Tag = "eb759c18"
>> Sip-To-Tag = "00-07350-027f5afd-492940963"
>> Acct-Session-Id =
>> User-Name = "11122233 at 184.108.40.206"
>> Calling-Station-Id = "sip:11122233 at 220.127.116.11"
>> Called-Station-Id = "sip:999887766 at 18.104.22.168"
>> Sip-Translated-Request-URI = "sip:22.214.171.124:5060"
>> User-Agent = "X-Lite release 1003l stamp 30942"
>> Contact = "<sip:11122233 at 10.119.204.184:15950>"
>> NAS-Port-Id = 5060
>> Acct-Delay-Time = 0
>> NAS-IP-Address = 127.0.0.1
>> Client-IP-Address = 127.0.0.1
>> Acct-Unique-Session-Id = "7e6e2ace14ff4970"
>> Timestamp = 1303067318
>> I do have the latest OS 1.6.4-2-notls revision 7872.
>> Thx in advance for help,
>> Users mailing list
>> Users at lists.opensips.org
> Users mailing list
> Users at lists.opensips.org
More information about the Users