forum.bitel.ru http://forum.bitel.ru/ |
|
[7.1] dhcp.disable.mode http://forum.bitel.ru/viewtopic.php?f=44&t=12818 |
Страница 1 из 1 |
Автор: | borisk [ 04 мар 2018, 21:54 ] |
Заголовок сообщения: | [7.1] dhcp.disable.mode |
Добрый день! Попробовал dhcp.disable.mode=1. Вроде работает как надо, только зазря меняет IP у пользователя. Решил попробовать dhcp.disable.mode=2. И вот тут начались чудеса. Что делаю: опускаю баланс ниже лимита Что происходит: сервис переходит в состояние отключен, вызываются все команды по отключению сервиса и соединения, но при этом самом соединение остаётся в состоянии "подключено". Теперь возвращаю баланс выше лимита: вызываются все команды по включению сервиса, но команды по изменению соединения не вызываются. Соединение так же в состоянии "подключено" Набор команд: Код: sa.terminal.set.ipoe.connection.inetOption.1.enable.1=/ip/firewall/address-list/print where list=${param(option(),'mkt.acl.name','ACL_Q_NONE')} and address=${ip()} sa.terminal.set.ipoe.connection.inetOption.1.enable.2=/ip/firewall/address-list/remove numbers="${mikrotikLastIds()}" sa.terminal.set.ipoe.connection.inetOption.1.enable.3=/ip/firewall/address-list/add list=${param(option(),'mkt.acl.name','ACL_Q_NONE')} address=${ip()} sa.terminal.set.ipoe.connection.inetOption.1.disable.1=/ip/firewall/address-list/print where list=${param(option(),'mkt.acl.name','ACL_Q_NONE')} and address=${ip()} sa.terminal.set.ipoe.connection.inetOption.1.disable.2=/ip/firewall/address-list/remove numbers="${mikrotikLastIds()}" # sa.terminal.set.ipoe.connection.modify.enable.1=/ip/firewall/address-list/print where list=ACL_DISABLED and address=${ip()} sa.terminal.set.ipoe.connection.modify.enable.2=/ip/firewall/address-list/remove numbers="${mikrotikLastIds()}" # sa.terminal.set.ipoe.connection.modify.disable.1=/ip/firewall/address-list/print where list=ACL_DISABLED and address=${ip()} sa.terminal.set.ipoe.connection.modify.disable.2=/ip/firewall/address-list/remove numbers="${mikrotikLastIds()}" sa.terminal.set.ipoe.connection.modify.disable.3=/ip/firewall/address-list/add list=ACL_DISABLED address=${ip()} # sa.terminal.set.ipoe.connection.onAccountingStart=${optionsEnable()} sa.terminal.set.ipoe.connection.onAccountingStop=${optionsDisable()} Эти же команды при dhcp.disable.mode=1 работают правильно, только мне не нравится смена адреса у пользователя. Код: Клиент: вер. 7.1.92 / 07.02.2018 17:02:58
os: Windows 10; java: Java HotSpot(TM) Client VM, v.1.8.0_161 Сервер: вер. 7.1.960 / 09.02.2018 12:37:38 os: Linux; java: Java HotSpot(TM) 64-Bit Server VM, v.1.8.0_162 inet: вер. 7.1.578 / 19.02.2018 17:29:03 |
Автор: | Amir [ 05 мар 2018, 21:36 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Лога, когда выполненялись команды, не осталось? |
Автор: | borisk [ 06 мар 2018, 00:29 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Да не проблема, сейчас насобираю |
Автор: | borisk [ 06 мар 2018, 00:35 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Состояние первое, сервис активен, работает. Делаем на договоре расход ниже лимита. Код: connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorSet - Connecting to device
connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 1; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728606 connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - inetServ[id=1] balance is out of limit: -89.00 [0] connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - OptionSet: [2] connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - optionsDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - switchOptions connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Changing InetServ:1 state and/or options mq 03-05/21:32:08 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 1; state: 0; optionSet: ; timestamp: 1520274728767 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 2; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728607 connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - inetServ[id=2] balance is out of limit: -89.00 [0] connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - OptionSet: [2] connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 2; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 2; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - optionsDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - switchOptions connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Changing InetServ:2 state and/or options mq 03-05/21:32:08 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 2; state: 0; optionSet: ; timestamp: 1520274728779 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 8; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728607 connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - inetServ[id=8] balance is out of limit: -89.00 [0] connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - OptionSet: [2] connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 8; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 8; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - optionsDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - switchOptions connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Changing InetServ:8 state and/or options mq 03-05/21:32:08 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 8; state: 0; optionSet: ; timestamp: 1520274728782 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 9; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728607 connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - inetServ[id=9] balance is out of limit: -89.00 [0] connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - contract tariffOptions: {} connection 03-05/21:32:08 INFO [sa-p-10-t-70] InetApplication - OptionSet: [2] connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 9; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 9; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceModify connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - optionsDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - switchOptions connection 03-05/21:32:08 INFO [sa-p-10-t-70] TerminalServiceActivator - serviceDisable connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Changing InetServ:9 state and/or options mq 03-05/21:32:08 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 9; state: 0; optionSet: ; timestamp: 1520274728788 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 1; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728647 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 2; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728648 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 8; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728648 connection 03-05/21:32:08 INFO [sa-p-10-t-70] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 9; connectionId: 0; state: 0; accessCode: 12; timestamp: 1520274728649 connection 03-05/21:32:13 INFO [sa-p-10-t-70] ServiceActivatorSet - Disconnecting from device connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorSet - Connecting to device connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 1; connectionId: 102; state: 0; accessCode: 12; timestamp: 1520274758569 connection 03-05/21:32:38 INFO [sa-p-10-t-91] InetApplication - contract tariffOptions: {} connection 03-05/21:32:38 INFO [sa-p-10-t-91] InetApplication - OptionSet: [2] connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 1; newState: 0; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorSet - Invoking connectionModify connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connectionModify connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - optionsDisable connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - switchOptions connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalSession$TelnetTerminalSession - Connected connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - Connected to Mikrotik: CCR-1009 [172.31.254.254:8728] connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - [Mikrotik: CCR-1009 [172.31.254.254:8728]] execute: /ip/firewall/address-list/print where list=ACL_5M and address=31.44.15.113 connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - [Mikrotik: CCR-1009 [172.31.254.254:8728]] execute: /ip/firewall/address-list/remove numbers="" connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connectionDisable connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - [Mikrotik: CCR-1009 [172.31.254.254:8728]] execute: /ip/firewall/address-list/print where list=ACL_DISABLED and address=31.44.15.113 connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - [Mikrotik: CCR-1009 [172.31.254.254:8728]] execute: /ip/firewall/address-list/remove numbers="" connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - [Mikrotik: CCR-1009 [172.31.254.254:8728]] execute: /ip/firewall/address-list/add list=ACL_DISABLED address=31.44.15.113 connection 03-05/21:32:38 INFO [sa-p-10-t-91] TerminalServiceActivator - entity id = null ret=*A4 connection 03-05/21:32:38 INFO [sa-p-10-t-91] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:32:43 INFO [sa-p-10-t-91] ServiceActivatorSet - Disconnecting from device |
Автор: | borisk [ 06 мар 2018, 00:42 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Подождали 5 минут. Сессия всё равно светится "активно, подключено". Убираем расход, и ждем пару минут для надёжности. "Левые" dhcp запросы вырезал. Код: connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorSet - Connecting to device
connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 1; connectionId: 0; state: 1; accessCode: 0; timestamp: 1520275063249 connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - contract tariffOptions: {} connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - inetServ[id=1] balance ok: 1.00 [0] connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - OptionSet: [2] connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 1; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - optionsEnable connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - switchOptions connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Changing InetServ:1 state and/or options mq 03-05/21:37:43 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 1; state: 1; optionSet: ; timestamp: 1520275063456 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 2; connectionId: 0; state: 1; accessCode: 0; timestamp: 1520275063256 connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - contract tariffOptions: {} connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - inetServ[id=2] balance ok: 1.00 [0] connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - OptionSet: [2] connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 2; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 2; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - optionsEnable connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - switchOptions connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Changing InetServ:2 state and/or options mq 03-05/21:37:43 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 2; state: 1; optionSet: ; timestamp: 1520275063462 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 8; connectionId: 0; state: 1; accessCode: 0; timestamp: 1520275063257 connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - contract tariffOptions: {} connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - inetServ[id=8] balance ok: 1.00 [0] connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - OptionSet: [2] connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 8; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 8; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - optionsEnable connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - switchOptions connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Changing InetServ:8 state and/or options mq 03-05/21:37:43 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 8; state: 1; optionSet: ; timestamp: 1520275063466 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Do task deviceId: 4; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 4; inetServId: 9; connectionId: 0; state: 1; accessCode: 0; timestamp: 1520275063257 connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - contract tariffOptions: {} connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - inetServ[id=9] balance ok: 1.00 [0] connection 03-05/21:37:43 INFO [sa-p-10-t-52] InetApplication - OptionSet: [2] connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 9; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Processing deviceId:4; command ServiceActivatorEvent type=2; inetServId: 9; call: true; oldState: 0; newState: 1; oldOptionSet: 2; newOptionSet: 2 connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorSet - Invoking serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - serviceModify connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - optionsEnable connection 03-05/21:37:43 INFO [sa-p-10-t-52] TerminalServiceActivator - switchOptions connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 03-05/21:37:43 INFO [sa-p-10-t-52] ServiceActivatorDeviceWorker - Changing InetServ:9 state and/or options mq 03-05/21:37:43 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptionsModifiedEvent] moduleId: 2; pluginId: no; cid: 1; scid: -1; userId: -1; deviceId: 4; inetServId: 9; state: 1; optionSet: ; timestamp: 1520275063475 connection 03-05/21:37:48 INFO [sa-p-10-t-52] ServiceActivatorSet - Disconnecting from device |
Автор: | Amir [ 06 мар 2018, 17:57 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Укажите в конфигурации sa.terminal.connection.stateModify=1 |
Автор: | borisk [ 06 мар 2018, 22:08 ] |
Заголовок сообщения: | Re: [7.1] dhcp.disable.mode |
Спасибо! Теперь работает как надо! |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |