[OpenSIPS-Users] AcctStopTime not updating when using Freeradius

Ovidiu Sas osas at voipembedded.com
Fri Sep 23 15:09:46 CEST 2011


Have you checked for errors in the freeradius  logs?
Run the sql queries by hand and see what's going on in the db.

Regards,
Ovidiu Sas

On Fri, Sep 23, 2011 at 4:32 AM, Mark Dalby <mpd at zimo.co.uk> wrote:
> 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



More information about the Users mailing list