Re: [OpenSIPS-Users] Problem with aaa_radius

2014-03-05 Thread Bogdan-Andrei Iancu

Hello Aleksandr,

The logs you posted does not show any error - are those the last logs 
during the start attempt ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 24.02.2014 10:28, Alexander Mustafin wrote:

Hello.

I’m trying to setup new server and just copy opensips.cfg from other 
server. This configuration tested and works successfully.

But now, I’ve silent problem.

OpenSIPS from yum-repo:
version: opensips 1.10.0beta-tls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, 
USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id$
main.c compiled on 03:46:24 Aug  6 2013 with gcc 4.4.7

radiusclient-ng installed and config copied too.

When I insert radius_send_auth("radius_auth","radius_auth_resp");  in 
config - OpenSIPS can’t start and I have no errors in syslog.

Sets are defined in module configuration.

Syslog:
===
Feb 24 02:34:50 reg opensips: DBG:core:yyparse: loading module 
/usr/lib64/opensips/modules/aaa_radius.so
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius 
matches module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found 
 in module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius 
matches module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found 
 in module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[username] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias 
username with id 1
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[username] avp  - found 1
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[rpid] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias rpid 
with id 2
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius 
matches module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found 
 in module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[credit_time] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias 
credit_time with id 3
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[return_code] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias 
return_code with id 4




Best regards,
Alexander Mustafin
mustafin.aleksa...@gmail.com 






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Problem with aaa_radius

2014-02-24 Thread Alexander Mustafin
Hello.

I’m trying to setup new server and just copy opensips.cfg from other server. 
This configuration tested and works successfully.
But now, I’ve silent problem.

OpenSIPS from yum-repo: 
version: opensips 1.10.0beta-tls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, 
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id$
main.c compiled on 03:46:24 Aug  6 2013 with gcc 4.4.7

radiusclient-ng installed and config copied too.

When I insert radius_send_auth("radius_auth","radius_auth_resp");   
 in config - OpenSIPS can’t start and I have no errors in syslog.
Sets are defined in module configuration.

Syslog:
===
Feb 24 02:34:50 reg opensips: DBG:core:yyparse: loading module 
/usr/lib64/opensips/modules/aaa_radius.so
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius matches 
module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found 
 in module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius matches 
module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found  in 
module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for [username] 
avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias username with 
id 1
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for [username] 
avp  - found 1
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for [rpid] avp 
 - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias rpid with id 2
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: aaa_radius matches 
module aaa_radius
Feb 24 02:34:50 reg opensips: DBG:core:set_mod_param_regex: found  in 
module aaa_radius [/usr/lib64/opensips/modules/]
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[credit_time] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias credit_time 
with id 3
Feb 24 02:34:50 reg opensips: DBG:core:__search_avp_map: looking for 
[return_code] avp  - found -1
Feb 24 02:34:50 reg opensips: DBG:core:new_avp_alias: added alias return_code 
with id 4



Best regards,
Alexander Mustafin
mustafin.aleksa...@gmail.com






signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users