Теперь у меня при понижение баланс ниже лимита ничего не происходит
Код:
radius 11-29/15:45:17 INFO [hrlydtlggr-p-7-t-1] HourlyDataLoggerTracker - Checking data log files to close [hours=2]...
radius 11-29/15:45:17 INFO [hrlydtlggr-p-7-t-1] HourlyDataLoggerTracker - Remove dataLog file from writers map [/opt/bgbilling/inet-ipoe/BGInetAccess/data/radius/source_3/2016/2016-11/2016-11-29/log_2016-11-29-15.003.bgdl]
dhcp 11-29/15:45:17 INFO [hrlydtlggr-p-9-t-1] HourlyDataLoggerTracker - Checking data log files to close [hours=1]...
radius 11-29/15:45:19 INFO [hrlydtlggr-p-7-t-1] HourlyDataLoggerTracker - Close dataLog file [/opt/bgbilling/inet-ipoe/BGInetAccess/data/radius/source_3/2016/2016-11/2016-11-29/log_2016-11-29-15.003.bgdl]
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorSet - Connecting to device
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorDeviceWorker - Do task deviceId: 13; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 1; pluginId: no; cid: 3; scid: -1; userId: 0; deviceId: 13; inetServId: 24; connectionId: 0; state: 0; accessCode: 12; timestamp: 1480423561987
connection 11-29/15:46:02 INFO [sa-p-13-t-28] InetApplication - TariffOptionMap: {}
connection 11-29/15:46:02 INFO [sa-p-13-t-28] InetApplication - inetServ[id=24] balance is out of limit: -1.33 [0]
connection 11-29/15:46:02 INFO [sa-p-13-t-28] InetApplication - TariffOptionMap: {}
connection 11-29/15:46:02 INFO [sa-p-13-t-28] InetApplication - OptionSet: [19]
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorDeviceWorker - Processing deviceId:13; command ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorSet - Invoking serviceModify
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorDeviceWorker - Process event type[2] result=true
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorDeviceWorker - Changing InetServ:24 state and/or options
mq 11-29/15:46:02 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 1; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 13; inetServId: 24; state: 0; optionSet: ; timestamp: 1480423562031
connection 11-29/15:46:02 INFO [sa-p-13-t-28] ServiceActivatorSet - Disconnecting from device
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorSet - Connecting to device
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 1; pluginId: no; cid: 3; scid: -1; userId: 0; deviceId: 3; inetServId: 24; connectionId: 325; state: 0; accessCode: 12; timestamp: 1480423577763
connection 11-29/15:46:17 INFO [sa-p-13-t-88] InetApplication - TariffOptionMap: {}
connection 11-29/15:46:17 INFO [sa-p-13-t-88] InetApplication - OptionSet: [19]
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorDeviceWorker - Processing deviceId:3; command ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorSet - Invoking connectionModify
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ISGServiceActivator - Connection modify: oldState: 1; newState: 0; oldOptionSet: [19]; newOptionSet: [19]
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ISGServiceActivator - Not found ISG service for Inet option: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-88] ServiceActivatorDeviceWorker - Process event type[2] result=true
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorSet - Connecting to device
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorDeviceWorker - Do task deviceId: 13; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 1; pluginId: no; cid: 3; scid: -1; userId: 0; deviceId: 13; inetServId: 24; connectionId: 324; state: 0; accessCode: 12; timestamp: 1480423577740
connection 11-29/15:46:17 INFO [sa-p-13-t-93] InetApplication - TariffOptionMap: {}
connection 11-29/15:46:17 INFO [sa-p-13-t-93] InetApplication - OptionSet: [19]
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorDeviceWorker - Processing deviceId:13; command ServiceActivatorEvent type=2; inetServId: 24; call: true; oldState: 1; newState: 0; oldOptionSet: 19; newOptionSet: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorSet - Invoking connectionModify
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ISGServiceActivator - Connection modify: oldState: 1; newState: 0; oldOptionSet: [19]; newOptionSet: [19]
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ISGServiceActivator - Not found ISG service for Inet option: 19
connection 11-29/15:46:17 INFO [sa-p-13-t-93] ServiceActivatorDeviceWorker - Process event type[2] result=true
connection 11-29/15:46:18 INFO [sa-p-13-t-88] ServiceActivatorSet - Disconnecting from device
connection 11-29/15:46:18 INFO [sa-p-13-t-93] ServiceActivatorSet - Disconnecting from device
radius 11-29/15:48:47 INFO [rdsLstnr-p-8-t-11] RadiusListenerWorker - REQUEST:
Packet type: Access-Request
Хотя в radius.disable.12.attributes - код 12 недостаточно денег, прописано.
Код:
radius.disable.12.attributes=Acct-Interim-Interval=60;cisco-avpair=subscriber:accounting-list=AAA_LIST_IPOE;cisco-SSG-Account-Info=AFWPOL_NEGBAL_TRUSTED;cisco-SSG-Account-Info=AFWPOL_NEGBAL_REDIRECT
Я предполагал что сервисы должны закрыться которые отдаются в
Код:
radius.realm.default.attributes=Acct-Interim-Interval=600;Idle-Timeout=4200;cisco-avpair=subscriber:accounting-list=AAA_LIST_IPOE; cisco-SSG-Account-Info=AFWPOL_NOSHAPE;cisco-SSG-Account-Info=AFWPOL_ACCEPT