voip и авторизация
voip и авторизация
Завожу в UTM пользователя с услугой ip-телефонии. В качестве логина - телефонный номер. Звонки проходят - всё прекрасно считается. НО также проходят звонки незарегистрированных в UTM пользователей, при этом в логе радиуса следующее:
?Debug : Jul 15 09:23:21 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 09:23:21 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 09:23:21 RADIUS Packet: Size <91>; HDR.Size <91>
?Debug : Jul 15 09:23:21 AcctServer: Recv...
?Debug : Jul 15 09:23:21 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 242
<Vendor: 0; Attr: 1>[7]: 33333430323030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430323030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 0000000f
<Vendor: 0; Attr: 44>[8]: 3030303031373441
<Vendor: 0; Attr: 45>[4]: 00000000
?Debug : Jul 15 09:23:21 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 09:23:21 AcctServer: Acct packet with session ID: 0000174A
?Debug : Jul 15 09:23:21 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 09:23:21 AcctServer: Acct-Start packet
?Debug : Jul 15 09:23:21 AcctServer: Acct-Start: User <3340200>
?Debug : Jul 15 09:23:21 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 09:23:21 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216081401>!
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Calling-Station-ID <3340200> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Called-Station-ID <89501093559> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <89501093559>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Calling-Station-ID <3340200> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Called-Station-ID <89501093559> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <89501093559>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: No data for login: 3340200
ERROR : Jul 15 09:23:21 AcctServer: Error! (2)
В отчётах по телефонии этот звонок не появляется.
Как сделать чтобы незарегистрированные пользователи блокировались?
?Debug : Jul 15 09:23:21 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 09:23:21 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 09:23:21 RADIUS Packet: Size <91>; HDR.Size <91>
?Debug : Jul 15 09:23:21 AcctServer: Recv...
?Debug : Jul 15 09:23:21 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 242
<Vendor: 0; Attr: 1>[7]: 33333430323030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430323030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 0000000f
<Vendor: 0; Attr: 44>[8]: 3030303031373441
<Vendor: 0; Attr: 45>[4]: 00000000
?Debug : Jul 15 09:23:21 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 09:23:21 AcctServer: Acct packet with session ID: 0000174A
?Debug : Jul 15 09:23:21 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 09:23:21 AcctServer: Acct-Start packet
?Debug : Jul 15 09:23:21 AcctServer: Acct-Start: User <3340200>
?Debug : Jul 15 09:23:21 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 09:23:21 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216081401>!
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Calling-Station-ID <3340200> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Called-Station-ID <89501093559> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <89501093559>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Calling-Station-ID <3340200> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <3340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <003340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <003340200>
?Debug : Jul 15 09:23:21 RADIUS DBA: Called-Station-ID <89501093559> is used in place of User-Name <3340200>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find login <89501093559>
?Debug : Jul 15 09:23:21 RADIUS DBA: Searching card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: Can't find card login <2147483647>
ERROR : Jul 15 09:23:21 RADIUS DBA: No data for login: 3340200
ERROR : Jul 15 09:23:21 AcctServer: Error! (2)
В отчётах по телефонии этот звонок не появляется.
Как сделать чтобы незарегистрированные пользователи блокировались?
нету авторизации получается. я так это понимаю: происходит попытка найти логин - логина нет(пользователь не заведён в utm), авторизация не проходит но звонок всё равно идёт.
вот лог, когда звонит заведённый в utm пользователь:
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:22:49 RADIUS Packet: Size <90>; HDR.Size <90>
?Debug : Jul 15 12:22:49 AcctServer: Recv...
?Debug : Jul 15 12:22:49 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 243
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373537
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:22:49 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:22:49 AcctServer: Acct packet with session ID: 00001757
?Debug : Jul 15 12:22:49 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:22:49 AcctServer: Acct-Start packet
?Debug : Jul 15 12:22:49 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:22:49 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:22:49 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092169>!
?Debug : Jul 15 12:22:49 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:22:49 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:22:49 RADIUS DBA: info for user found. type <3> info addr <135306240>
?Debug : Jul 15 12:22:49 RADIUS DBA: search_user_info return info <135306240>
?Debug : Jul 15 12:22:49 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:22:49 RADIUS DBA: Setting interim interval <0> for session id <00001757>
?Debug : Jul 15 12:22:49 RADIUS DBA: h323-conf-id not present. Setting to session-id <00001757>
?Debug : Jul 15 12:22:49 RADIUS DBA: TELTARIFF: called number <> calling number <3340000> direction id <0> zone id <0>
?Debug : Jul 15 12:22:49 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: init log id <6>
?Debug : Jul 15 12:22:49 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 243
?Debug : Jul 15 12:22:49 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:22:49 AcctServer: Next...
?Debug : Jul 15 12:22:49 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:22:51 RADIUS Stream[plugin]: Account <17> with balance <0.000>
?Debug : Jul 15 12:22:51 RADIUS Stream[plugin]: Account <55> with balance <-258.601>
?Debug : Jul 15 12:22:54 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:22:56 RADIUS Stream[plugin]: Account <28> with balance <-664.077>
?Debug : Jul 15 12:22:59 RADIUS Stream[plugin]: Account <56> with balance <-7608.854>
?Debug : Jul 15 12:22:59 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <103>; HDR.Size <103>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 244
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373539
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 00001759
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start packet
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:23:02 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092182>!
?Debug : Jul 15 12:23:02 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:23:02 RADIUS DBA: info for user found. type <3> info addr <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return info <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:23:02 RADIUS DBA: Setting interim interval <0> for session id <00001759>
?Debug : Jul 15 12:23:02 RADIUS DBA: h323-conf-id not present. Setting to session-id <00001759>
?Debug : Jul 15 12:23:02 RADIUS DBA: TELTARIFF: called number <89501093559> calling number <3340000> direction id <1001000> zone id <1>
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: init log id <7>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 244
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <133>; HDR.Size <133>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 245
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00000000
<Vendor: 0; Attr: 43>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373539
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000000
<Vendor: 0; Attr: 47>[4]: 00000000
<Vendor: 0; Attr: 48>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 00001759
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:02 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092182>
?Debug : Jul 15 12:23:02 RADIUS Tarif: UT for telephony called. tkey:1001000 start:1216092182 stop:1216092182
?Debug : Jul 15 12:23:02 RADIUS Tarif: Telephony service <26> free time <0>
?Debug : Jul 15 12:23:02 RADIUS DBA: VoIP calculated cost: 0.000
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: finish log id <7>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 245
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <91>; HDR.Size <91>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 246
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373542
<Vendor: 0; Attr: 45>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 0000175B
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start packet
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:23:02 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092182>!
?Debug : Jul 15 12:23:02 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:23:02 RADIUS DBA: info for user found. type <3> info addr <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return info <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:23:02 RADIUS DBA: Setting interim interval <0> for session id <0000175B>
?Debug : Jul 15 12:23:02 RADIUS DBA: h323-conf-id not present. Setting to session-id <0000175B>
?Debug : Jul 15 12:23:02 RADIUS DBA: TELTARIFF: called number <89501093559> calling number <3340000> direction id <1001000> zone id <1>
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: init log id <8>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 246
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:04 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:09 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:10 RADIUS Stream[plugin]: Account <67> with balance <-2473.622>
?Debug : Jul 15 12:23:11 RADIUS Stream[plugin]: Account <10> with balance <0.000>
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:14 RADIUS Packet: Size <142>; HDR.Size <142>
?Debug : Jul 15 12:23:14 AcctServer: Recv...
?Debug : Jul 15 12:23:14 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 247
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0(0); Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00001c20
<Vendor: 0; Attr: 43>[4]: 00000f31
<Vendor: 0; Attr: 44>[8]: 3030303031373537
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000005
<Vendor: 0; Attr: 47>[4]: 00000168
<Vendor: 0; Attr: 48>[4]: 000000de
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct packet with session ID: 00001757
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:14 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:14 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:14 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092194>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT for telephony called. tkey:0 start:1216092169 stop:1216092174
?Debug : Jul 15 12:23:14 RADIUS Tarif: Telephony service <26> free time <0>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT cost_info sum:0.0000 setup_time <1216092169>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP Discount: TR ID 0: 0.000 for 5 sec setup_time <1216092169>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <0> downloaded <336>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <1001000> downloaded <217>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP calculated cost: 0.000
?Debug : Jul 15 12:23:14 RADIUS Stream[plugin]: finish log id <6>
?Debug : Jul 15 12:23:14 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 247
?Debug : Jul 15 12:23:14 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:14 AcctServer: Next...
?Debug : Jul 15 12:23:14 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:14 RADIUS Packet: Size <121>; HDR.Size <121>
?Debug : Jul 15 12:23:14 AcctServer: Recv...
?Debug : Jul 15 12:23:14 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 248
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00000f31
<Vendor: 0; Attr: 43>[4]: 000012c0
<Vendor: 0; Attr: 44>[8]: 3030303031373542
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000005
<Vendor: 0; Attr: 47>[4]: 000000de
<Vendor: 0; Attr: 48>[4]: 000000f0
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct packet with session ID: 0000175B
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:14 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:14 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:14 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092194>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT for telephony called. tkey:1001000 start:1216092182 stop:1216092187
?Debug : Jul 15 12:23:14 RADIUS Tarif: Telephony service <26> free time <0>
Info : Jul 15 12:23:14 UT: session_addon <0>
Info : Jul 15 12:23:14 UT: tarification for slink 40, tr_id 1, mult 5.000000, next 1216092187
Info : Jul 15 12:23:14 UT: cost info:
Info : Jul 15 12:23:14 UT: type 0 deny 0 base_cost 1.000000 size 5 tr_id 1 mult 5.000000 added 0 sum 0.000000
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT cost_info sum:25.0000 setup_time <1216092182>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP Discount: TR ID 1001000: 25.000 for 5 sec setup_time <1216092182>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <0> downloaded <336>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <1001000> downloaded <222>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP calculated cost: 25.000
?Debug : Jul 15 12:23:14 RADIUS Stream[plugin]: finish log id <8>
?Debug : Jul 15 12:23:14 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 248
?Debug : Jul 15 12:23:14 RadiusSocket: Moving RADIUS packet into send queue
вот лог, когда звонит заведённый в utm пользователь:
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:22:49 RADIUS Packet: Size <90>; HDR.Size <90>
?Debug : Jul 15 12:22:49 AcctServer: Recv...
?Debug : Jul 15 12:22:49 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 243
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373537
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:22:49 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:22:49 AcctServer: Acct packet with session ID: 00001757
?Debug : Jul 15 12:22:49 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:22:49 AcctServer: Acct-Start packet
?Debug : Jul 15 12:22:49 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:22:49 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:22:49 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092169>!
?Debug : Jul 15 12:22:49 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:22:49 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:22:49 RADIUS DBA: info for user found. type <3> info addr <135306240>
?Debug : Jul 15 12:22:49 RADIUS DBA: search_user_info return info <135306240>
?Debug : Jul 15 12:22:49 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:22:49 RADIUS DBA: Setting interim interval <0> for session id <00001757>
?Debug : Jul 15 12:22:49 RADIUS DBA: h323-conf-id not present. Setting to session-id <00001757>
?Debug : Jul 15 12:22:49 RADIUS DBA: TELTARIFF: called number <> calling number <3340000> direction id <0> zone id <0>
?Debug : Jul 15 12:22:49 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: init log id <6>
?Debug : Jul 15 12:22:49 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 243
?Debug : Jul 15 12:22:49 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:22:49 AcctServer: Next...
?Debug : Jul 15 12:22:49 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:22:49 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:22:49 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:22:51 RADIUS Stream[plugin]: Account <17> with balance <0.000>
?Debug : Jul 15 12:22:51 RADIUS Stream[plugin]: Account <55> with balance <-258.601>
?Debug : Jul 15 12:22:54 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:22:56 RADIUS Stream[plugin]: Account <28> with balance <-664.077>
?Debug : Jul 15 12:22:59 RADIUS Stream[plugin]: Account <56> with balance <-7608.854>
?Debug : Jul 15 12:22:59 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <103>; HDR.Size <103>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 244
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373539
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 00001759
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start packet
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:23:02 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092182>!
?Debug : Jul 15 12:23:02 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:23:02 RADIUS DBA: info for user found. type <3> info addr <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return info <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:23:02 RADIUS DBA: Setting interim interval <0> for session id <00001759>
?Debug : Jul 15 12:23:02 RADIUS DBA: h323-conf-id not present. Setting to session-id <00001759>
?Debug : Jul 15 12:23:02 RADIUS DBA: TELTARIFF: called number <89501093559> calling number <3340000> direction id <1001000> zone id <1>
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: init log id <7>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 244
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <133>; HDR.Size <133>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 245
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00000000
<Vendor: 0; Attr: 43>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373539
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000000
<Vendor: 0; Attr: 47>[4]: 00000000
<Vendor: 0; Attr: 48>[4]: 00000000
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 00001759
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:02 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092182>
?Debug : Jul 15 12:23:02 RADIUS Tarif: UT for telephony called. tkey:1001000 start:1216092182 stop:1216092182
?Debug : Jul 15 12:23:02 RADIUS Tarif: Telephony service <26> free time <0>
?Debug : Jul 15 12:23:02 RADIUS DBA: VoIP calculated cost: 0.000
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: finish log id <7>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 245
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:02 RADIUS Packet: Size <91>; HDR.Size <91>
?Debug : Jul 15 12:23:02 AcctServer: Recv...
?Debug : Jul 15 12:23:02 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 246
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000001
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 44>[8]: 3030303031373542
<Vendor: 0; Attr: 45>[4]: 00000000
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct packet with session ID: 0000175B
?Debug : Jul 15 12:23:02 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start packet
?Debug : Jul 15 12:23:02 AcctServer: Acct-Start: User <3340000>
?Debug : Jul 15 12:23:02 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jul 15 12:23:02 AcctServer: No h323-setup-time (9, 25) attribute in accountig start packet. Setting to NOW <1216092182>!
?Debug : Jul 15 12:23:02 RADIUS DBA: Info for login <3340000> found. type <3>
?Debug : Jul 15 12:23:02 RADIUS DBA: Password found for tel login:3340000
?Debug : Jul 15 12:23:02 RADIUS DBA: info for user found. type <3> info addr <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return info <135499776>
?Debug : Jul 15 12:23:02 RADIUS DBA: search_user_info return valid info
?Debug : Jul 15 12:23:02 RADIUS DBA: Setting interim interval <0> for session id <0000175B>
?Debug : Jul 15 12:23:02 RADIUS DBA: h323-conf-id not present. Setting to session-id <0000175B>
?Debug : Jul 15 12:23:02 RADIUS DBA: TELTARIFF: called number <89501093559> calling number <3340000> direction id <1001000> zone id <1>
?Debug : Jul 15 12:23:02 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jul 15 12:23:02 RADIUS Stream[plugin]: init log id <8>
?Debug : Jul 15 12:23:02 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 246
?Debug : Jul 15 12:23:02 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:02 AcctServer: Next...
?Debug : Jul 15 12:23:02 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:02 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:04 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:09 RADIUS Stream[plugin]: Ping reply received
?Debug : Jul 15 12:23:10 RADIUS Stream[plugin]: Account <67> with balance <-2473.622>
?Debug : Jul 15 12:23:11 RADIUS Stream[plugin]: Account <10> with balance <0.000>
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:14 RADIUS Packet: Size <142>; HDR.Size <142>
?Debug : Jul 15 12:23:14 AcctServer: Recv...
?Debug : Jul 15 12:23:14 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 247
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 5>[4]: 00000000
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0(0); Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00001c20
<Vendor: 0; Attr: 43>[4]: 00000f31
<Vendor: 0; Attr: 44>[8]: 3030303031373537
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000005
<Vendor: 0; Attr: 47>[4]: 00000168
<Vendor: 0; Attr: 48>[4]: 000000de
<Vendor: 0; Attr: 61>[4]: 00000000
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct packet with session ID: 00001757
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:14 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:14 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:14 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092194>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT for telephony called. tkey:0 start:1216092169 stop:1216092174
?Debug : Jul 15 12:23:14 RADIUS Tarif: Telephony service <26> free time <0>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT cost_info sum:0.0000 setup_time <1216092169>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP Discount: TR ID 0: 0.000 for 5 sec setup_time <1216092169>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <0> downloaded <336>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <1001000> downloaded <217>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP calculated cost: 0.000
?Debug : Jul 15 12:23:14 RADIUS Stream[plugin]: finish log id <6>
?Debug : Jul 15 12:23:14 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 247
?Debug : Jul 15 12:23:14 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jul 15 12:23:14 AcctServer: Next...
?Debug : Jul 15 12:23:14 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS packet successfully received
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data sent
?Debug : Jul 15 12:23:14 RadiusSocket: RADIUS raw data obtained
?Debug : Jul 15 12:23:14 RADIUS Packet: Size <121>; HDR.Size <121>
?Debug : Jul 15 12:23:14 AcctServer: Recv...
?Debug : Jul 15 12:23:14 AcctServer: Packet from <192.168.1.1> packet dump: RPacket:
Code: 4; ID: 248
<Vendor: 0; Attr: 1>[7]: 33333430303030
<Vendor: 0; Attr: 4>[4]: c0a80101
<Vendor: 0; Attr: 6>[4]: 00000001
<Vendor: 0; Attr: 30>[11]: 3839353031303933353539
<Vendor: 0; Attr: 31>[7]: 33333430303030
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 41>[4]: 00000000
<Vendor: 0; Attr: 42>[4]: 00000f31
<Vendor: 0; Attr: 43>[4]: 000012c0
<Vendor: 0; Attr: 44>[8]: 3030303031373542
<Vendor: 0; Attr: 45>[4]: 00000000
<Vendor: 0; Attr: 46>[4]: 00000005
<Vendor: 0; Attr: 47>[4]: 000000de
<Vendor: 0; Attr: 48>[4]: 000000f0
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct packet with session ID: 0000175B
?Debug : Jul 15 12:23:14 RADIUS DBA: NAS found. Data size <0>
?Debug : Jul 15 12:23:14 AcctServer: Acct-Stop packet
?Debug : Jul 15 12:23:14 RADIUS DBA: Session erase ... login type <3>
?Debug : Jul 15 12:23:14 RADIUS DBA: login type login_tel
?Debug : Jul 15 12:23:14 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1216092194>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT for telephony called. tkey:1001000 start:1216092182 stop:1216092187
?Debug : Jul 15 12:23:14 RADIUS Tarif: Telephony service <26> free time <0>
Info : Jul 15 12:23:14 UT: session_addon <0>
Info : Jul 15 12:23:14 UT: tarification for slink 40, tr_id 1, mult 5.000000, next 1216092187
Info : Jul 15 12:23:14 UT: cost info:
Info : Jul 15 12:23:14 UT: type 0 deny 0 base_cost 1.000000 size 5 tr_id 1 mult 5.000000 added 0 sum 0.000000
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT cost_info sum:25.0000 setup_time <1216092182>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP Discount: TR ID 1001000: 25.000 for 5 sec setup_time <1216092182>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <0> downloaded <336>
?Debug : Jul 15 12:23:14 RADIUS Tarif: UT tkey <1001000> downloaded <222>
?Debug : Jul 15 12:23:14 RADIUS DBA: VoIP calculated cost: 25.000
?Debug : Jul 15 12:23:14 RADIUS Stream[plugin]: finish log id <8>
?Debug : Jul 15 12:23:14 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 248
?Debug : Jul 15 12:23:14 RadiusSocket: Moving RADIUS packet into send queue
Стало быть ваше оборудование даже не пытается авторизоваться. В логе одни только Acct записи, ни одной Auth. Вот пример успешной авторизации:
Код: Выделить всё
?Debug : Jul 15 12:33:43 AuthServer: User <12345> connecting
?Debug : Jul 15 12:33:43 AuthServer: Session for sessionid <12345> not found in <10.10.10.10> cache
?Debug : Jul 15 12:33:43 RADIUS DBA: Info for login <12345> found. type <3>
?Debug : Jul 15 12:33:43 RADIUS DBA: Password found for tel login:12345
?Debug : Jul 15 12:33:43 AuthServer: Auth scheme: PAP
?Debug : Jul 15 12:33:43 AuthServer: PAP: <*> vs <*>
?Debug : Jul 15 12:33:43 AuthServer: PAP: Authorized user <12345>
?Debug : Jul 15 12:33:43 AuthServer: Tel session limit:0 session count:451 for user:12345
Может быть подскажете что надо добавить? Вот конфиг циски 3745 (то что связано с voip):
voice-card 3
dspfarm
dsp services dspfarm
!
aaa new-model
!
!
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa accounting delay-start
aaa accounting network default start-stop group radius
aaa accounting connection h323 start-stop group radius
aaa session-id common
ip subnet-zero
ip cef
!
isdn switch-type primary-net5
isdn voice-call-failure 0
!
!
!
voice service voip
h323
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g729br8
codec preference 3 g723r63
codec preference 4 g723r53
codec preference 5 g723ar63
codec preference 6 g723ar53
codec preference 7 g711alaw
codec preference 8 g711ulaw
!
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 3/1
framing NO-CRC4
clock source line primary
pri-group timeslots 1-31
!
gw-accounting aaa
acct-template callhistory-detail
!
interface FastEthernet0/1.2
encapsulation dot1Q 2035
ip address ******* 255.255.255.252
h323-gateway voip interface
h323-gateway voip bind srcaddr *******
!
!
interface Serial3/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface Serial3/1:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
voice-port 3/0:15
cptone RU
!
voice-port 3/1:15
cptone RU
!
dial-peer voice 2 voip
destination-pattern T
voice-class codec 1
session target ipv4:*******
!
dial-peer voice 1 pots
destination-pattern T
port 3/1:15
Вот радиус (неуказанные параметры стоят по умолчанию) :
core_host=127.0.0.1
core_port=12758
radius_acct_host=192.168.1.41
radius_auth_host=192.168.1.41
radius_auth_mppe=enable
radius_auth_vap=1
radius_card_autoadd=yes
voice-card 3
dspfarm
dsp services dspfarm
!
aaa new-model
!
!
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa accounting delay-start
aaa accounting network default start-stop group radius
aaa accounting connection h323 start-stop group radius
aaa session-id common
ip subnet-zero
ip cef
!
isdn switch-type primary-net5
isdn voice-call-failure 0
!
!
!
voice service voip
h323
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g729br8
codec preference 3 g723r63
codec preference 4 g723r53
codec preference 5 g723ar63
codec preference 6 g723ar53
codec preference 7 g711alaw
codec preference 8 g711ulaw
!
controller E1 3/0
framing NO-CRC4
pri-group timeslots 1-31
!
controller E1 3/1
framing NO-CRC4
clock source line primary
pri-group timeslots 1-31
!
gw-accounting aaa
acct-template callhistory-detail
!
interface FastEthernet0/1.2
encapsulation dot1Q 2035
ip address ******* 255.255.255.252
h323-gateway voip interface
h323-gateway voip bind srcaddr *******
!
!
interface Serial3/0:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
!
interface Serial3/1:15
no ip address
no logging event link-status
isdn switch-type primary-net5
isdn protocol-emulate network
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
voice-port 3/0:15
cptone RU
!
voice-port 3/1:15
cptone RU
!
dial-peer voice 2 voip
destination-pattern T
voice-class codec 1
session target ipv4:*******
!
dial-peer voice 1 pots
destination-pattern T
port 3/1:15
Вот радиус (неуказанные параметры стоят по умолчанию) :
core_host=127.0.0.1
core_port=12758
radius_acct_host=192.168.1.41
radius_auth_host=192.168.1.41
radius_auth_mppe=enable
radius_auth_vap=1
radius_card_autoadd=yes
У меня иос без воипа, но подозреваю, что копать в сторону
ну и
Код: Выделить всё
aaa authentication login h323 group radius
Код: Выделить всё
radius-server vsa send accounting
radius-server vsa send authentication
"Не идет авторизация" - это понимать как "не пытается авторизоваться" или "не проходит авторизацию" ?
В первом случае - изучать cisco.com на предмет конфигурации кошки.
Во втором - смотреть логи радиуса, почему именно не прошла авторизация.
Кстати, идеологию Вы неправильно понимаете. При авторизации запрашивается разрешение на совершение соединения (звонка).При аккаунтинге-же, в радиус просто сливается информация о соединении. Есть в базе пользователь с таким номером - хорошо, привязали звонок к нему. Нет - ну и фик с ним, ни к кому не привязали.
В первом случае - изучать cisco.com на предмет конфигурации кошки.
Во втором - смотреть логи радиуса, почему именно не прошла авторизация.
Кстати, идеологию Вы неправильно понимаете. При авторизации запрашивается разрешение на совершение соединения (звонка).При аккаунтинге-же, в радиус просто сливается информация о соединении. Есть в базе пользователь с таким номером - хорошо, привязали звонок к нему. Нет - ну и фик с ним, ни к кому не привязали.
[quote="retiner"]а в радиус аттрибутах в utm в услуге телефонии ничего не надо прописать?
а то я в конфиге циски и радиуса ужё всё что можно перебрал - не идёт авторизация и всё тут([/quote]
aaa это autentication,autorization, accounting
у вас не включена autorization, не хватает
aaa authorization exec h323 group radius
а то я в конфиге циски и радиуса ужё всё что можно перебрал - не идёт авторизация и всё тут([/quote]
aaa это autentication,autorization, accounting
у вас не включена autorization, не хватает
aaa authorization exec h323 group radius
[quote="retiner"][quote="Digi"]"Не идет авторизация" - это понимать как "не пытается авторизоваться" или "не проходит авторизацию" ?
[/quote]
не пытается авторизоваться
если я правильно понимаю - нужен tcl скрипт. желательно для авторизации по номеру вызывающего абонента. никто не подскажет где взять?[/quote]
#dir flash:
Или в инете ищем app_debitcard.tcl затем руками правим до кондиции, только я не смог АОН к UTM привязать
[/quote]
не пытается авторизоваться
если я правильно понимаю - нужен tcl скрипт. желательно для авторизации по номеру вызывающего абонента. никто не подскажет где взять?[/quote]
#dir flash:
Или в инете ищем app_debitcard.tcl затем руками правим до кондиции, только я не смог АОН к UTM привязать
аналогичная ситуация, настраиваю авторизацию sip абонентов. без скрипта даже не пытается авторизоваться на радиусе. с вышеуказанным скриптом в качестве пароля на радиус отсылается номер вызываемого абонента. как сделать, чтобы для авторизации использовалась пара логин-пароль, приходящая от клиента? другой скрипт нужен или, этот как-то поднастроить можно?retiner писал(а):спасибоYuryD писал(а): #dir flash:
помог стандартный скрипт из иоса циски:app_clid_authen.tcl
HELP!
-
- Сообщения: 34
- Зарегистрирован: Ср апр 07, 2010 08:20