I'm using the freeradius 1.1.7, and not patched the rlm_digest.
  Where to find the patch rlm_digest ?
 
 
Diego.
----- Original Message -----
From: DanB
To: Diego Zuaneti Arruda
Cc: users@lists.kamailio.org
Sent: Tuesday, September 30, 2008 11:08 AM
Subject: Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for freeradius-cdrtool

Diego,

the problem is with your digest module which is sanitizing the  parameters in authentication phase only, therefore the parameters like Username, Digest-URI are not available in the authorization phase (no way for the connector to read them).
Did u patch your rlm_digest as per the README.txt? What version of freeradius are u using?

DanB

On Tue, Sep 30, 2008 at 3:56 PM, Diego Zuaneti Arruda <diego@fasternet.com.br> wrote:
  DanB,
 
   Yes, I changed the kamailio.cfg.
   I´m sending the full log of radius attached.
 
 
Diego.
----- Original Message -----
From: DanB
Sent: Tuesday, September 30, 2008 10:34 AM
Subject: Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for freeradius-cdrtool

Diego,

looks like there was no session started at first place.
Did u change the openser.cfg config? You need to add callid into radius_proxy_authorize so that the callid should be used (example in README.txt of the freeradius-cdrtool sources).

Also, can u post a full authorize/account_start/account_stop sequence as logged by "radiusd -X".

DanB
On Tue, Sep 30, 2008 at 3:00 PM, Diego Zuaneti Arruda <diego@fasternet.com.br> wrote:
  Hi DanB,
 
I updated the CDRTool to version 6.6.8 and freeradius-cdrtool to version 1.2-pre.
I'm getting this log and not doing the Debit.
 
Sep 30 09:57:22 sipserver1 cdrtool[12948]: DebitBalance CallId=000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1 From=87001@mydomain.com.br To=sip:00551599998888@mydomain.com.br Gateway=127.0.0.1 Duration=11
Sep 30 09:57:22 sipserver1 cdrtool[12948]: ConnectFee=0.00 Span=1 Duration=60 DestId=55159 domain=mydomain.com.br Profile=551 Period=weekday Rate=551 Interval=0-24 Cost=0.85/60 Price=0.8500
Sep 30 09:57:22 sipserver1 cdrtool[12948]: Error: session 000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1 for 87001@mydomain.com.br does not exist
 
 
Thanks.
Diego.
----- Original Message -----
From: DanB
Sent: Tuesday, September 30, 2008 5:47 AM
Subject: Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for freeradius-cdrtool

Hi Diego,

you don't need to set anything in Users file. The connector does that for you dynamically, based on the responses received from cdrtool. Your configuration will be static and always limit the user to the same call duration. For more information, see the README file within freeradius-cdrtool source directory.

Cheers,
DanB

On Mon, Sep 29, 2008 at 10:49 PM, Diego Zuaneti Arruda <diego@fasternet.com.br> wrote:
  Hi all,
 
   How I send to freeradius-cdrtool the maxCallDuration and UserCredit?
   On the /etc/raddb/users I have:
 
87001@mydomain.com.br 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