Hi all
the FR receive the accounting request:
rad_recv: Accounting-Request packet from host
172.26.0.8 port 1645, id=186,
length=399
User-Name =
"0873000001"
NAS-IP-Address =
0.0.0.0
Service-Type =
Dialout-Framed-User
Class =
0x436c6173733d333030
Cisco-AVPair
= "h323-incoming-conf-id=b97aff16 c99911dd 8125d127 98296413
"
h323-conf-id =
"h323-conf-id=b97aff16 c99911dd 8125d127 98296413
"
h323-setup-time =
"h323-setup-time= 4:43:17.000 UTC Mon Dec 15
2008"
h323-connect-time =
"h323-connect-time= 4:43:21.000 UTC Mon Dec 15
2008"
h323-call-type =
"h323-call-type=VOIP"
Called-Station-Id = "0873000012"
Calling-Station-Id = "0873000001"
Acct-Status-Type = Start
Acct-Session-Id = "b97aff16 c99911dd 8125d127 98296413
"
Event-Timestamp = "Dec 15 2008
11:43:21 ICT"
NAS-Port-Type =
Ethernet
then FR should send accounting respond
:
h323-credit-amount=customer
balance at the time of authentication
h323-return-code=0(accept)/2(reject)
h323-billing-model=2
but FR send:
Sending Accounting-Response of id 192 to 172.26.0.8
port 1645
can the FR do that? if yes, where should i
edit
if i want to send response to NAS i should add the
attribute in the attrs.accounting-response :
h323-credit-amount=*
ANY
h323-return-code=*
ANY
h323-billing-model=*
ANY
i check the attrs.accounting-reponse:
#
#
Configuration file for the rlm_attr_filter
module.
# Please see rlm_attr_filter(5)
manpage for more information.
#
#
$Id$
#
# This configuration file is
used to remove almost all of the
attributes
# From an Accounting-Response
message. The RFC's say that an
#
Accounting-Response packet can contain only a few
attributes.
# We enforce that
here.
#
DEFAULT
Vendor-Specific =* ANY,
Message-Authenticator =* ANY,
Proxy-State =* ANY,
1 more question:
i read the man unlang times but
cannot figure out how to use it
could you give the example for specific case such
as Access Reject/ update the Access Reject/Accept
Thanks
Ha`