<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Dear Vlad,<div><br></div><div>Yes I am using that dictionary by including it into the main dictionary file as follows $INCLUDE dictionary.opensips</div><div><br></div><div>Now please guide me how to enable OpenSIPS to send Sip-Call-Duration attribute containing the call duration. Please help with some sample config. Thanks</div><div><br></div><div>Rgrds</div><div>----------</div><div>Abid Saleem</div><div>Terminus Technologies<br><br>> Date: Thu, 21 Apr 2011 19:53:57 +0300<br>> From: vladpaiu@opensips.org<br>> To: users@lists.opensips.org<br>> Subject: Re: [OpenSIPS-Users] New acc module for cdr generation over Radius<br>> <br>> Hello,<br>> <br>> The new CDRs type of accounting in OpenSIPS 1.6.4 only produces one <br>> entry per call for every type of backend, whether it's a DB, Radius or <br>> Syslog. So it's natural to only have a single STOP entry per call, and <br>> not two, a start and stop entry as in the old type of accounting.<br>> <br>> The STOP packet should also contain the Sip-Call-Duration and <br>> Sip-Call-Duration attributes, defined in the 'etc/dictionary.opensips' <br>> dictionary that comes with the OpenSIPS sources. Are you using that <br>> provided dictionary ?<br>> <br>> Regards,<br>> Vlad<br>> <br>> <br>> On 04/17/2011 11:38 PM, Maciej Bylica wrote:<br>> > Dear OS Fans,<br>> ><br>> > I've just managed to configure new acc with dialog cdr generation<br>> > feature with Mysql.etc/dictionary.opensipset<br>> > It looks fine and realy help to do accouting for some of us.<br>> > In my scenario there is a need to use Radius.<br>> > As stated in acc module description, there is a need to use cdr_flag<br>> > and setflag in initial invite.<br>> > Once it is set there i do receive only STOP radius acc packet.<br>> > In case i do not have setflag set anywere in my script Opensips<br>> > produce START and STOP packet properly.<br>> > Does anyone knows where to look for the problem?<br>> ><br>> > Last question does standard STOP packet incorporate call duration attr<br>> > anyhow or should i use aaa_extra in my config.<br>> > My STOP packet is as follows:<br>> > Sun Apr 17 21:08:38 2011<br>> > Acct-Status-Type = Stop<br>> > Service-Type = IAPP-Register<br>> > Sip-Response-Code = 200<br>> > Sip-Method = Bye<br>> > Event-Timestamp = "\266:\253M\374\212\256"<br>> > Sip-From-Tag = "eb759c18"<br>> > Sip-To-Tag = "00-07350-027f5afd-492940963"<br>> > Acct-Session-Id =<br>> > "b0790b4443102642ZTMzOWZlNGU0Njg4MDMwM2EzZjI1NTY5NTllNWFiYjk."<br>> > User-Name = "11122233@66.66.66.66"<br>> > Calling-Station-Id = "sip:11122233@66.66.66.66"<br>> > Called-Station-Id = "sip:999887766@66.66.66.66"<br>> > Sip-Translated-Request-URI = "sip:77.77.77.77:5060"<br>> > User-Agent = "X-Lite release 1003l stamp 30942"<br>> > Contact = "<sip:11122233@10.119.204.184:15950>"<br>> > NAS-Port-Id = 5060<br>> > Acct-Delay-Time = 0<br>> > NAS-IP-Address = 127.0.0.1<br>> > Client-IP-Address = 127.0.0.1<br>> > Acct-Unique-Session-Id = "7e6e2ace14ff4970"<br>> > Timestamp = 1303067318<br>> ><br>> > I do have the latest OS 1.6.4-2-notls revision 7872.<br>> ><br>> > Thx in advance for help,<br>> > Maciej.<br>> ><br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@lists.opensips.org<br>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>> > <br>> <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></div>                                            </body>
</html>