[OpenSIPS-Users] AcctStopTime not updating when using Freeradius

Mark Dalby mpd at zimo.co.uk
Fri Sep 23 10:32:37 CEST 2011


Hi Guys, 

This might not be the best place to ask this question but I thought I'd give it a try anyway.

I'm using Freeradius with acc module on my OpenSIPs installation for accounting and it seems to have a problem updating records on call completion.

I can see from the free radius debug console that OpenSIPS is passing the required information to FreeRadius but for some reason the update_radacct_record function doesn't seem to be updating the relevant records..


For Example..

CALL insert_radacct_record('radius','110c0ed63d75633e01c17ee77ff9c6de at 11.11.11.111:5060','ea253b7a5d5c73c9','','','','5060','2011-09-23 09:45:50','0','0','0','0','sip:=2B447666999666 at 11.11.11.111:5060','sip:=2B448003334000 at 11.11.11.111','200','Sip-Session','','','0','0','200','Invite','sip:=2B447666999666 at 22.22.22.222','1674763392','as0b41b78a','','','','sip:=2B447595983654 at 22.22.22.222','','','','Development Gateway,'')

works perfectly and inserts the correct records but

CALL update_radacct_record('radius','2011-09-23 09:45:53','0','','','393f414-1aaa1948-4f2616a2-c093 at 10.16.59.96','315957484','as36ebf1a9' ) shows as running successfully in freeradius but I end up with no data being updated for that record.

I appreciate this probably more Freeradius related but if anyone has had the same issues, could you give me some pointers on where to look to fix this.

Many Thanks, 

-- 
Mark Dalby
e: mpd at zimo.co.uk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110923/9009c97d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4359 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20110923/9009c97d/attachment.bin>


More information about the Users mailing list