Comments (3)
Написал тесты для 5.3-004, проблема, что не обрабатывается тэг set
, исправлю в ближайшее время. Временно можно внести правки в api.xml
:
<function name="rpcf_set_radius_attr" id="0x10105">
<input>
<integer name="sid" />
<integer name="st" />
<integer name="cnt" />
<for name="i" from="0" count="cnt">
<integer name="vendor" array_index="i" />
<integer name="attr" array_index="i" />
<integer name="tag" array_index="i" />
<integer name="usage_flags" array_index="i" />
<integer name="expire_date" array_index="i" default="2000000000"/>
<integer name="param1" array_index="i" />
<set dst="tmp_type" src="param1" src_index="i"/>
<!-- integer -->
<if variable="param1" value="0" condition="eq">
<integer name="val" array_index="i" />
</if>
<!-- string -->
<if variable="param1" value="1" condition="eq">
<string name="val" array_index="i" />
</if>
<!-- IP-address -->
<if variable="param1" value="2" condition="eq">
<integer name="val" array_index="i" />
</if>
<!-- HEX string -->
<if variable="param1" value="3" condition="eq">
<string name="val" array_index="i" />
</if>
<integer name="prop_size" array_index="i"/>
<for name="p" from="0" count="prop_size">
<integer name="type" array_index="i,p"/>
<string name="value" array_index="i,p"/>
</for>
</for>
</input>
<output/>
</function>
from urfaclient.
@bogdik спасибо, теперь метод rpcf_set_radius_attr
будет работать без изменения api.xml
from urfaclient.
спасибо)
from urfaclient.
Related Issues (20)
- Странный результат функции rpcf_get_all_services_for_user (0x2700) HOT 3
- v1.3.0 Изменения HOT 1
- Улучшение - добавить флаг для формирования адекватных названий полей результата HOT 1
- Не работает rpcf_get_radius_attr HOT 12
- Не могу заставить работать функцию rpcf_set_radius_attr "0x10103" HOT 2
- Бесконечная рекурсия HOT 1
- Работа с 5.2.1-005 HOT 1
- Error calling function rpcf_user5_get_promised_payment HOT 3
- 5.3-005-update3 HOT 10
- Проблема с rpcf_add_iptraffic_service_link_ipv6
- Поиск по дополнительным параметрам rpcf_search_users_new HOT 2
- UTM5.3-004: Error code 21. Version: 3 HOT 4
- rpcf_dealer_add_service_to_user URFAClient_Exception HOT 6
- api.xml для 5.3-006-update1 HOT 1
- Функция rpcf_get_shaping 0x1200e api_53-003.xml не работает HOT 4
- Проблема при подключении услуги IP-трафик в тариф для 5.2.1-008 HOT 1
- rpcf_get_iptraffic_service не работает с UTM 5.5-006 HOT 4
- Ошибка Connection refused, если не запущен utm5_core
- Возможна ли работа с OpenSSL 3.x? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urfaclient.