tcl ivr v2 get aaa_avpair h323-credit-amount error

Unanswered Question
Nov 28th, 2002
User Badges:

Hi,


In cisco tcl v2, to get credit time, we do:

set creditTimeLeft [infotag get leg_settlement_time leg_outgoing]


But, when I try to get credit amount (as in access-accept by the radius server)

set creditAmount [infotag get aaa_avpair h323-credit-amount]


//-1//TCL2:HN00A48010:/TclInterpDriver: Tcl_Eval Failed in action=act_Authenticated code=1

code=ERROR

IVR TCL script failure

Result:

Radius Param AV Pair h323-credit-amount Not Found

IVR TCL script failure errorInfo:

Radius Param AV Pair h323-credit-amount Not Found

while executing

"infotag get aaa_avpair h323-credit-amount"

invoked from within

"set creditAmount [infotag get aaa_avpair h323-credit-amount]..."


I suspect that cisco is looking for the h323-credit-amount in the access-request packet (which does not contain credit amt),

instead of in the access-accept packet (which has the credit amt, as replied by the radius server).


Anyone encountered the same problem?


Thanks.


Regards,

Grace


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
grace.tan Fri, 11/29/2002 - 07:28
User Badges:

Hi,


Thanks for the reply.


I found out that I should not do "aaa authenticate" (tho my radius server did reply with credit-amount"


It works when I changed it to "aaa authorize".


Thanks.


Regards,

Grace

Actions

This Discussion