forum.bitel.ru http://forum.bitel.ru/ |
|
модуль voiceip (4.3.18) - пустые логи монитора http://forum.bitel.ru/viewtopic.php?f=6&t=780 |
Страница 1 из 1 |
Автор: | Sergey Murzin [ 28 фев 2008, 14:58 ] |
Заголовок сообщения: | модуль voiceip (4.3.18) - пустые логи монитора |
Добрый день! Установлена следующая конфигурация: Сервер - 4.3.64 (WinXP SP2) Java - 1.6.0_04 MySQL - 5.0.45 модуль VoiceIP 4.3.18 NAS - Cisco AS535XM. my.ini: [client] default-character-set=cp1251 [mysql] default-character-set=cp1251 [mysqld] # The TCP/IP Port the MySQL Server will listen on port=3306 max_allowed_packet=50M default-character-set=cp1251 default-collation=cp1251_general_ci basedir="C:/MySQL/" datadir="C:/MySQL/Data/" default-storage-engine=INNODB max_connections=100 query_cache_size=0 table_cache=256 tmp_table_size=26M thread_cache_size=8 myisam_max_sort_file_size=100G myisam_max_extra_sort_file_size=100G myisam_sort_buffer_size=51M key_buffer_size=40M read_buffer_size=64K read_rnd_buffer_size=256K sort_buffer_size=256K innodb_additional_mem_pool_size=2M innodb_flush_log_at_trx_commit=1 innodb_log_buffer_size=1M innodb_buffer_pool_size=76M innodb_log_file_size=166M innodb_thread_concurrency=8 Пароль на базу - дефолтовый, rootовый пароль - сконфигурирован. Конфигурация модуля VoiceIP: #вендоры - производители оборудования и их коды vendors=9=Cisco;2011=Huawei;2021=Unix PPP;529=Lucent;6618=Quintum;529=Ascend;4923=AudioCodes #минимальная и максимальная длина пароля min.password.length=5 max.password.length=10 #требование чтобы в пароле были только цифры #passw.content=onlydigit #сколько лет отображать в просмотре сессий через web showyears=5 #XSL для печати и отправки на почту сессий xslt.1=voiceip_login_sessions.xsl reportTitle.1=Просмотр сессий VoiceIP #XSL для печати и отправки на почту наработки по логинам xslt.2=voiceip_login_amount.xsl reportTitle.2=Наработка по логинам VoiceIP #XSL для печати и отправки на почту наработки логина по направлениям xslt.3=voiceip_login_direct.xsl reportTitle.3=Наработка логина VoiceIP по направлениям. #в просмотре сессий в WEB статистике кол-во выводимых на странице сессий show.sessions.on.page=25 #названия пунктов WEB - меню web.menuItem1=Просмотр сессий VoiceIp web.menuItem2=Наработка по логинам VoiceIp web.menuItem3=Cмена пароля на логины VoiceIp web.menuItem4=Наработка логина VoiceIp по направлениям #граница некарточных логинов top.nocard.login=10000 ############### опции RADIUS сервера ####################### #1 - проверять наличие в договоре всех требуемых услуг при авторизации, иначе ошибка авторизации "Service deny" check.service=0 #код модуля "карточки", 0 - модуль "карточки" не используется card.module.id=0 #максимальная длительность сессии voip.max.time=3600 #параметры отсылальщика ошибок mailer.period=3600 mailer.to=astor@spicenepal.com #игнорирумые Disconnect cause через запятую #звонки с такими Disconnect cause будут считатся нулевой длины (через ,) voip.ignore.dc=66 #установка цветов для подсветки Disconnect-Cause в мониторе DC:HEX Color voip.monitor.dc.color=10:00ff00;3:ff0000;22:ff00ff;11:ffff00 # режимы поиска логинов findmode.0.title=Поиск по User-Name=LOGIN findmode.0.value=User-Name=LOGIN findmode.1.title=Поиск по User-Name=ALIAS findmode.1.value=User-Name=ALIAS findmode.2.title=Поиск по Calling-Station-Id=ALIAS findmode.2.value=Calling-Station-Id=ALIAS findmode.3.title=Поиск по h323-remote-address=ALIAS findmode.3.value=h323-remote-address=ALIAS findmode.4.title=Поиск по Called-Station-Id=ALIAS findmode.4.value=Called-Station-Id=ALIAS # find.order=0,1,2,3,4 # #цвета ASR(%) и ACD(сек) в отчете договора, в зависимости от значения #color.asr=0-30:#dd0000;30-100:#ffffff #color.acd=0-60:#dd0000 Конфигурация NAS: service=1 acct.in=voip/answer acct.out=voip/originate find.order=3 Заведена услуга "международная связь" с кодом 1. Проблема: в логах монитора и в отчетах договора ничего нет. accounting-запросы видны как в логах радиус сервера, так и в таблице log_server_1_200802. Список всех таблиц: mysql> show tables; +-------------------------------------+ | Tables_in_bgbilling | +-------------------------------------+ | address_area | | address_city | | address_house | | address_quarter | | address_street | | bgs_group | | bgs_group_action | | bgs_module_action | | bgs_user_action | | bgs_user_group | | contract | | contract_account | | contract_balance | | contract_charge | | contract_charge_types | | contract_comment | | contract_delete_money | | contract_delete_time | | contract_error | | contract_group | | contract_limit_manage | | contract_limit_manage_mode | | contract_limit_period | | contract_logon_error | | contract_logon_last | | contract_logon_ok | | contract_parameter_group | | contract_parameter_group_name | | contract_parameter_type_1 | | contract_parameter_type_2 | | contract_parameter_type_3 | | contract_parameter_type_3_mail | | contract_parameter_type_4 | | contract_parameter_type_4_directory | | contract_parameter_type_5 | | contract_parameter_type_6 | | contract_parameter_type_7 | | contract_parameter_type_7_values | | contract_parameter_type_8 | | contract_parameters_pref | | contract_password_once | | contract_pattern | | contract_pattern_services | | contract_payment | | contract_payment_types | | contract_script | | contract_service | | contract_tariff | | contract_tariff_group | | contract_tree_link | | firm | | installed_modules | | log_contract_limit | | log_contract_limit_manage_mode | | log_contract_mode | | log_contract_pswd | | log_login_pswd | | log_server_1_200802 | | mail_list | | mail_list_message | | mail_temp | | module | | module_config | | module_tariff_tree | | mtree_node | | nas_1 | | nas_config_1 | | news | | object | | object_list_value | | object_param | | object_param_value_address | | object_param_value_date | | object_param_value_list | | object_param_value_text | | object_type | | object_type_param | | payment_register | | payment_register_item | | plugin_config | | radius_pair_1 | | radius_pair_ip_1 | | radius_pair_set_1 | | register_group_task_type | | scheduled_class | | scheduled_task_run | | scheduled_tasks | | script | | script_event_queue | | script_event_type | | script_function | | script_function_event_type | | service | | setup | | source | | status_log | | subscr_contact | | tariff_change_task | | tariff_group | | tariff_group_tariff | | tariff_plan | | tariff_tree | | tariff_tree_config | | tariff_tree_link | | task_load | | task_proccess | | time_type | | user | | user_alias_1 | | user_dispatch | | user_dispatch_reference | | user_group | | user_group_access | | user_group_entry | | user_group_member | | user_login_1 | | user_login_condition_1 | | user_login_limit_1 | | user_module_action | | user_tables | | user_user_access | | voiceip_dest_1 | | voiceip_geographic_code_1 | | voiceip_login_type_1 | | voiceip_tariff_zone_1 | | voiceip_zone_map_1 | | voiceip_zone_map_item_1 | | web_request_count | | web_request_limit | +-------------------------------------+ |
Автор: | Администратор [ 29 фев 2008, 12:45 ] |
Заголовок сообщения: | |
Каковы настройки типа логина? log_server - это лог RADIUS запросов, вам нужно отслеживать log_session Покажите пакеты аккаунтинга из radius.log. |
Автор: | Sergey Murzin [ 29 фев 2008, 15:45 ] |
Заголовок сообщения: | |
Тип логина - оператор. Режим тарификации: исх. - по вызываемому, вх. - по вызываемому; обсчет баланса - никогда; режимы поиска - ACCT OUT - Поиск по h323-remote-address=ALIAS, ACCT IN - Поиск по h323-remote-address=ALIAS. Остальные опции не используются. В настройках логина указан тип - оператор. Таблица log_session в БД отсутствует. p.s. У нас на другом сервере настроен bgbilling 4.1 (аналогичные настройки) - все работает. Accounting - цисковский (оригинация): INFO 28.02.2008 13:31:11 ACCOUNT: Type=ACCOUNTING_REQUEST Attributes: User-Name=+9779804125242 NAS-IP-Address=x.x.x.x Service-Type=1 Acct-Input-Octets=1697977576 Acct-Output-Octets=1752900696 Acct-Status-Type=2 Acct-Delay-Time=0 Acct-Session-Time=0 Acct-Input-Packets=188 Acct-Session-Id=0037B90E Acct-Output-Packets=273 Calling-Station-Id=+9779804125242 Called-Station-Id=966551832847 h323-gw-id=ktm-ivr2.spicenepal.com h323-voice-quality=0 h323-remote-address=y.y.y.y h323-disconnect-cause=10 h323-connect-time=13:33:01.149 KTM Thu Feb 28 2008 h323-disconnect-time=13:33:01.149 KTM Thu Feb 28 2008 h323-conf-id=46364285 E50811DC A7BC0019 2F538512 cisco-avpair=call-id=46377AD5-E50811DC-8E9F9ECC-C5D8D391@x.x.x.x cisco-avpair=h323-incoming-conf-id=46364285 E50811DC A7BC0019 2F538512 cisco-avpair=subscriber=RegularLine cisco-avpair=session-protocol=sipv2 cisco-avpair=gw-rxd-cdn=ton:4,npi:1,#:142001966551832847 cisco-avpair=feature-vsa=fn:TWC,ft:02/28/2008 13:32:41.481,cgn:+9779804125242,cdn:966551832847,frs:0,fid:1460444,fcid:46364285E50811DCA7BC00192F538512,legID:1648DC cisco-avpair=release-source=1 cisco-avpair=alert-timepoint=13:32:48.489 KTM Thu Feb 28 2008 cisco-avpair=remote-media-address=63.218.60.131 cisco-avpair=in-trunkgroup-label=MSCIN cisco-avpair=gw-rxd-cgn=ton:2,npi:1,pi:0,si:3,#:9804125242 cisco-avpair=gw-final-xlated-cdn=ton:4,npi:1,#:966551832847 cisco-avpair=gw-final-xlated-cgn=ton:2,npi:1,pi:0,si:3,#:+9779804125242 cisco-avpair=charged-units=0 cisco-avpair=disconnect-text=normal call clearing (16) cisco-avpair=peer-address=966551832847 cisco-avpair=info-type=speech cisco-avpair=peer-id=607 cisco-avpair=peer-if-index=517 cisco-avpair=logical-if-index=0 cisco-avpair=codec-bytes=20 cisco-avpair=coder-type-rate=g729br8 cisco-avpair=ontime-rv-playout=1490 cisco-avpair=remote-udp-port=5060 cisco-avpair=remote-media-udp-port=24276 cisco-avpair=vad-enable=enable cisco-avpair=receive-delay=70 ms cisco-avpair=round-trip-delay=537 ms cisco-avpair=hiwater-playout-delay=70 ms cisco-avpair=lowater-playout-delay=70 ms cisco-avpair=gapfill-with-interpolation=0 ms cisco-avpair=gapfill-with-prediction=30 ms cisco-avpair=gapfill-with-redundancy=0 ms cisco-avpair=gapfill-with-silence=20 ms cisco-avpair=early-packets=1 cisco-avpair=late-packets=0 cisco-avpair=lost-packets=4 h323-setup-time=13:32:41.481 KTM Thu Feb 28 2008 h323-call-origin=originate h323-call-type=VoIP |
Автор: | Администратор [ 29 фев 2008, 16:56 ] |
Заголовок сообщения: | |
Сконфигурируйте в log4j_radius.properties лог processor в режим из INFO в DEBUG, далее выложите processor.log |
Автор: | Sergey Murzin [ 29 фев 2008, 18:04 ] |
Заголовок сообщения: | |
ip-адрес y.y.y.y - в логинах прописан. Доступ - разрешен, пароль был сконфигурирован (авто), период - указана только начальная дата, тип - оператор, объект - не указан. Type=ACCOUNTING_REQUEST Attributes: User-Name=+9779804726604 NAS-IP-Address=x.x.x.x Service-Type=1 Acct-Input-Octets=33586004 Acct-Output-Octets=1750870600 Acct-Status-Type=2 Acct-Delay-Time=0 Acct-Session-Time=0 Acct-Input-Packets=111 Acct-Session-Id=004D2908 Acct-Output-Packets=18 Calling-Station-Id=+9779804726604 Called-Station-Id=18774273368 h323-gw-id=ktm-ivr2.spicenepal.com h323-voice-quality=0 h323-remote-address=y.y.y.y h323-disconnect-cause=10 h323-connect-time=17:02:04.962 KTM Fri Feb 29 2008 h323-disconnect-time=17:02:04.962 KTM Fri Feb 29 2008 h323-conf-id=AB6D150B E5EE11DC B1AF0019 2F538512 cisco-avpair=call-id=AB6D150B E5EE11DC 9DF29ECC C5D8D391 cisco-avpair=h323-incoming-conf-id=AB6D150B E5EE11DC B1AF0019 2F538512 cisco-avpair=subscriber=RegularLine cisco-avpair=session-protocol=cisco cisco-avpair=gw-rxd-cdn=ton:4,npi:1,#:14200118774273368 cisco-avpair=feature-vsa=fn:TWC,ft:02/29/2008 17:01:55.534,cgn:+9779804726604,cdn:18774273368,frs:0,fid:2022378,fcid:AB6D150BE5EE11DCB1AF00192F538512,legID:1EDBEA cisco-avpair=release-source=1 cisco-avpair=alert-timepoint=17:02:01.652 KTM Fri Feb 29 2008 cisco-avpair=remote-media-address=z.z.z.z cisco-avpair=in-trunkgroup-label=MSCIN cisco-avpair=gw-rxd-cgn=ton:2,npi:1,pi:0,si:3,#:9804726604 cisco-avpair=gw-final-xlated-cdn=ton:4,npi:1,#:18774273368 cisco-avpair=gw-final-xlated-cgn=ton:2,npi:1,pi:0,si:3,#:9779804726604 cisco-avpair=charged-units=0 cisco-avpair=disconnect-text=normal call clearing (16) cisco-avpair=peer-address=18774273368 cisco-avpair=info-type=speech cisco-avpair=peer-id=611 cisco-avpair=peer-if-index=521 cisco-avpair=logical-if-index=0 cisco-avpair=codec-bytes=20 cisco-avpair=coder-type-rate=g729r8 cisco-avpair=ontime-rv-playout=1650 cisco-avpair=remote-udp-port=1720 cisco-avpair=remote-media-udp-port=21146 cisco-avpair=vad-enable=enable cisco-avpair=receive-delay=70 ms cisco-avpair=round-trip-delay=0 ms cisco-avpair=hiwater-playout-delay=70 ms cisco-avpair=lowater-playout-delay=70 ms cisco-avpair=gapfill-with-interpolation=0 ms cisco-avpair=gapfill-with-prediction=0 ms cisco-avpair=gapfill-with-redundancy=0 ms cisco-avpair=gapfill-with-silence=0 ms cisco-avpair=early-packets=1 cisco-avpair=late-packets=0 cisco-avpair=lost-packets=0 h323-setup-time=17:01:55.534 KTM Fri Feb 29 2008 h323-call-origin=originate h323-call-type=VoIP DEBUG 29.02.2008 17:00:09 Saved connection not found DEBUG 29.02.2008 17:00:09 Login not found.. DEBUG 29.02.2008 17:00:09 Process accounting, flag=1 |
Автор: | Администратор [ 29 фев 2008, 18:28 ] |
Заголовок сообщения: | |
В файле dictionary.xml нет 2х атрибутов h323-remote-address? |
Автор: | Sergey Murzin [ 29 фев 2008, 18:36 ] |
Заголовок сообщения: | |
Я тестировал голосовой шлюз AudioCodes Mediant 2000 и поэтому добавил поддерживаемые VSA в словарь (я создал отдельного вендора). Словарь выглядит так: <?xml version="1.0" encoding="ISO-8859-1"?> <dictionary> <attributes> <attribute name="User-Name" type="string" code="1"/> <attribute name="User-Password" type="string" code="2"/> <attribute name="CHAP-Password" type="string" code="3"/> <attribute name="NAS-IP-Address" type="ipaddr" code="4"/> <attribute name="NAS-Port" type="integer" code="5"/> <attribute name="Service-Type" type="integer" code="6"/> <attribute name="Framed-Protocol" type="integer" code="7"/> <attribute name="Framed-IP-Address" type="ipaddr" code="8"/> <attribute name="Framed-IP-Netmask" type="ipaddr" code="9"/> <attribute name="Framed-Routing" type="integer" code="10"/> <attribute name="Filter-Id" type="string" code="11"/> <attribute name="Framed-MTU" type="integer" code="12"/> <attribute name="Framed-Compression" type="integer" code="13"/> <attribute name="Login-IP-Host" type="ipaddr" code="14"/> <attribute name="Login-Service" type="integer" code="15"/> <attribute name="Login-TCP-Port" type="integer" code="16"/> <attribute name="Old-Password" type="string" code="17"/> <attribute name="Reply-Message" type="string" code="18"/> <attribute name="Callback-Number" type="string" code="19"/> <attribute name="Callback-Id" type="string" code="20"/> <attribute name="Expiration" type="string" code="21"/> <attribute name="Framed-Route" type="string" code="22"/> <attribute name="Framed-IPX-Network" type="integer" code="23"/> <attribute name="State" type="string" code="24"/> <attribute name="Class" type="string" code="25"/> <attribute name="Vendor-Specific" type="string" code="26"/> <attribute name="Session-Timeout" type="integer" code="27"/> <attribute name="Idle-Timeout" type="integer" code="28"/> <attribute name="Termination-Action" type="integer" code="29"/> <attribute name="Called-Station-Id" type="string" code="30"/> <attribute name="Calling-Station-Id" type="string" code="31"/> <attribute name="NAS-Identifier" type="string" code="32"/> <attribute name="Proxy-State" type="string" code="33"/> <attribute name="Login-LAT-Service" type="string" code="34"/> <attribute name="Login-LAT-Node" type="string" code="35"/> <attribute name="Login-LAT-Group" type="string" code="36"/> <attribute name="Framed-AppleTalk-Link" type="integer" code="37"/> <attribute name="Framed-AppleTalk-Network" type="integer" code="38"/> <attribute name="Framed-AppleTalk-Zone" type="string" code="39"/> <attribute name="Acct-Status-Type" type="integer" code="40"/> <attribute name="Acct-Delay-Time" type="integer" code="41"/> <attribute name="Acct-Input-Octets" type="integer" code="42"/> <attribute name="Acct-Output-Octets" type="integer" code="43"/> <attribute name="Acct-Session-Id" type="string" code="44"/> <attribute name="Acct-Authentic" type="integer" code="45"/> <attribute name="Acct-Session-Time" type="integer" code="46"/> <attribute name="Acct-Input-Packets" type="integer" code="47"/> <attribute name="Acct-Output-Packets" type="integer" code="48"/> <attribute name="Acct-Terminate-Cause" type="integer" code="49"/> <attribute name="Acct-Multi-Session-Id" type="string" code="50"/> <attribute name="Acct-Link-Count" type="integer" code="51"/> <attribute name="Acct-Input-Gigawords" type="integer" code="52"/> <attribute name="Acct-Output-Gigawords" type="integer" code="53"/> <attribute name="Event-Timestamp" type="integer" code="55"/> <attribute name="CHAP-Challenge" type="string" code="60"/> <attribute name="NAS-Port-Type" type="integer" code="61"/> <attribute name="Port-Limit" type="integer" code="62"/> <attribute name="Login-LAT-Port" type="string" code="63"/> <attribute name="Tunnel-Type" type="tag" code="64"/> <attribute name="Tunnel-Medium-Type" type="tag" code="65"/> <attribute name="Tunnel-Client-Endpoint" type="tag" code="66"/> <attribute name="Tunnel-Server-Endpoint" type="tag" code="67"/> <attribute name="Acct-Tunnel-Connection" type="string" code="68"/> <attribute name="Tunnel-Password" type="tag" code="69"/> <attribute name="ARAP-Password" type="string" code="70"/> <attribute name="ARAP-Features" type="string" code="71"/> <attribute name="ARAP-Zone-Access" type="integer" code="72"/> <attribute name="ARAP-Security" type="integer" code="73"/> <attribute name="ARAP-Security-Data" type="string" code="74"/> <attribute name="Password-Retry" type="integer" code="75"/> <attribute name="Prompt" type="integer" code="76"/> <attribute name="Connect-Info" type="string" code="77"/> <attribute name="Configuration-Token" type="string" code="78"/> <attribute name="EAP-Message" type="string" code="79"/> <attribute name="Message-Authenticator" type="string" code="80"/> <attribute name="Tunnel-Private-Group-ID" type="tag" code="81"/> <attribute name="Tunnel-Assignment-ID" type="tag" code="82"/> <attribute name="Tunnel-Preference" type="tag" code="83"/> <attribute name="ARAP-Challenge-Response" type="string" code="84"/> <attribute name="Acct-Interim-Interval" type="integer" code="85"/> <attribute name="Acct-Tunnel-Packets-Lost" type="integer" code="86"/> <attribute name="NAS-Port-Id" type="string" code="87"/> <attribute name="Framed-Pool" type="string" code="88"/> <attribute name="Tunnel-Client-Auth-ID" type="tag" code="90"/> <attribute name="Tunnel-Server-Auth-ID" type="tag" code="91"/> <attribute name="Digest-Response" type="string" code="206"/> <attribute name="Digest-Attributes" type="string" code="207"/> </attributes> <vendors> <vendor code="9" name="Cisco"> <attribute add="no" name="cisco-avpair" type="string" code="1"/> <attribute name="cisco-NAS-Port" type="string" code="2"/> <attribute name="cisco-Fax-Account-ID-Origin" type="string" code="3"/> <attribute name="cisco-Fax-Message-ID" type="string" code="4"/> <attribute name="cisco-Fax-Pages" type="string" code="5"/> <attribute name="cisco-Fax-Cover-Page-Flag" type="string" code="6"/> <attribute name="cisco-Fax-Modem-Time" type="string" code="7"/> <attribute name="cisco-Fax-Connect-Speed" type="string" code="8"/> <attribute name="cisco-Fax-Recipient-Count" type="string" code="9"/> <attribute name="cisco-Fax-Process-Abort-Flag" type="string" code="10"/> <attribute name="cisco-Fax-DSN-Address" type="string" code="11"/> <attribute name="cisco-Fax-DSN-Flag" type="string" code="12"/> <attribute name="cisco-Fax-MDN-Address" type="string" code="13"/> <attribute name="cisco-Fax-MDN-Flag" type="string" code="14"/> <attribute name="cisco-Fax-Auth-Status" type="string" code="15"/> <attribute name="cisco-Email-Server-Address" type="string" code="16"/> <attribute name="cisco-Email-Server-ACK-Flag" type="string" code="17"/> <attribute name="cisco-Gateway-ID" type="string" code="18"/> <attribute name="cisco-Call-Type" type="string" code="19"/> <attribute name="cisco-Port-Used" type="string" code="20"/> <attribute name="cisco-Abort-Cause" type="string" code="21"/> <attribute name="cisco-CRS-Info" type="string" code="22"/> <attribute name="h323-remote-address" type="string" code="23"/> <attribute name="h323-conf-id" type="string" code="24"/> <attribute name="h323-setup-time" type="string" code="25"/> <attribute name="h323-call-origin" type="string" code="26"/> <attribute name="h323-call-type" type="string" code="27"/> <attribute name="h323-connect-time" type="string" code="28"/> <attribute name="h323-disconnect-time" type="string" code="29"/> <attribute name="h323-disconnect-cause" type="string" code="30"/> <attribute name="h323-voice-quality" type="string" code="31"/> <attribute name="h323-ivr-out" type="string" code="32"/> <attribute name="h323-gw-id" type="string" code="33"/> <attribute name="h323-call-treatment" type="string" code="34"/> <attribute name="h323-incoming-connection-ID" type="string" code="35"/> <attribute name="h323-ivr-in" type="string" code="100"/> <attribute name="h323-credit-amount" type="string" code="101"/> <attribute name="h323-credit-time" type="string" code="102"/> <attribute name="h323-return-code" type="string" code="103"/> <attribute name="h323-prompt-id" type="string" code="104"/> <attribute name="h323-time-and-day" type="string" code="105"/> <attribute name="h323-redirect-number" type="string" code="106"/> <attribute name="h323-preferred-lang" type="string" code="107"/> <attribute name="h323-redirect-ip-addr" type="string" code="108"/> <attribute name="h323-billing-model" type="string" code="109"/> <attribute name="h323-currency-type" type="string" code="110"/> <attribute name="cisco-UCP-IP-Pool-ID" type="string" code="128"/> <attribute name="cisco-UCP-User-Max-Sessions" type="string" code="129"/> <attribute name="cisco-UCP-User-Session-Count" type="string" code="130"/> <attribute name="cisco-UCP-Next-Session-ID" type="string" code="131"/> <attribute name="cisco-UCP-VPDN-Max-Sessions" type="string" code="132"/> <attribute name="cisco-UCP-VPDN-Session-Count" type="string" code="133"/> <attribute name="cisco-UCP-B-Channel-Max-Sessions" type="string" code="134"/> <attribute name="cisco-UCP-B-Channel-Session-Count" type="string" code="135"/> <attribute name="cisco-UCP-Status" type="string" code="136"/> <attribute name="cisco-UCP-BLOB-Attribute-Length" type="string" code="137"/> <attribute name="cisco-UCP-Disable-Status" type="string" code="138"/> <attribute name="cisco-UCP-Block-Access-Range" type="string" code="139"/> <attribute name="cisco-UCP-Home-POP-ID" type="string" code="140"/> <attribute name="cisco-UCP-IP-Addresses" type="string" code="175"/> <attribute name="cisco-UCP-Session-Info" type="string" code="176"/> <attribute name="cisco-Ascend-AV-pairs" type="string" code="211"/> <attribute name="cisco-SSG-Account-Info" type="string" code="250"/> <attribute name="cisco-SSG-Service-Info" type="string" code="251"/> <attribute name="cisco-SSG-Command-Code" type="string" code="252"/> <attribute name="cisco-SSG-Control-Info" type="string" code="253"/> </vendor> <vendor code="14559" name="ChilliSpot"> <attribute name="ChilliSpot-Max-Input-Octets" type="integer" code="1"/> <attribute name="ChilliSpot-Max-Output-Octets" type="integer" code="2"/> <attribute name="ChilliSpot-Max-Total-Octets" type="integer" code="3"/> </vendor> <vendor code="14122" name="WISPr"> <attribute name="WISPr-Location-ID" type="string" code="1"/> <attribute name="WISPr-Location-Name" type="string" code="2"/> <attribute name="WISPr-Logoff-URL" type="string" code="3"/> <attribute name="WISPr-Redirection-URL" type="string" code="4"/> <attribute name="WISPr-Bandwidth-Min-Up" type="integer" code="5"/> <attribute name="WISPr-Bandwidth-Min-Down" type="integer" code="6"/> <attribute name="WISPr-Bandwidth-Max-Up" type="integer" code="7"/> <attribute name="WISPr-Bandwidth-Max-Down" type="integer" code="8"/> <attribute name="WISPr-Session-Terminate-Time" type="string" code="9"/> <attribute name="WISPr-Session-Terminate-End-Of-Day" type="string" code="10"/> <attribute name="WISPr-Billing-Class-Of-Service" type="string" code="11"/> </vendor> <vendor code="6618" name="Quintum"> <attribute name="quintum-avpair" type="string" code="1"/> <attribute name="cisco-NAS-Port" type="string" code="2"/> <attribute name="h323-remote-address" type="string" code="23"/> <attribute name="h323-conf-id" type="string" code="24"/> <attribute name="h323-setup-time" type="string" code="25"/> <attribute name="h323-call-origin" type="string" code="26"/> <attribute name="h323-call-type" type="string" code="27"/> <attribute name="h323-connect-time" type="string" code="28"/> <attribute name="h323-disconnect-time" type="string" code="29"/> <attribute name="h323-disconnect-cause" type="string" code="30"/> <attribute name="h323-voice-quality" type="string" code="31"/> <attribute name="h323-ivr-out" type="string" code="32"/> <attribute name="h323-gw-id" type="string" code="33"/> <attribute name="h323-call-treatment" type="string" code="34"/> <attribute name="h323-incoming-connection-ID" type="string" code="35"/> <attribute name="h323-ivr-in" type="string" code="100"/> <attribute name="h323-credit-amount" type="string" code="101"/> <attribute name="h323-credit-time" type="string" code="102"/> <attribute name="h323-return-code" type="string" code="103"/> <attribute name="h323-prompt-id" type="string" code="104"/> <attribute name="h323-time-and-day" type="string" code="105"/> <attribute name="h323-redirect-number" type="string" code="106"/> <attribute name="h323-preferred-lang" type="string" code="107"/> <attribute name="h323-redirect-ip-addr" type="string" code="108"/> <attribute name="h323-billing-model" type="string" code="109"/> <attribute name="h323-currency-type" type="string" code="110"/> </vendor> <vendor code="529" name="Ascend"> <attribute name="Ascend-CBCP-Enable" type="integer" code="112"/> <attribute name="Ascend-CBCP-Mode" type="integer" code="113"/> <attribute name="Ascend-CBCP-Delay" type="integer" code="114"/> <attribute name="Ascend-CBCP-Trunk-Group" type="integer" code="115"/> <attribute name="Ascend-FCP-Parameter" type="string" code="119"/> <attribute name="Ascend-Modem-PortNo" type="integer" code="120"/> <attribute name="Ascend-Modem-SlotNo" type="integer" code="121"/> <attribute name="Ascend-Modem-ShelfNo" type="integer" code="122"/> <attribute name="Ascend-Call-Attempt-Limit" type="integer" code="123"/> <attribute name="Ascend-Call-Block-Duration" type="integer" code="124"/> <attribute name="Ascend-Maximum-Call-Duration" type="integer" code="125"/> <attribute name="Ascend-Temporary-Rtes" type="integer" code="126"/> <attribute name="Tunneling-Protocol" type="integer" code="127"/> <attribute name="Ascend-Shared-Profile-Enable" type="integer" code="128"/> <attribute name="Ascend-Primary-Home-Agent" type="string" code="129"/> <attribute name="Ascend-Secondary-Home-Agent" type="string" code="130"/> <attribute name="Ascend-Dialout-Allowed" type="integer" code="131"/> <attribute name="Ascend-Client-Gateway" type="integer" code="132"/> <attribute name="Ascend-BACP-Enable" type="integer" code="133"/> <attribute name="Ascend-DHCP-Maximum-Leases" type="integer" code="134"/> <attribute name="Ascend-Client-Primary-DNS" type="ipaddr" code="135"/> <attribute name="Ascend-Client-Secondary-DNS" type="ipaddr" code="136"/> <attribute name="Ascend-Client-Assign-DNS" type="integer" code="137"/> <attribute name="Ascend-User-Acct-Type" type="integer" code="138"/> <attribute name="Ascend-User-Acct-Host" type="ipaddr" code="139"/> <attribute name="Ascend-User-Acct-Port" type="integer" code="140"/> <attribute name="Ascend-User-Acct-Key" type="string" code="141"/> <attribute name="Ascend-User-Acct-Base" type="integer" code="142"/> <attribute name="Ascend-User-Acct-Time" type="integer" code="143"/> <attribute name="Ascend-Assign-IP-Client" type="ipaddr" code="144"/> <attribute name="Ascend-Assign-IP-Server" type="ipaddr" code="145"/> <attribute name="Ascend-Assign-IP-Global-Pool" type="string" code="146"/> <attribute name="Ascend-DHCP-Reply" type="integer" code="147"/> <attribute name="Ascend-DHCP-Pool-Number" type="integer" code="148"/> <attribute name="Ascend-Expect-Callback" type="integer" code="149"/> <attribute name="Ascend-Event-Type" type="integer" code="150"/> <attribute name="Ascend-Session-Svr-Key" type="string" code="151"/> <attribute name="Ascend-Multicast-Rate-Limit" type="integer" code="152"/> <attribute name="Ascend-IF-Netmask" type="ipaddr" code="153"/> <attribute name="Ascend-Remote-Addr" type="ipaddr" code="154"/> <attribute name="Ascend-Multicast-Client" type="integer" code="155"/> <attribute name="Ascend-FR-Circuit-Name" type="string" code="156"/> <attribute name="Ascend-FR-LinkUp" type="integer" code="157"/> <attribute name="Ascend-FR-Nailed-Grp" type="integer" code="158"/> <attribute name="Ascend-FR-Type" type="integer" code="159"/> <attribute name="Ascend-FR-Link-Mgt" type="integer" code="160"/> <attribute name="Ascend-FR-N391" type="integer" code="161"/> <attribute name="Ascend-FR-DCE-N392" type="integer" code="162"/> <attribute name="Ascend-FR-DTE-N392" type="integer" code="163"/> <attribute name="Ascend-FR-DCE-N393" type="integer" code="164"/> <attribute name="Ascend-FR-DTE-N393" type="integer" code="165"/> <attribute name="Ascend-FR-T391" type="integer" code="166"/> <attribute name="Ascend-FR-T392" type="integer" code="167"/> <attribute name="Ascend-Bridge-Address" type="string" code="168"/> <attribute name="Ascend-TS-Idle-Limit" type="integer" code="169"/> <attribute name="Ascend-TS-Idle-Mode" type="integer" code="170"/> <attribute name="Ascend-DBA-Monitor" type="integer" code="171"/> <attribute name="Ascend-Base-Channel-Count" type="integer" code="172"/> <attribute name="Ascend-Minimum-Channels" type="integer" code="173"/> <attribute name="Ascend-IPX-Route" type="string" code="174"/> <attribute name="Ascend-FT1-Caller" type="integer" code="175"/> <attribute name="Ascend-Backup" type="string" code="176"/> <attribute name="Ascend-Call-Type" type="integer" code="177"/> <attribute name="Ascend-Group" type="string" code="178"/> <attribute name="Ascend-FR-DLCI" type="integer" code="179"/> <attribute name="Ascend-FR-Profile-Name" type="string" code="180"/> <attribute name="Ascend-Ara-PW" type="string" code="181"/> <attribute name="Ascend-IPX-Node-Addr" type="string" code="182"/> <attribute name="Ascend-Home-Agent-IP-Addr" type="ipaddr" code="183"/> <attribute name="Ascend-Home-Agent-Password" type="string" code="184"/> <attribute name="Ascend-Home-Network-Name" type="string" code="185"/> <attribute name="Ascend-Home-Agent-UDP-Port" type="integer" code="186"/> <attribute name="Ascend-Multilink-ID" type="integer" code="187"/> <attribute name="Ascend-Num-In-Multilink" type="integer" code="188"/> <attribute name="Ascend-First-Dest" type="ipaddr" code="189"/> <attribute name="Ascend-Pre-Input-Octets" type="integer" code="190"/> <attribute name="Ascend-Pre-Output-Octets" type="integer" code="191"/> <attribute name="Ascend-Pre-Input-Packets" type="integer" code="192"/> <attribute name="Ascend-Pre-Output-Packets" type="integer" code="193"/> <attribute name="Ascend-Maximum-Time" type="integer" code="194"/> <attribute name="Ascend-Disconnect-Cause" type="integer" code="195"/> <attribute name="Ascend-Connect-Progress" type="integer" code="196"/> <attribute name="Ascend-Data-Rate" type="integer" code="197"/> <attribute name="Ascend-PreSession-Time" type="integer" code="198"/> <attribute name="Ascend-Token-Idle" type="integer" code="199"/> <attribute name="Ascend-Token-Immediate" type="integer" code="200"/> <attribute name="Ascend-Require-Auth" type="integer" code="201"/> <attribute name="Ascend-Number-Sessions" type="string" code="202"/> <attribute name="Ascend-Authen-Alias" type="string" code="203"/> <attribute name="Ascend-Token-Expiry" type="integer" code="204"/> <attribute name="Ascend-Menu-Selector" type="string" code="205"/> <attribute name="Ascend-Menu-Item" type="string" code="206"/> <attribute name="Ascend-PW-Warntime" type="integer" code="207"/> <attribute name="Ascend-PW-Lifetime" type="integer" code="208"/> <attribute name="Ascend-IP-Direct" type="ipaddr" code="209"/> <attribute name="Ascend-PPP-VJ-Slot-Comp" type="integer" code="210"/> <attribute name="Ascend-PPP-VJ-1172" type="integer" code="211"/> <attribute name="Ascend-PPP-Async-Map" type="integer" code="212"/> <attribute name="Ascend-Third-Prompt" type="string" code="213"/> <attribute name="Ascend-Send-Secret" type="string" code="214"/> <attribute name="Ascend-Receive-Secret" type="string" code="215"/> <attribute name="Ascend-IPX-Peer-Mode" type="integer" code="216"/> <attribute name="Ascend-IP-Pool-Definition" type="string" code="217"/> <attribute name="Ascend-Assign-IP-Pool" type="integer" code="218"/> <attribute name="Ascend-FR-Direct" type="integer" code="219"/> <attribute name="Ascend-FR-Direct-Profile" type="string" code="220"/> <attribute name="Ascend-FR-Direct-DLCI" type="integer" code="221"/> <attribute name="Ascend-Handle-IPX" type="integer" code="222"/> <attribute name="Ascend-Netware-timeout" type="integer" code="223"/> <attribute name="Ascend-IPX-Alias" type="integer" code="224"/> <attribute name="Ascend-Metric" type="integer" code="225"/> <attribute name="Ascend-PRI-Number-Type" type="integer" code="226"/> <attribute name="Ascend-Dial-Number" type="string" code="227"/> <attribute name="Ascend-Route-IP" type="integer" code="228"/> <attribute name="Ascend-Route-IPX" type="integer" code="229"/> <attribute name="Ascend-Bridge" type="integer" code="230"/> <attribute name="Ascend-Send-Auth" type="integer" code="231"/> <attribute name="Ascend-Send-Passwd" type="string" code="232"/> <attribute name="Ascend-Link-Compression" type="integer" code="233"/> <attribute name="Ascend-Target-Util" type="integer" code="234"/> <attribute name="Ascend-Maximum-Channels" type="integer" code="235"/> <attribute name="Ascend-Inc-Channel-Count" type="integer" code="236"/> <attribute name="Ascend-Dec-Channel-Count" type="integer" code="237"/> <attribute name="Ascend-Seconds-Of-History" type="integer" code="238"/> <attribute name="Ascend-History-Weigh-Type" type="integer" code="239"/> <attribute name="Ascend-Add-Seconds" type="integer" code="240"/> <attribute name="Ascend-Remove-Seconds" type="integer" code="241"/> <attribute name="Ascend-Data-Filter" type="string" code="242"/> <attribute name="Ascend-Call-Filter" type="string" code="243"/> <attribute name="Ascend-Idle-Limit" type="integer" code="244"/> <attribute name="Ascend-Preempt-Limit" type="integer" code="245"/> <attribute name="Ascend-Callback" type="integer" code="246"/> <attribute name="Ascend-Data-Svc" type="integer" code="247"/> <attribute name="Ascend-Force-56" type="integer" code="248"/> <attribute name="Ascend-Billing-Number" type="string" code="249"/> <attribute name="Ascend-Call-By-Call" type="integer" code="250"/> <attribute name="Ascend-Transit-Number" type="string" code="251"/> <attribute name="Ascend-Host-Info" type="string" code="252"/> <attribute name="Ascend-PPP-Address" type="ipaddr" code="253"/> <attribute name="Ascend-MPP-Idle-Percent" type="integer" code="254"/> <attribute name="Ascend-Xmit-Rate" type="integer" code="255"/> </vendor> <vendor code="311" name="Microsoft"> <attribute add="no" name="MS-CHAP-Response" type="string" code="1"/> <attribute add="no" name="MS-CHAP-Error" type="string" code="2"/> <attribute add="no" name="MS-CHAP-LM-Enc-PW" type="string" code="5"/> <attribute add="no" name="MS-CHAP-NT-Enc-PW" type="string" code="6"/> <attribute add="no" name="MS-MPPE-Encryption-Policy" type="integer" code="7"/> <attribute add="no" name="MS-MPPE-Encryption-Types" type="integer" code="8"/> <attribute add="no" name="MS-RAS-Vendor" type="integer" code="9"/> <attribute add="no" name="MS-CHAP-Domain" type="string" code="10"/> <attribute add="no" name="MS-CHAP-Challenge" type="string" code="11"/> <attribute add="no" name="MS-CHAP-MPPE-Keys" type="string" code="12"/> <attribute add="no" name="MS-BAP-Usage" type="integer" code="13"/> <attribute add="no" name="MS-Link-Utilization-Threshold" type="integer" code="14"/> <attribute add="no" name="MS-Link-Drop-Time-Limit" type="integer" code="15"/> <attribute add="no" name="MS-MPPE-Send-Key" type="string" code="16"/> <attribute add="no" name="MS-MPPE-Recv-Key" type="string" code="17"/> <attribute add="no" name="MS-Old-ARAP-Password" type="string" code="18"/> <attribute add="no" name="MS-RAS-Version" type="string" code="19"/> <attribute add="no" name="MS-New-ARAP-Password" type="string" code="20"/> <attribute add="no" name="MS-ARAP-Password-Change-Reason" type="integer" code="21"/> <attribute add="no" name="MS-Filter" type="string" code="22"/> <attribute add="no" name="MS-Acct-Auth-Type" type="integer" code="23"/> <attribute add="no" name="MS-Acct-EAP-Type" type="integer" code="24"/> <attribute add="no" name="MS-CHAP2-Response" type="string" code="25"/> <attribute add="no" name="MS-CHAP2-Success" type="string" code="26"/> <attribute add="no" name="MS-CHAP2-CPW" type="string" code="27"/> <attribute add="no" name="MS-Primary-DNS-Server" type="ipaddr" code="28"/> <attribute add="no" name="MS-Secondary-DNS-Server" type="ipaddr" code="29"/> <attribute add="no" name="MS-Primary-NBNS-Server" type="ipaddr" code="30"/> <attribute add="no" name="MS-Secondary-NBNS-Server" type="ipaddr" code="31"/> <attribute add="no" name="MS-ARAP-Challenge" type="string" code="33"/> <attribute add="no" name="MS-Framed-Encryption-Type" type="integer" code="200"/> </vendor> <vendor code="12341" name="MPD"> <attribute add="no" name="mpd-rule" type="string" code="1"/> <attribute add="no" name="mpd-pipe" type="string" code="2"/> <attribute add="no" name="mpd-queue" type="string" code="3"/> <attribute add="no" name="mpd-table" type="string" code="4"/> <attribute add="no" name="mpd-table-static" type="string" code="5"/> <attribute add="no" name="mpd-filter" type="string" code="6"/> <attribute add="no" name="mpd-limit" type="string" code="7"/> <attribute add="no" name="mpd-drop-user" type="integer" code="154"/> </vendor> <vendor code="4923" name="AudioCodes"> <attribute name="h323-incoming-conf-id" type="string" code="1"/> <attribute name="h323-remote-address" type="string" code="23"/> <attribute name="h323-conf-id" type="string" code="24"/> <attribute name="h323-setup-time" type="string" code="25"/> <attribute name="h323-call-origin" type="string" code="26"/> <attribute name="h323-call-type" type="string" code="27"/> <attribute name="h323-connect-time" type="string" code="28"/> <attribute name="h323-disconnect-time" type="string" code="29"/> <attribute name="h323-disconnect-cause" type="string" code="30"/> <attribute name="h323-gw-id" type="string" code="33"/> </vendor> </vendors> </dictionary> |
Автор: | Администратор [ 29 фев 2008, 19:05 ] |
Заголовок сообщения: | |
Название атрибута должно быть уникально. 1) Скачайте последний RADIUS сервер, возьмите оттуда dictionary.xml 2) Если добавляете своего вендора - на всех дублирующихся атрибутах должен быть префикс. |
Автор: | Sergey Murzin [ 29 фев 2008, 19:39 ] |
Заголовок сообщения: | |
С оригинальным словарем из 4.3 - не помогает (удалил также все ссылки на AudioCodes из конфигурации + ребут радиуса/биллинга). Те же самые сообщения в processor.log Поясните пожалуйста подробнее. В чем разница между: <vendor code="9" name="Cisco"> <attribute name="h323-remote-address" type="string" code="23"/> <vendor code="6618" name="Quintum"> <attribute name="h323-remote-address" type="string" code="23"/> и добавленным мною: <vendor code="4923" name="AudioCodes"> <attribute name="h323-remote-address" type="string" code="23"/> |
Автор: | Администратор [ 29 фев 2008, 20:00 ] |
Заголовок сообщения: | |
Не должно быть 2х атрибутов с одинаковым name в пределах словаря. В дистрибутиве RADIUS тоже был некорректный словарь, исправление выложено. |
Автор: | Sergey Murzin [ 29 фев 2008, 20:27 ] |
Заголовок сообщения: | |
Теперь работает. Спасибо. Остается вопрос как добавить в словарик AudioCodes. Cisco посылает именно этот атрибут без добавления префикса "cisco-", т.е. просто "h323-remote-address" Quintum шлет "Quintum-h323-remote-address" (если верить словарю ![]() AudioCodes ведет себя также как Cisco, т.е. просто "h323-remote-address". Разница только в Vendor code. |
Автор: | Amir [ 29 фев 2008, 22:54 ] |
Заголовок сообщения: | |
При передаче пакетов имеют значение только vendor code и attribute code. |
Автор: | Sergey Murzin [ 02 мар 2008, 14:36 ] |
Заголовок сообщения: | |
Я добавил в словарь следующее: <vendor code="4923" name="AudioCodes"> <attribute name="AudioCodes-h323-incoming-conf-id" type="string" code="1"/> <attribute name="AudioCodes-h323-remote-address" type="string" code="23"/> <attribute name="AudioCodes-h323-conf-id" type="string" code="24"/> <attribute name="AudioCodes-h323-setup-time" type="string" code="25"/> <attribute name="AudioCodes-h323-call-origin" type="string" code="26"/> <attribute name="AudioCodes-h323-call-type" type="string" code="27"/> <attribute name="AudioCodes-h323-connect-time" type="string" code="28"/> <attribute name="AudioCodes-h323-disconnect-time" type="string" code="29"/> <attribute name="AudioCodes-h323-disconnect-cause" type="string" code="30"/> <attribute name="AudioCodes-h323-gw-id" type="string" code="33"/> </vendor> Соответственно в глобальную конфигурацию модуля voiceip пришлось добавить: findmode.5.title=Поиск по ACh323=ALIAS findmode.5.value=AudioCodes-h323-remote-address=ALIAS в конфигурацию NASа: service=1 acct.in=voip/answer acct.out=voip/originate find.order=5 а также создать новый тип логина с "Поиск по ACh323=ALIAS". Как Вы понимаете если логин (адрес удаленного шлюза) уже заведен в контракте (используется тип логина с поиском по "h323-remote-address=ALIAS "), т.е. трафик с других шлюзов (Cisco) уже обрабатывается bgbillingом, то трафик на этот удаленный шлюз именно с AudioCodes не будет считаться пока не изменится тип логина (на "Поиск по ACh323=ALIAS"). Возможно ли как-то решить эту проблему? Или я некорректно прописал вендора в словаре? |
Автор: | Администратор [ 03 мар 2008, 11:44 ] |
Заголовок сообщения: | |
А этот AudioCodes не может слать атрибуты с вендором CISCO? |
Автор: | Sergey Murzin [ 03 мар 2008, 16:00 ] |
Заголовок сообщения: | |
К сожалению - нет. |
Автор: | Администратор [ 03 мар 2008, 16:45 ] |
Заголовок сообщения: | |
Можно сделать скрипт предобработки запроса такого вида: Код: attrList = request.getVendorAttributes( 4923 );
if( attrList != null ) { for( rva : attrList ) { attrClone = new RadiusVendorAttribute( 9, rva.getAttrCode() ); attrClone.setByteValue( rva.getByteValue() ); request.setVendorAttribute( attrClone ); } } Попробуйте поставить его в свойствах NAS, представляющего AudioCodes. Скрипт должен дублировать атрибуты AudioCodes в атрибуты CISCO. |
Автор: | Sergey Murzin [ 03 мар 2008, 18:20 ] |
Заголовок сообщения: | |
В настройке NASа надо выбрать вендор - Cisco или все-таки AudioCodes? Если AudioCodes то в словаре надо прописать: attribute name="AudioCodes-h323-incoming-conf-id" type="string" code="1"/> <attribute name="AudioCodes-h323-remote-address" type="string" code="23"/> ... или <attribute name="h323-incoming-conf-id" type="string" code="1"/> <attribute name="h323-remote-address" type="string" code="23"/> ... |
Автор: | Администратор [ 04 мар 2008, 12:43 ] |
Заголовок сообщения: | |
Выбирайте CISCO. И прописывайте первый вариант. |
Автор: | Sergey Murzin [ 11 мар 2008, 16:59 ] |
Заголовок сообщения: | |
Не работает. В словарь добавил: <vendor code="4923" name="AudioCodes"> <attribute name="AudioCodes-h323-incoming-conf-id" type="string" code="1"/> <attribute name="AudioCodes-h323-remote-address" type="string" code="23"/> <attribute name="AudioCodes-h323-conf-id" type="string" code="24"/> <attribute name="AudioCodes-h323-setup-time" type="string" code="25"/> <attribute name="AudioCodes-h323-call-origin" type="string" code="26"/> <attribute name="AudioCodes-h323-call-type" type="string" code="27"/> <attribute name="AudioCodes-h323-connect-time" type="string" code="28"/> <attribute name="AudioCodes-h323-disconnect-time" type="string" code="29"/> <attribute name="AudioCodes-h323-disconnect-cause" type="string" code="30"/> <attribute name="AudioCodes-h323-gw-id" type="string" code="33"/> </vendor> radius.log Type=ACCOUNTING_REQUEST Attributes: NAS-IP-Address=x.x.x.x Acct-Status-Type=1 Calling-Station-Id=9802229452 NAS-Port-Type=0 Acct-Session-Id=1392773402 Called-Station-Id=77272505010 AudioCodes-h323-conf-id=00000000 00000000 00000000 00000000 AudioCodes-h323-incoming-conf-id=00000000 00000000 00000000 00000000 AudioCodes-h323-gw-id= AudioCodes-h323-setup-time=10:38:23.000 UTC Mar 11 2008 AudioCodes-h323-call-origin=Originate AudioCodes-h323-call-type=VOIP INFO 11.03.2008 16:23:24 RESPONSE: Type=ACCOUNTING_RESPONSE Attributes: INFO 11.03.2008 16:23:45 ACCOUNT: Type=ACCOUNTING_REQUEST Attributes: Acct-Terminate-Cause=0 Acct-Output-Packets=643 NAS-IP-Address=x.x.x.x Acct-Input-Octets=12880 Acct-Output-Octets=12860 Acct-Status-Type=2 Acct-Session-Time=5 Acct-Input-Packets=644 Calling-Station-Id=9802229452 NAS-Port-Type=0 Acct-Session-Id=1392773402 Called-Station-Id=77272505010 AudioCodes-h323-disconnect-time=10:38:44.000 UTC Mar 11 2008 AudioCodes-h323-disconnect-cause=16 AudioCodes-h323-remote-address=y.y.y.y AudioCodes-h323-conf-id=31383336 31333037 39333131 33323030 AudioCodes-h323-incoming-conf-id=31383336 31333037 39333131 33323030 AudioCodes-h323-gw-id= AudioCodes-h323-setup-time=10:38:23.000 UTC Mar 11 2008 AudioCodes-h323-call-origin=Originate AudioCodes-h323-call-type=VOIP AudioCodes-h323-connect-time=10:38:38.000 UTC Mar 11 2008 INFO 11.03.2008 16:23:45 RESPONSE: Type=ACCOUNTING_RESPONSE Attributes: processor.log: ничего кроме startup-записей. radius.out Sourced file: inline evaluation of: ``attrList = request.getVendorAttributes( 4923 ); if( attrList != null ) { fo . . . '' : Can't new: void : at Line: 6 : in file: inline evaluation of: ``attrList = request.getVendorAttributes( 4923 ); if( attrList != null ) { fo . . . '' : new RadiusVendorAttribute ( 9 , rva .getAttrCode ( ) ) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHAssignment.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHEnhancedForStatement.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHIfStatement.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bitel.billing.server.processor.DefaultNASInfo.processRequestWithScript(DefaultNASInfo.java:275) at bitel.billing.server.processor.voiceip.VoiceIpNASInfo.prepareAccountRequest(VoiceIpNASInfo.java:114) at bitel.billing.server.radius.RadiusRequestThread.processRequest(RadiusRequestThread.java:135) at bitel.billing.server.radius.RadiusRequestThread.run(RadiusRequestThread.java:48) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Sourced file: inline evaluation of: ``attrList = request.getVendorAttributes( 4923 ); if( attrList != null ) { fo . . . '' : Can't new: void : at Line: 6 : in file: inline evaluation of: ``attrList = request.getVendorAttributes( 4923 ); if( attrList != null ) { fo . . . '' : new RadiusVendorAttribute ( 9 , rva .getAttrCode ( ) ) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHAssignment.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHEnhancedForStatement.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BSHIfStatement.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bitel.billing.server.processor.DefaultNASInfo.processRequestWithScript(DefaultNASInfo.java:275) at bitel.billing.server.processor.voiceip.VoiceIpNASInfo.prepareAccountRequest(VoiceIpNASInfo.java:114) at bitel.billing.server.radius.RadiusRequestThread.processRequest(RadiusRequestThread.java:135) at bitel.billing.server.radius.RadiusRequestThread.run(RadiusRequestThread.java:48) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) конфигурация NAS (вендор - Cisco): service=1 acct.in=voip/answer acct.out=voip/originate find.order=3 + прописан скрипт предобработки. |
Автор: | Amir [ 11 мар 2008, 17:18 ] |
Заголовок сообщения: | |
Добавьте в начале скрипта предобработки import bitel.billing.server.radius.*; |
Автор: | Sergey Murzin [ 11 мар 2008, 17:48 ] |
Заголовок сообщения: | |
Теперь атрибуты дублируются, например: присутствует модифицированнный: h323-remote-address=y.y.y.y и оригинальный: Audio-Codes-h323-remote-address=y.y.y.y radius.log Type=ACCOUNTING_REQUEST Attributes: NAS-IP-Address=x.x.x.x Acct-Status-Type=1 Calling-Station-Id=9802229452 NAS-Port-Type=0 Acct-Session-Id=1392773403 Called-Station-Id=77272505010 h323-gw-id= AudioCodes-h323-conf-id=00000000 00000000 00000000 00000000 AudioCodes-h323-incoming-conf-id=00000000 00000000 00000000 00000000 AudioCodes-h323-gw-id= cisco-avpair=h323-incoming-conf-id=00000000 00000000 00000000 00000000 h323-conf-id=00000000 00000000 00000000 00000000 AudioCodes-h323-setup-time=11:38:43.000 UTC Mar 11 2008 h323-setup-time=11:38:43.000 UTC Mar 11 2008 AudioCodes-h323-call-origin=Originate h323-call-origin=Originate AudioCodes-h323-call-type=VOIP h323-call-type=VOIP INFO 11.03.2008 17:23:44 RESPONSE: Type=ACCOUNTING_RESPONSE Attributes: INFO 11.03.2008 17:24:01 ACCOUNT: Type=ACCOUNTING_REQUEST Attributes: Acct-Terminate-Cause=0 Acct-Output-Packets=457 NAS-IP-Address=x.x.x.x Acct-Input-Octets=9140 Acct-Output-Octets=9140 Acct-Status-Type=2 Acct-Session-Time=4 Acct-Input-Packets=457 Calling-Station-Id=9802229452 NAS-Port-Type=0 Acct-Session-Id=1392773403 Called-Station-Id=77272505010 h323-gw-id= h323-remote-address=y.y.y.y AudioCodes-h323-disconnect-cause=16 h323-disconnect-cause=16 h323-connect-time=11:38:56.000 UTC Mar 11 2008 h323-disconnect-time=11:39:00.000 UTC Mar 11 2008 AudioCodes-h323-remote-address=y.y.y.y AudioCodes-h323-gw-id= AudioCodes-h323-incoming-conf-id=31343435 32373136 33303131 33323030 AudioCodes-h323-conf-id=31343435 32373136 33303131 33323030 h323-conf-id=31343435 32373136 33303131 33323030 AudioCodes-h323-setup-time=11:38:43.000 UTC Mar 11 2008 h323-setup-time=11:38:43.000 UTC Mar 11 2008 AudioCodes-h323-call-origin=Originate h323-call-origin=Originate AudioCodes-h323-call-type=VOIP h323-call-type=VOIP AudioCodes-h323-connect-time=11:38:56.000 UTC Mar 11 2008 AudioCodes-h323-disconnect-time=11:39:00.000 UTC Mar 11 2008 cisco-avpair=h323-incoming-conf-id=31343435 32373136 33303131 33323030 INFO 11.03.2008 17:24:01 RESPONSE: Type=ACCOUNTING_RESPONSE Attributes: |
Автор: | Администратор [ 13 мар 2008, 11:45 ] |
Заголовок сообщения: | |
Сходу не могу придумать решения для вашей проблемы. Отпишусь попозже, еще поизучаю код радиуса, возможно придется изменить его поведение. |
Автор: | Администратор [ 21 апр 2008, 12:37 ] |
Заголовок сообщения: | |
Решаем, насколько я понял, аналогичную проблему. Если она для вас еще актуальна - присоединяйтесь к обсуждению. http://bgbilling.ru/forum/viewtopic.php?p=5784 |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |