Здравствуйте!
Подскажите, что сделать, что бы radius правильно читал атрибуты? У меня в конфигурации NAS-а указан вендор Cisco.
connection.log пустой ((((((((((( но и error.log тоже.
Словарь атрибутов radiusclient-ng
Код:
# Proprietary indicates an attribute that hasn't
# been standardized
#
#
# NOTE: All standard (IANA registered) attributes are.
# defined in the default dictionary of the.
# radiusclient-ng library.
#
### Take standard attributes from the radiusclient-ng dictionaries ###
#$INCLUDE<-----><------>/etc/radiusclient-ng/dictionary
### SIP Attributes ###
ATTRIBUTE Sip-Method 101 integer # Schulzrinne, acc
ATTRIBUTE Sip-Response-Code 102 integer # Schulzrinne, acc
ATTRIBUTE Sip-Cseq 103 string # Schulzrinne, acc
ATTRIBUTE Sip-To-Tag 104 string # Schulzrinne, acc
ATTRIBUTE Sip-From-Tag 105 string # Schulzrinne, acc
ATTRIBUTE Sip-Branch-ID 106 string
ATTRIBUTE Sip-Translated-Request-URI 107 string # Proprietary, acc
ATTRIBUTE Sip-Uri-User 208 string # Proprietary, auth_radius
ATTRIBUTE Sip-Group 211 string # Proprietary, group_radius
ATTRIBUTE Sip-Rpid 213 string # Proprietary, auth_radius
ATTRIBUTE Billing-Party 218 string
ATTRIBUTE SIP-AVP 225 string # Proprietary, avp_radius
### Sip-Method Values ###
VALUE Sip-Method Undefined 0
VALUE Sip-Method Invite 1
VALUE Sip-Method Cancel 2
VALUE Sip-Method Ack 4
VALUE Sip-Method Bye 8
VALUE Sip-Method Info 16
VALUE Sip-Method Options 32
VALUE Sip-Method Update 64
VALUE Sip-Method Register 128
radius.log
Код:
10-16/12:57:12 INFO [main] DefaultServerSetup - Init DB connection pools
10-16/12:57:12 INFO [main] DefaultServerSetup - Init trash pools..
10-16/12:57:13 INFO [main] Radius - Starting radius auth_port:1812 acct_port:1813 admin_port:1956
10-16/12:57:13 INFO [main] Radius - Init processor.
class: bitel.billing.server.processor.voiceip.VoiceIpProcessor
<------>mid: 1
10-16/12:57:13 INFO [Thread-10] radius - Starting PortListener port=1812|type=AUTH_LISTENER
10-16/12:57:13 INFO [Thread-11] radius - Starting PortListener port=1813|type=ACCOUNT_LISTENER
10-16/12:57:13 INFO [Thread-12] AdminPortListener - Starting AdminPortListener on 1956
10-16/12:57:50 INFO [pool-2-thread-1] radius - ACCOUNT:.
Type=ACCOUNTING_REQUEST
Attributes:.
<------><AttrCode[102]>=undef
<------>User-Name=1000@192.168.0.100
<------><AttrCode[101]>=undef
<------>NAS-IP-Address=127.0.0.1
<------>NAS-Port=5060
<------>Service-Type=15
<------>Acct-Status-Type=1
<------>Acct-Delay-Time=0
<------><AttrCode[107]>=undef
<------><AttrCode[104]>=undef
<------>Acct-Session-Id=NGFlZDczMzEzMTFlMzg4MTIyYzJiZWY4ZTczMWYwMzU.
<------><AttrCode[105]>=undef
<------><AttrCode[223]>=undef
<------>Event-Timestamp=1287219470
<------><AttrCode[214]>=undef
<------><AttrCode[215]>=undef
<------>Calling-Station-Id=sip:1000@192.168.0.100
<------>Called-Station-Id=sip:00000@212.53.40.40
10-16/12:57:50 INFO [pool-2-thread-1] radius - RESPONSE:
Type=ACCOUNTING_RESPONSE
Process time start: 2.
Attributes:.
processor.log
Код:
10-16/14:01:48 INFO [main] processor - Loading NAS list...
10-16/14:01:48 INFO [main] processor - LOADED NAS: [ NAS-Identifier: openser; NAS-IP-Address: 127.0.0.1; SECRET: openser; Vendor: 9 ]
CONFIG: service=1
auth.in=voip/originate
auth.out=voip/answer
acct.in=all/all
acct.out=all/all
10-16/14:01:48 INFO [main] VoiceIpProcessor - [ NAS-Identifier: openser; NAS-IP-Address: 127.0.0.1; SECRET: openser; Vendor: 9 ] find modes: User-Name=LOGIN User-Name=ALIAS Calling-Station-Id=ALIAS