<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello All,<br>
<br>
I'm working on a Debian ( Debian GNU/Linux 8.2 (jessie) ) with
OpenSIPS 2.1.1 compiled directly on the server with the last tarball
from the website ( <a class="moz-txt-link-freetext" href="http://opensips.org/pub/opensips/">http://opensips.org/pub/opensips/</a>) dated 7 OCT
2015.<br>
<br>
I'm encountering some problem when i start using accounting with
Radius:<br>
<br>
<br>
When i load just the "aaa_radius" module, all is working fine, no
crash happen<br>
<br>
loadmodule "aaa_radius.so"<br>
modparam("aaa_radius","radius_config","/usr/local/etc/opensips/radius/radiusclient.conf")<br>
<br>
<br>
But when i reconfigure the acc module to use radius, opensips crash.<br>
<small><br>
</small>
<blockquote><small>modparam("acc","aaa_url","radius:/usr/local/etc/opensips/radius/radiusclient.conf")</small><br>
<small>modparam("acc" , "aaa_flag" , "ACC_DO")</small><br>
<small>modparam("acc" , "aaa_missed_flag", "ACC_MISSED")</small><br>
<small>modparam("acc" , "service_type", 15)</small><br>
</blockquote>
<br>
<br>
I've tried to comment the latest 3 row of the acc module above , but
the crash just appen when i add this one:<br>
<br>
<blockquote><small>modparam("acc","aaa_url","radius:/usr/local/etc/opensips/radius/radiusclient.conf").</small><br>
</blockquote>
<br>
<br>
On the syslog i can see:<br>
<br>
<blockquote><small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:init_mod: registering stats for registrar</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:init_mod: initializing module aaa_radius</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:aaa_radius:mod_init: aaa_radius module was initiated</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:init_mod: initializing module acc</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
INFO:acc:mod_init: initializing...</small><br>
<small>Oct 21 15:14:04 osip-211-test kernel: [360264.718978]
opensips[30404]: segfault at 0 ip b6d3540a sp bfe2a060 error 4
in libfreeradius-client.so.2.0.0[b6d2f000+d000]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: New flag: [ ACC_FAILED : 1 ][0]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: Flag name is null!</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:find_cmd_export_t: found <load_tm>(0) in module
tm [/usr/local/lib/opensips/modules/]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:find_cmd_export_t: found <load_dlg>(0) in module
dialog [/usr/local/lib/opensips/modules/]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: Flag name is null!</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: Flag name is null!</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: New flag: [ ACC_DO : 2 ][0]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:get_flag_id_by_name: New flag: [ ACC_MISSED : 3 ][0]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:find_mod_export: found <aaa_bind_api> in module
aaa_radius [/usr/local/lib/opensips/modules/]</small><br>
<small>Oct 21 15:14:04 osip-211-test opensips[30404]:
DBG:core:aaa_prot_bind: using aaa bind api for aaa_radius</small><br>
<small>Oct 21 15:14:05 osip-211-test opensips:
DBG:core:wait_status_code: read code -65 ? rc = 0, errno=Success</small><br>
<small>Oct 21 15:14:05 osip-211-test opensips:
INFO:core:daemonize: pre-daemon process exiting with -1<br>
<br>
</small></blockquote>
<big>Is this a known issue or not ? If needed, i can recompile in
debug mode and post the core dump.<br>
<br>
<br>
Thanks in advance<br>
Davide<br>
</big>
<blockquote>
</blockquote>
</body>
</html>