Abills 0.59 + Eltex 1016m
Abills 0.59 + Eltex 1016m
Добрый день, пытаюсь настроить взаимодействие Abills 0.59 + Eltex 1016m. Звонки проходят, тарифицируются, но заметил, что после завершения разговора в мониторинге сессия так и остается и соответственно в анкете абонента не вижу отчет по снятию за сессию. Подскажите пожалуйста, как это исправить. И как заставить работать кнопки Hangup и Zap.
Второй вопрос, различие платной и бесплатной версии модуля - возможность использования IVR?
Второй вопрос, различие платной и бесплатной версии модуля - возможность использования IVR?
- Вложения
-
- abillseltex.PNG (39.34 КБ) 24731 просмотр
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
нужно уже переходить на 0.7jeepers56 писал(а):Добрый день, пытаюсь настроить взаимодействие Abills 0.59 + Eltex 1016m. Звонки проходят, тарифицируются, но заметил, что после завершения разговора в мониторинге сессия так и остается и соответственно в анкете абонента не вижу отчет по снятию за сессию. Подскажите пожалуйста, как это исправить. И как заставить работать кнопки Hangup и Zap.
Второй вопрос, различие платной и бесплатной версии модуля - возможность использования IVR?
для IVR отдельный модуль Callcenter
Re: Abills 0.59 + Eltex 1016m
Для 0.5 модуль еще можно купить? и все-таки возможно ли организовать работоспособность кнопок в 0.5 версии?
Re: Abills 0.59 + Eltex 1016m
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
версия 0.5 уже официально не поддерживается более 2 летjeepers56 писал(а):Для 0.5 модуль еще можно купить? и все-таки возможно ли организовать работоспособность кнопок в 0.5 версии?
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
можно не обращать вниманиеjeepers56 писал(а):rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
Re: Abills 0.59 + Eltex 1016m
Подскажите пожалуйста какое рекомендуемое время поставить на элтексе для таймаута ответа радиуса. Возможно это и влияет на сброс сессии по окончании вызова? таблица voip_calls не очищается и в мониторинге обе сессии остаются двух типов (звонок и ответ) , хотя в статистике время вызова правильное.
- Вложения
-
- Снимок.PNG (30.85 КБ) 24709 просмотров
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
сброс происходит по стоп пакету
уже 0.5 на стенеде нет но можем Ваши пакеты проверить на 0.7
уже 0.5 на стенеде нет но можем Ваши пакеты проверить на 0.7
Re: Abills 0.59 + Eltex 1016m
почему тогда таблица voip_calls не очищаться может? и соответственно в мониторинге сессии висят?
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=185, length=956
Acct-Status-Type = Stop
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:53 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
h323-disconnect-time = "15:39:53.000 EET Thu Jan 25 2018"
h323-disconnect-cause = "10"
Cisco-AVPair = "xpgk-local-disconnect-cause=1"
Acct-Session-Time = 8
Eltex-AVPair = "session-time=8"
Eltex-AVPair = "disconnect-side=answer"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-AVPair = "Incoming-codec=G711.A"
Eltex-Attr-4 = 0xac0fcf02
Eltex-Attr-5 = 0xac0fc102
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
Eltex-AVPair = "Outgoing-codec=G711.A"
Eltex-Attr-6 = 0xac0fcf02
Eltex-Attr-7 = 0xac0fc102
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair Eltex-Attr-7 = 0xac0fc102
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair Eltex-Attr-5 = 0xac0fc102
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair Eltex-AVPair = session-time=8
rlm_perl: Added pair Eltex-AVPair = disconnect-side=answer
rlm_perl: Added pair Eltex-AVPair = Incoming-codec=G711.A
rlm_perl: Added pair Eltex-AVPair = Outgoing-codec=G711.A
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Stop
rlm_perl: Added pair Eltex-Attr-6 = 0xac0fcf02
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-local-disconnect-cause=1
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-disconnect-time = 15:39:53.000 EET Thu Jan 25 2018
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair Acct-Session-Time = 8
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair Eltex-Attr-4 = 0xac0fcf02
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
rlm_perl: Added pair h323-disconnect-cause = 10
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 185 to 172.15.207.2 port 10003
Finished request 3.
Cleaning up request 3 ID 185 with timestamp +15
Going to the next request
Ready to process requests.
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=185, length=956
Acct-Status-Type = Stop
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:53 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
h323-disconnect-time = "15:39:53.000 EET Thu Jan 25 2018"
h323-disconnect-cause = "10"
Cisco-AVPair = "xpgk-local-disconnect-cause=1"
Acct-Session-Time = 8
Eltex-AVPair = "session-time=8"
Eltex-AVPair = "disconnect-side=answer"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-AVPair = "Incoming-codec=G711.A"
Eltex-Attr-4 = 0xac0fcf02
Eltex-Attr-5 = 0xac0fc102
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
Eltex-AVPair = "Outgoing-codec=G711.A"
Eltex-Attr-6 = 0xac0fcf02
Eltex-Attr-7 = 0xac0fc102
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair Eltex-Attr-7 = 0xac0fc102
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair Eltex-Attr-5 = 0xac0fc102
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair Eltex-AVPair = session-time=8
rlm_perl: Added pair Eltex-AVPair = disconnect-side=answer
rlm_perl: Added pair Eltex-AVPair = Incoming-codec=G711.A
rlm_perl: Added pair Eltex-AVPair = Outgoing-codec=G711.A
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Stop
rlm_perl: Added pair Eltex-Attr-6 = 0xac0fcf02
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-local-disconnect-cause=1
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-disconnect-time = 15:39:53.000 EET Thu Jan 25 2018
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair Acct-Session-Time = 8
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair Eltex-Attr-4 = 0xac0fcf02
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
rlm_perl: Added pair h323-disconnect-cause = 10
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 185 to 172.15.207.2 port 10003
Finished request 3.
Cleaning up request 3 ID 185 with timestamp +15
Going to the next request
Ready to process requests.
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
нужно старт и стоп
Re: Abills 0.59 + Eltex 1016m
root@upts:/usr/abills/libexec# radiusd -X
radiusd: FreeRADIUS Version 2.2.9, for host x86_64-unknown-linux-gnu, built on Jan 23 2018 at 14:01:20
Copyright (C) 1999-2015 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
Starting - reading configuration files ...
including configuration file /usr/local/freeradius/etc/raddb/radiusd.conf
including configuration file /usr/local/freeradius/etc/raddb/clients.conf
including files in directory /usr/local/freeradius/etc/raddb/modules/
including configuration file /usr/local/freeradius/etc/raddb/modules/replicate
including configuration file /usr/local/freeradius/etc/raddb/modules/rediswho
including configuration file /usr/local/freeradius/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/freeradius/etc/raddb/modules/detail.log
including configuration file /usr/local/freeradius/etc/raddb/modules/etc_group
including configuration file /usr/local/freeradius/etc/raddb/modules/mac2ip
including configuration file /usr/local/freeradius/etc/raddb/modules/expiration
including configuration file /usr/local/freeradius/etc/raddb/modules/dynamic_clients
including configuration file /usr/local/freeradius/etc/raddb/modules/smsotp
including configuration file /usr/local/freeradius/etc/raddb/modules/mschap
including configuration file /usr/local/freeradius/etc/raddb/modules/attr_filter
including configuration file /usr/local/freeradius/etc/raddb/modules/always
including configuration file /usr/local/freeradius/etc/raddb/modules/opendirectory
including configuration file /usr/local/freeradius/etc/raddb/modules/logintime
including configuration file /usr/local/freeradius/etc/raddb/modules/counter
including configuration file /usr/local/freeradius/etc/raddb/modules/digest
including configuration file /usr/local/freeradius/etc/raddb/modules/perl
including configuration file /usr/local/freeradius/etc/raddb/modules/soh
including configuration file /usr/local/freeradius/etc/raddb/modules/detail
including configuration file /usr/local/freeradius/etc/raddb/modules/policy
including configuration file /usr/local/freeradius/etc/raddb/modules/inner-eap
including configuration file /usr/local/freeradius/etc/raddb/modules/krb5
including configuration file /usr/local/freeradius/etc/raddb/modules/mac2vlan
including configuration file /usr/local/freeradius/etc/raddb/modules/sql_log
including configuration file /usr/local/freeradius/etc/raddb/modules/cache
including configuration file /usr/local/freeradius/etc/raddb/modules/linelog
including configuration file /usr/local/freeradius/etc/raddb/modules/radrelay
including configuration file /usr/local/freeradius/etc/raddb/modules/expr
including configuration file /usr/local/freeradius/etc/raddb/modules/dhcp_sqlippool
including configuration file /usr/local/freeradius/etc/raddb/sql/mysql/ippool-dhcp.conf
including configuration file /usr/local/freeradius/etc/raddb/modules/acct_unique
including configuration file /usr/local/freeradius/etc/raddb/modules/smbpasswd
including configuration file /usr/local/freeradius/etc/raddb/modules/realm
including configuration file /usr/local/freeradius/etc/raddb/modules/pap
including configuration file /usr/local/freeradius/etc/raddb/modules/unix
including configuration file /usr/local/freeradius/etc/raddb/modules/radutmp
including configuration file /usr/local/freeradius/etc/raddb/modules/passwd
including configuration file /usr/local/freeradius/etc/raddb/modules/chap
including configuration file /usr/local/freeradius/etc/raddb/modules/wimax
including configuration file /usr/local/freeradius/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/freeradius/etc/raddb/modules/preprocess
including configuration file /usr/local/freeradius/etc/raddb/modules/redis
including configuration file /usr/local/freeradius/etc/raddb/modules/ldap
including configuration file /usr/local/freeradius/etc/raddb/modules/detail.example.com
including configuration file /usr/local/freeradius/etc/raddb/modules/files
including configuration file /usr/local/freeradius/etc/raddb/modules/sradutmp
including configuration file /usr/local/freeradius/etc/raddb/modules/pam
including configuration file /usr/local/freeradius/etc/raddb/modules/exec
including configuration file /usr/local/freeradius/etc/raddb/modules/ntlm_auth
including configuration file /usr/local/freeradius/etc/raddb/modules/otp
including configuration file /usr/local/freeradius/etc/raddb/modules/ippool
including configuration file /usr/local/freeradius/etc/raddb/modules/echo
including configuration file /usr/local/freeradius/etc/raddb/modules/checkval
including configuration file /usr/local/freeradius/etc/raddb/modules/cui
including configuration file /usr/local/freeradius/etc/raddb/sql.conf
including configuration file /usr/local/freeradius/etc/raddb/policy.conf
including files in directory /usr/local/freeradius/etc/raddb/sites-enabled/
including configuration file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
main {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
including dictionary file /usr/local/freeradius/etc/raddb/dictionary
main {
name = "radiusd"
prefix = "/usr/local/freeradius"
localstatedir = "/var"
sbindir = "/usr/local/freeradius/sbin"
logdir = "/var/log"
run_dir = "/var/run/radiusd"
libdir = "/usr/local/lib/freeradius-2.1.6"
radacctdir = "/var/log/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 512000
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/freeradius/sbin/checkrad"
debug_level = 0
proxy_requests = no
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
allow_vulnerable_openssl = no
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client 127.0.0.1 {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "secretpass"
}
client 172.15.207.2 {
ipaddr = 172.15.207.2
require_message_authenticator = no
secret = "smg"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file /usr/local/freeradius/etc/raddb/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file /usr/local/freeradius/etc/raddb/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
Module: Linked to module rlm_sql
Module: Instantiating module "sql" from file /usr/local/freeradius/etc/raddb/sql.conf
sql {
driver = "rlm_sql_mysql"
server = "localhost"
port = ""
login = "abills"
password = "pass"
radius_db = "abills"
read_groups = yes
sqltrace = no
sqltracefile = "/var/log/sqltrace.sql"
readclients = yes
deletestalesessions = yes
num_sql_socks = 5
lifetime = 0
max_queries = 0
sql_user_name = ""
default_user_profile = ""
nas_query = "SELECT ip, INET_NTOA(ip), CONCAT('NAS_', id), nas_type, DECODE(mng_password, 'test12345678901234567890') FROM nas GROUP BY INET_NTOA(ip)"
authorize_check_query = ""
authorize_group_check_query = ""
authorize_group_reply_query = ""
accounting_onoff_query = ""
accounting_update_query = ""
accounting_update_query_alt = ""
accounting_start_query = ""
accounting_start_query_alt = ""
accounting_stop_query = ""
accounting_stop_query_alt = ""
connect_failure_retry_delay = 60
simul_count_query = ""
simul_verify_query = ""
postauth_query = ""
safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
}
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to abills@localhost:/abills
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
rlm_sql (sql): Processing generate_sql_clients
rlm_sql (sql) in generate_sql_clients: query is SELECT ip, INET_NTOA(ip), CONCAT('NAS_', id), nas_type, DECODE(mng_password, 'test12345678901234567890') FROM nas GROUP BY INET_NTOA(ip)
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Read entry nasname=0.0.0.127,shortname=NAS_1,secret=secretpass
rlm_sql (sql): Adding client 0.0.0.127 (NAS_1, server=<none>) to clients list
rlm_sql (sql): Read entry nasname=0.0.0.172,shortname=NAS_2,secret=fynfhtcgjhnfk123
rlm_sql (sql): Adding client 0.0.0.172 (NAS_2, server=<none>) to clients list
rlm_sql (sql): Released sql socket id: 4
}
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/freeradius/etc/raddb/radiusd.conf
modules {
Module: Creating Auth-Type = Perl
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /usr/local/freeradius/etc/raddb/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /usr/local/freeradius/etc/raddb/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_perl
Module: Instantiating module "perl" from file /usr/local/freeradius/etc/raddb/modules/perl
perl {
module = "/usr/abills/libexec/rlm_perl.pl"
func_authorize = "authorize"
func_authenticate = "authenticate"
func_accounting = "accounting"
func_preacct = "preacct"
func_checksimul = "checksimul"
func_detach = "detach"
func_xlat = "xlat"
func_pre_proxy = "pre_proxy"
func_post_proxy = "post_proxy"
func_post_auth = "post_auth"
func_recv_coa = "recv_coa"
func_send_coa = "send_coa"
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file /usr/local/freeradius/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/usr/local/freeradius/etc/raddb/huntgroups"
hints = "/usr/local/freeradius/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
reading pairlist file /usr/local/freeradius/etc/raddb/huntgroups
reading pairlist file /usr/local/freeradius/etc/raddb/hints
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /usr/local/freeradius/etc/raddb/modules/files
files {
usersfile = "/usr/local/freeradius/etc/raddb/users"
acctusersfile = "/usr/local/freeradius/etc/raddb/acct_users"
preproxy_usersfile = "/usr/local/freeradius/etc/raddb/preproxy_users"
compat = "no"
}
reading pairlist file /usr/local/freeradius/etc/raddb/users
reading pairlist file /usr/local/freeradius/etc/raddb/acct_users
reading pairlist file /usr/local/freeradius/etc/raddb/preproxy_users
Module: Checking preacct {...} for more modules to load
Module: Checking accounting {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Ready to process requests.
rad_recv: Access-Request packet from host 172.15.207.2 port 10003, id=182, length=344
User-Name = "23007"
User-Password = "password"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
NAS-Port = 285212739
NAS-Port-Type = Async
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Framed-IP-Address = 172.15.193.2
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-call-origin = "originate"
h323-call-type = "VoIP"
Cisco-AVPair = "xpgk-request-type=number"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group authorize {
++[preprocess] = ok
++[mschap] = noop
[files] users: Matched entry DEFAULT at line 36
++[files] = ok
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair User-Name = 23007
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair User-Password = password
rlm_perl: Added pair Cisco-AVPair = xpgk-request-type=number
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-credit-time = 5071
rlm_perl: Added pair Session-Timeout = 5071
rlm_perl: Added pair Auth-Type = Accept
++[perl] = ok
+} # group authorize = ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 182 to 172.15.207.2 port 10003
h323-credit-time = "5071"
Session-Timeout = 5071
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 172.15.207.2 port 10003, id=183, length=407
User-Name = "23008"
User-Password = "password"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
NAS-Port = 285213744
NAS-Port-Type = Async
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Framed-IP-Address = 172.15.193.2
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-call-origin = "answer"
h323-call-type = "VoIP"
Cisco-AVPair = "xpgk-request-type=number"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group authorize {
++[preprocess] = ok
++[mschap] = noop
[files] users: Matched entry DEFAULT at line 36
++[files] = ok
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = answer
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair NAS-Port = 285213744
rlm_perl: Added pair User-Name = 23008
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair User-Password = password
rlm_perl: Added pair Cisco-AVPair = xpgk-request-type=number
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Reply-Message = Too small deposit please recharge balace (6.18)
rlm_perl: Added pair Filter-Id = deposit_alert
rlm_perl: Added pair Auth-Type = Accept
++[perl] = ok
+} # group authorize = ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 183 to 172.15.207.2 port 10003
Reply-Message = "Too small deposit please recharge balace (6.18)"
Filter-Id = "deposit_alert"
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=184, length=705
Acct-Status-Type = Start
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:46 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Start
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:46 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 184 to 172.15.207.2 port 10003
Finished request 2.
Cleaning up request 2 ID 184 with timestamp +8
Going to the next request
Waking up in 1.3 seconds.
Cleaning up request 0 ID 182 with timestamp +4
Cleaning up request 1 ID 183 with timestamp +4
Ready to process requests.
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=185, length=956
Acct-Status-Type = Stop
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:53 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
h323-disconnect-time = "15:39:53.000 EET Thu Jan 25 2018"
h323-disconnect-cause = "10"
Cisco-AVPair = "xpgk-local-disconnect-cause=1"
Acct-Session-Time = 8
Eltex-AVPair = "session-time=8"
Eltex-AVPair = "disconnect-side=answer"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-AVPair = "Incoming-codec=G711.A"
Eltex-Attr-4 = 0xac0fcf02
Eltex-Attr-5 = 0xac0fc102
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
Eltex-AVPair = "Outgoing-codec=G711.A"
Eltex-Attr-6 = 0xac0fcf02
Eltex-Attr-7 = 0xac0fc102
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair Eltex-Attr-7 = 0xac0fc102
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair Eltex-Attr-5 = 0xac0fc102
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair Eltex-AVPair = session-time=8
rlm_perl: Added pair Eltex-AVPair = disconnect-side=answer
rlm_perl: Added pair Eltex-AVPair = Incoming-codec=G711.A
rlm_perl: Added pair Eltex-AVPair = Outgoing-codec=G711.A
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Stop
rlm_perl: Added pair Eltex-Attr-6 = 0xac0fcf02
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-local-disconnect-cause=1
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-disconnect-time = 15:39:53.000 EET Thu Jan 25 2018
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair Acct-Session-Time = 8
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair Eltex-Attr-4 = 0xac0fcf02
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
rlm_perl: Added pair h323-disconnect-cause = 10
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 185 to 172.15.207.2 port 10003
Finished request 3.
Cleaning up request 3 ID 185 with timestamp +15
Going to the next request
Ready to process requests.
radiusd: FreeRADIUS Version 2.2.9, for host x86_64-unknown-linux-gnu, built on Jan 23 2018 at 14:01:20
Copyright (C) 1999-2015 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
Starting - reading configuration files ...
including configuration file /usr/local/freeradius/etc/raddb/radiusd.conf
including configuration file /usr/local/freeradius/etc/raddb/clients.conf
including files in directory /usr/local/freeradius/etc/raddb/modules/
including configuration file /usr/local/freeradius/etc/raddb/modules/replicate
including configuration file /usr/local/freeradius/etc/raddb/modules/rediswho
including configuration file /usr/local/freeradius/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/freeradius/etc/raddb/modules/detail.log
including configuration file /usr/local/freeradius/etc/raddb/modules/etc_group
including configuration file /usr/local/freeradius/etc/raddb/modules/mac2ip
including configuration file /usr/local/freeradius/etc/raddb/modules/expiration
including configuration file /usr/local/freeradius/etc/raddb/modules/dynamic_clients
including configuration file /usr/local/freeradius/etc/raddb/modules/smsotp
including configuration file /usr/local/freeradius/etc/raddb/modules/mschap
including configuration file /usr/local/freeradius/etc/raddb/modules/attr_filter
including configuration file /usr/local/freeradius/etc/raddb/modules/always
including configuration file /usr/local/freeradius/etc/raddb/modules/opendirectory
including configuration file /usr/local/freeradius/etc/raddb/modules/logintime
including configuration file /usr/local/freeradius/etc/raddb/modules/counter
including configuration file /usr/local/freeradius/etc/raddb/modules/digest
including configuration file /usr/local/freeradius/etc/raddb/modules/perl
including configuration file /usr/local/freeradius/etc/raddb/modules/soh
including configuration file /usr/local/freeradius/etc/raddb/modules/detail
including configuration file /usr/local/freeradius/etc/raddb/modules/policy
including configuration file /usr/local/freeradius/etc/raddb/modules/inner-eap
including configuration file /usr/local/freeradius/etc/raddb/modules/krb5
including configuration file /usr/local/freeradius/etc/raddb/modules/mac2vlan
including configuration file /usr/local/freeradius/etc/raddb/modules/sql_log
including configuration file /usr/local/freeradius/etc/raddb/modules/cache
including configuration file /usr/local/freeradius/etc/raddb/modules/linelog
including configuration file /usr/local/freeradius/etc/raddb/modules/radrelay
including configuration file /usr/local/freeradius/etc/raddb/modules/expr
including configuration file /usr/local/freeradius/etc/raddb/modules/dhcp_sqlippool
including configuration file /usr/local/freeradius/etc/raddb/sql/mysql/ippool-dhcp.conf
including configuration file /usr/local/freeradius/etc/raddb/modules/acct_unique
including configuration file /usr/local/freeradius/etc/raddb/modules/smbpasswd
including configuration file /usr/local/freeradius/etc/raddb/modules/realm
including configuration file /usr/local/freeradius/etc/raddb/modules/pap
including configuration file /usr/local/freeradius/etc/raddb/modules/unix
including configuration file /usr/local/freeradius/etc/raddb/modules/radutmp
including configuration file /usr/local/freeradius/etc/raddb/modules/passwd
including configuration file /usr/local/freeradius/etc/raddb/modules/chap
including configuration file /usr/local/freeradius/etc/raddb/modules/wimax
including configuration file /usr/local/freeradius/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/freeradius/etc/raddb/modules/preprocess
including configuration file /usr/local/freeradius/etc/raddb/modules/redis
including configuration file /usr/local/freeradius/etc/raddb/modules/ldap
including configuration file /usr/local/freeradius/etc/raddb/modules/detail.example.com
including configuration file /usr/local/freeradius/etc/raddb/modules/files
including configuration file /usr/local/freeradius/etc/raddb/modules/sradutmp
including configuration file /usr/local/freeradius/etc/raddb/modules/pam
including configuration file /usr/local/freeradius/etc/raddb/modules/exec
including configuration file /usr/local/freeradius/etc/raddb/modules/ntlm_auth
including configuration file /usr/local/freeradius/etc/raddb/modules/otp
including configuration file /usr/local/freeradius/etc/raddb/modules/ippool
including configuration file /usr/local/freeradius/etc/raddb/modules/echo
including configuration file /usr/local/freeradius/etc/raddb/modules/checkval
including configuration file /usr/local/freeradius/etc/raddb/modules/cui
including configuration file /usr/local/freeradius/etc/raddb/sql.conf
including configuration file /usr/local/freeradius/etc/raddb/policy.conf
including files in directory /usr/local/freeradius/etc/raddb/sites-enabled/
including configuration file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
main {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
including dictionary file /usr/local/freeradius/etc/raddb/dictionary
main {
name = "radiusd"
prefix = "/usr/local/freeradius"
localstatedir = "/var"
sbindir = "/usr/local/freeradius/sbin"
logdir = "/var/log"
run_dir = "/var/run/radiusd"
libdir = "/usr/local/lib/freeradius-2.1.6"
radacctdir = "/var/log/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 512000
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/freeradius/sbin/checkrad"
debug_level = 0
proxy_requests = no
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
allow_vulnerable_openssl = no
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client 127.0.0.1 {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "secretpass"
}
client 172.15.207.2 {
ipaddr = 172.15.207.2
require_message_authenticator = no
secret = "smg"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file /usr/local/freeradius/etc/raddb/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file /usr/local/freeradius/etc/raddb/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
Module: Linked to module rlm_sql
Module: Instantiating module "sql" from file /usr/local/freeradius/etc/raddb/sql.conf
sql {
driver = "rlm_sql_mysql"
server = "localhost"
port = ""
login = "abills"
password = "pass"
radius_db = "abills"
read_groups = yes
sqltrace = no
sqltracefile = "/var/log/sqltrace.sql"
readclients = yes
deletestalesessions = yes
num_sql_socks = 5
lifetime = 0
max_queries = 0
sql_user_name = ""
default_user_profile = ""
nas_query = "SELECT ip, INET_NTOA(ip), CONCAT('NAS_', id), nas_type, DECODE(mng_password, 'test12345678901234567890') FROM nas GROUP BY INET_NTOA(ip)"
authorize_check_query = ""
authorize_group_check_query = ""
authorize_group_reply_query = ""
accounting_onoff_query = ""
accounting_update_query = ""
accounting_update_query_alt = ""
accounting_start_query = ""
accounting_start_query_alt = ""
accounting_stop_query = ""
accounting_stop_query_alt = ""
connect_failure_retry_delay = 60
simul_count_query = ""
simul_verify_query = ""
postauth_query = ""
safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
}
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to abills@localhost:/abills
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
rlm_sql (sql): Processing generate_sql_clients
rlm_sql (sql) in generate_sql_clients: query is SELECT ip, INET_NTOA(ip), CONCAT('NAS_', id), nas_type, DECODE(mng_password, 'test12345678901234567890') FROM nas GROUP BY INET_NTOA(ip)
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Read entry nasname=0.0.0.127,shortname=NAS_1,secret=secretpass
rlm_sql (sql): Adding client 0.0.0.127 (NAS_1, server=<none>) to clients list
rlm_sql (sql): Read entry nasname=0.0.0.172,shortname=NAS_2,secret=fynfhtcgjhnfk123
rlm_sql (sql): Adding client 0.0.0.172 (NAS_2, server=<none>) to clients list
rlm_sql (sql): Released sql socket id: 4
}
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/freeradius/etc/raddb/radiusd.conf
modules {
Module: Creating Auth-Type = Perl
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /usr/local/freeradius/etc/raddb/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /usr/local/freeradius/etc/raddb/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_perl
Module: Instantiating module "perl" from file /usr/local/freeradius/etc/raddb/modules/perl
perl {
module = "/usr/abills/libexec/rlm_perl.pl"
func_authorize = "authorize"
func_authenticate = "authenticate"
func_accounting = "accounting"
func_preacct = "preacct"
func_checksimul = "checksimul"
func_detach = "detach"
func_xlat = "xlat"
func_pre_proxy = "pre_proxy"
func_post_proxy = "post_proxy"
func_post_auth = "post_auth"
func_recv_coa = "recv_coa"
func_send_coa = "send_coa"
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file /usr/local/freeradius/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/usr/local/freeradius/etc/raddb/huntgroups"
hints = "/usr/local/freeradius/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
reading pairlist file /usr/local/freeradius/etc/raddb/huntgroups
reading pairlist file /usr/local/freeradius/etc/raddb/hints
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /usr/local/freeradius/etc/raddb/modules/files
files {
usersfile = "/usr/local/freeradius/etc/raddb/users"
acctusersfile = "/usr/local/freeradius/etc/raddb/acct_users"
preproxy_usersfile = "/usr/local/freeradius/etc/raddb/preproxy_users"
compat = "no"
}
reading pairlist file /usr/local/freeradius/etc/raddb/users
reading pairlist file /usr/local/freeradius/etc/raddb/acct_users
reading pairlist file /usr/local/freeradius/etc/raddb/preproxy_users
Module: Checking preacct {...} for more modules to load
Module: Checking accounting {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Ready to process requests.
rad_recv: Access-Request packet from host 172.15.207.2 port 10003, id=182, length=344
User-Name = "23007"
User-Password = "password"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
NAS-Port = 285212739
NAS-Port-Type = Async
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Framed-IP-Address = 172.15.193.2
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-call-origin = "originate"
h323-call-type = "VoIP"
Cisco-AVPair = "xpgk-request-type=number"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group authorize {
++[preprocess] = ok
++[mschap] = noop
[files] users: Matched entry DEFAULT at line 36
++[files] = ok
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair User-Name = 23007
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair User-Password = password
rlm_perl: Added pair Cisco-AVPair = xpgk-request-type=number
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-credit-time = 5071
rlm_perl: Added pair Session-Timeout = 5071
rlm_perl: Added pair Auth-Type = Accept
++[perl] = ok
+} # group authorize = ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 182 to 172.15.207.2 port 10003
h323-credit-time = "5071"
Session-Timeout = 5071
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 172.15.207.2 port 10003, id=183, length=407
User-Name = "23008"
User-Password = "password"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
NAS-Port = 285213744
NAS-Port-Type = Async
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Framed-IP-Address = 172.15.193.2
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-call-origin = "answer"
h323-call-type = "VoIP"
Cisco-AVPair = "xpgk-request-type=number"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group authorize {
++[preprocess] = ok
++[mschap] = noop
[files] users: Matched entry DEFAULT at line 36
++[files] = ok
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = answer
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair NAS-Port = 285213744
rlm_perl: Added pair User-Name = 23008
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair User-Password = password
rlm_perl: Added pair Cisco-AVPair = xpgk-request-type=number
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Reply-Message = Too small deposit please recharge balace (6.18)
rlm_perl: Added pair Filter-Id = deposit_alert
rlm_perl: Added pair Auth-Type = Accept
++[perl] = ok
+} # group authorize = ok
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
Sending Access-Accept of id 183 to 172.15.207.2 port 10003
Reply-Message = "Too small deposit please recharge balace (6.18)"
Filter-Id = "deposit_alert"
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=184, length=705
Acct-Status-Type = Start
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:46 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Start
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:46 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 184 to 172.15.207.2 port 10003
Finished request 2.
Cleaning up request 2 ID 184 with timestamp +8
Going to the next request
Waking up in 1.3 seconds.
Cleaning up request 0 ID 182 with timestamp +4
Cleaning up request 1 ID 183 with timestamp +4
Ready to process requests.
rad_recv: Accounting-Request packet from host 172.15.207.2 port 10003, id=185, length=956
Acct-Status-Type = Stop
User-Name = "23007"
Calling-Station-Id = "23007"
Called-Station-Id = "23008"
Acct-Session-Id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
Event-Timestamp = "Янв 25 2018 15:39:53 EET"
NAS-Port = 285212739
NAS-Port-Type = Async
Framed-IP-Address = 172.15.193.2
Cisco-NAS-Port = "SIPT:0043"
Cisco-AVPair = "xpgk-src-number-in=23007"
Cisco-AVPair = "xpgk-dst-number-in=23008"
Cisco-AVPair = "xpgk-src-number-out=23007"
Cisco-AVPair = "xpgk-dst-number-out=23008"
Cisco-AVPair = "xpgk-route-retries=1"
Cisco-AVPair = "h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-remote-address = "172.15.193.2"
h323-incoming-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-conf-id = "11000043 5a69de1e 1b3d88fc 0928e0f5"
h323-setup-time = "15:39:42.000 EET Thu Jan 25 2018"
h323-call-origin = "originate"
h323-call-type = "VoIP"
h323-connect-time = "15:39:45.000 EET Thu Jan 25 2018"
h323-disconnect-time = "15:39:53.000 EET Thu Jan 25 2018"
h323-disconnect-cause = "10"
Cisco-AVPair = "xpgk-local-disconnect-cause=1"
Acct-Session-Time = 8
Eltex-AVPair = "session-time=8"
Eltex-AVPair = "disconnect-side=answer"
Acct-Delay-Time = 0
Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
Eltex-AVPair = "Incoming-codec=G711.A"
Eltex-Attr-4 = 0xac0fcf02
Eltex-Attr-5 = 0xac0fc102
Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
Eltex-AVPair = "Outgoing-codec=G711.A"
Eltex-Attr-6 = 0xac0fcf02
Eltex-Attr-7 = 0xac0fc102
NAS-IP-Address = 172.15.207.2
Cisco-AVPair = "h323-gw-address=172.15.207.2"
h323-gw-id = "172.15.207.2"
# Executing section preacct from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group preacct {
++[preprocess] = ok
+} # group preacct = ok
# Executing section accounting from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group accounting {
rlm_perl: Added pair Eltex-Attr-7 = 0xac0fc102
rlm_perl: Added pair NAS-Port-Type = Async
rlm_perl: Added pair Eltex-Attr-3 = 0x313531362d3838373538322d373031313739
rlm_perl: Added pair Eltex-Attr-5 = 0xac0fc102
rlm_perl: Added pair h323-remote-address = 172.15.193.2
rlm_perl: Added pair Eltex-AVPair = session-time=8
rlm_perl: Added pair Eltex-AVPair = disconnect-side=answer
rlm_perl: Added pair Eltex-AVPair = Incoming-codec=G711.A
rlm_perl: Added pair Eltex-AVPair = Outgoing-codec=G711.A
rlm_perl: Added pair NAS-IP-Address = 172.15.207.2
rlm_perl: Added pair Acct-Status-Type = Stop
rlm_perl: Added pair Eltex-Attr-6 = 0xac0fcf02
rlm_perl: Added pair Calling-Station-Id = 23007
rlm_perl: Added pair h323-incoming-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-in=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-in=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-src-number-out=23007
rlm_perl: Added pair Cisco-AVPair = xpgk-dst-number-out=23008
rlm_perl: Added pair Cisco-AVPair = xpgk-route-retries=1
rlm_perl: Added pair Cisco-AVPair = h323-call-id=11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Cisco-AVPair = xpgk-local-disconnect-cause=1
rlm_perl: Added pair Cisco-AVPair = h323-gw-address=172.15.207.2
rlm_perl: Added pair Acct-Session-Id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair h323-disconnect-time = 15:39:53.000 EET Thu Jan 25 2018
rlm_perl: Added pair Cisco-NAS-Port = SIPT:0043
rlm_perl: Added pair Framed-IP-Address = 172.15.193.2
rlm_perl: Added pair h323-call-origin = originate
rlm_perl: Added pair h323-gw-id = 172.15.207.2
rlm_perl: Added pair Called-Station-Id = 23008
rlm_perl: Added pair Eltex-Attr-2 = 0x38303732393744412d343230302d453831312d394134432d353944434441373239334130403137322e31352e3139332e32
rlm_perl: Added pair Acct-Session-Time = 8
rlm_perl: Added pair User-Name = 23007
rlm_perl: ERROR: Failed to create pair Event-Timestamp = Янв 25 2018 15:39:53 EET
rlm_perl: Added pair NAS-Port = 285212739
rlm_perl: Added pair h323-call-type = VoIP
rlm_perl: Added pair h323-setup-time = 15:39:42.000 EET Thu Jan 25 2018
rlm_perl: Added pair Eltex-Attr-4 = 0xac0fcf02
rlm_perl: Added pair h323-connect-time = 15:39:45.000 EET Thu Jan 25 2018
rlm_perl: Added pair h323-conf-id = 11000043 5a69de1e 1b3d88fc 0928e0f5
rlm_perl: Added pair Acct-Delay-Time = 0
rlm_perl: Added pair h323-disconnect-cause = 10
++[perl] = ok
+} # group accounting = ok
Sending Accounting-Response of id 185 to 172.15.207.2 port 10003
Finished request 3.
Cleaning up request 3 ID 185 with timestamp +15
Going to the next request
Ready to process requests.
Re: Abills 0.59 + Eltex 1016m
Еще заметил, что в базе acct-session-id хранится в виде 11000043 5a69de1e 1b3d88fc 0928e0f5, а при нажатии на кнопку zap передается первая часть до пробела. И при звонке создается 4 записи, по два для каждого из участвующих в разговоре номера. Это нормально? Как-то можно изменить передаваемый радиусом параметр ACCT_SESSION_ID?
- Вложения
-
- 3.PNG (27.08 КБ) 24682 просмотра
-
- 2.PNG (26.87 КБ) 24682 просмотра
-
- 1.PNG (14.38 КБ) 24682 просмотра
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
проверили на 0.77 все работает и старт и стоп
Re: Abills 0.59 + Eltex 1016m
Спасибо, модуль Voip отдельно от коммерческой версии можно приобрести в 0.7 версии ? не будет ли там ограничения по количеству абонентов (не одновременно говорящих)?
И еще вопрос можно ли изменить формат передаваемого радиусом параметра ACCT_SESSION_ID?
И еще вопрос можно ли изменить формат передаваемого радиусом параметра ACCT_SESSION_ID?
-
- Site Admin
- Сообщения: 5746
- Зарегистрирован: Пт янв 28, 2005 3:11 pm
- Контактная информация:
Re: Abills 0.59 + Eltex 1016m
http://abills.net.ua/wiki/doku.php/abills:price:pricejeepers56 писал(а):Спасибо, модуль Voip отдельно от коммерческой версии можно приобрести в 0.7 версии ? не будет ли там ограничения по количеству абонентов (не одновременно говорящих)?
И еще вопрос можно ли изменить формат передаваемого радиусом параметра ACCT_SESSION_ID?
вот комплект для VOIP
VoIP
Asterisk, GNUgk протоколы: SIP, H.323
на 30 одновременных звонков - 650$
Каждые дополнительные 10 одновременных +250 $
формат ACCT_SESSION_ID задается на eltex