Hi DanB... Finally i have to set up manually, nothing different from README configuration and from my older platform running previous version of freeradius-cdrtool (1.1)... It's doesn't matter, setting up manually is enough for me... Thank you. I have other stupid problem... first one is extracting gateway ip in authorization section of the script. I see it is extracted from NAS-IP-Address... this contain the loopbak ip 127.0.0.1... how i can change this parameter in openser to send my real gateway ip? The second one isn't so easy and it's possible that have some kind of relation with the previous one. When the script tries to do and endsession over cdrtool (6.6.9) rating engine, it raises the following exception: rlm_python [freeradius-cdrtool]: DebitBalance [EMAIL PROTECTED] [EMAIL PROTECTED] To=sip:[EMAIL PROTECTED]:5060 Gateway=127.0.0.1 Duration=9 rlm_python:EXCEPT:exceptions.AttributeError: 'NoneType' object has no attribute 'find' I'll try to investigate a bit more why this is happening... Cheers.
DanB-2 wrote: > > Raul, > > regarding auth parameter, you can either get it as returned from the > rad_auth (inside the avp), or force it yourself. > Make sure you have the attribute defined into the dictionary and check > once > again the configurations. > > If you need further help, send me the "radiusd -X" output for both of your > auth and acct-stop as well as your openser config. > > Cheers, > DanB > > On Tue, Oct 7, 2008 at 1:14 PM, raul2r2 <[EMAIL PROTECTED]> wrote: > >> >> Thank you for your answer Dan... The problem was that the previous README >> file was too similar and i forget read more carefully the configuration >> part >> because i suppose in a first sight that it was equal to the new one... >> Another stupid question is why script don't receive the Acct-Authentic >> parameter from openser, giving up accounting it when receive the >> accounting >> start packet... I can sure you that i revised README file again and >> nothing >> different in configuration... I have Acct-Authentic in acc extra >> parameters >> and also defined in freeradius dictionary... strange thing is that in >> previous version of the script this is working... I Know that is not a >> script problem, openser must send this parameter... but why not? >> Thank you in advance... >> >> >> Diego Zuaneti Arruda wrote: >> > >> > Hi all, >> > >> > How I send to freeradius-cdrtool the maxCallDuration and UserCredit? >> > On the /etc/raddb/users I have: >> > >> > [EMAIL PROTECTED] Auth-Type := Digest, User-Password == >> "mypassword" >> > Reply-Message = "Authenticated", >> > SIP-AVP = "authentic#1", >> > SIP-AVP = "callMaxDur:60", >> > SIP-AVP = "credit:25" >> > >> > Is this correct ? >> > >> > >> > >> > Thanks. >> > Diego. >> > >> > _______________________________________________ >> > Users mailing list >> > Users@lists.kamailio.org >> > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Send-MaxCallDuration-and-UserCredit-for-freeradius-cdrtool-tp19731475p19855938.html >> Sent from the OpenSER Users Mailing List mailing list archive at >> Nabble.com. >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.kamailio.org >> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@lists.kamailio.org > http://lists.kamailio.org/cgi-bin/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Send-MaxCallDuration-and-UserCredit-for-freeradius-cdrtool-tp19731475p19863211.html Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users