I'm not familiar with cdr_radius, but is there a debugging option? Anything in /var/log/messages?<br><br><div class="gmail_quote">On Thu, Dec 24, 2009 at 1:35 AM, Zhang Shukun <span dir="ltr"><<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you !<br>
<br>
i have load cdr_radius.so successfully! but another error occur.<br>
<br>
-- Executing [4321@tutorial:1] Dial("SIP/ivan-0a07dc80",<br>
"SIP/test") in new stack<br>
-- Called test<br>
-- SIP/test-0a08b0f0 is ringing<br>
-- SIP/test-0a08b0f0 answered SIP/ivan-0a07dc80<br>
-- Packet2Packet bridging SIP/ivan-0a07dc80 and SIP/test-0a08b0f0<br>
<br>
[Dec 24 09:30:32] ERROR[10747]: cdr_radius.c:227 radius_log: Failed to<br>
record Radius CDR record!<br>
== Spawn extension (tutorial, 4321, 1) exited non-zero on 'SIP/ivan-0a07dc80'<br>
<br>
it says "Failed to record Radius CDR record". Could you tell me ,<br>
<div class="im">what's wrong with it?<br>
<br>
<br>
</div>2009/12/23 Olle E. Johansson <<a href="mailto:oej@edvina.net">oej@edvina.net</a>>:<br>
<div><div></div><div class="h5">><br>
> 23 dec 2009 kl. 11.25 skrev David Cunningham:<br>
><br>
>> Shukun,<br>
>><br>
>> It tells you "No such file or directory". Is the file in your modules directory?<br>
> Actually, to be more specific. The module cdr_radius.so exists, but can't bind to the radius library "libradiusclient-ng.so.2".<br>
> Check LD_LIBRARY_PATH<br>
><br>
> /O<br>
>><br>
>> On Wed, Dec 23, 2009 at 10:09 AM, Zhang Shukun <<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>> wrote:<br>
>> hi , all<br>
>> when i do the command "module load cdr_radius.so" ,error happens.<br>
>> i have installed radiusclient-ng , what's wrong with it? thanks!<br>
>> error message as follow:<br>
>><br>
>><br>
>> ZHANGSHUKUN*CLI> module load cdr_radius.so<br>
>> Unable to load module cdr_radius.so<br>
>> Command 'module load cdr_radius.so' failed.<br>
>> [Dec 23 17:55:41] WARNING[31072]: loader.c:380 load_dynamic_module:<br>
>> Error loading module 'cdr_radius.so': libradiusclient-ng.so.2: cannot<br>
>> open shared object file: No such file or directory<br>
>> [Dec 23 17:55:41] WARNING[31072]: loader.c:730 load_resource: Module<br>
>> 'cdr_radius.so' could not be loaded.<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Regards,<br>
>> Sucan<br>
>><br>
>> _______________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> asterisk-users mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> David Cunningham<br>
>> Voisonics<br>
>> IVR development, VOIP consultancy<br>
>> <a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>
>> US toll-free: +1 888 842 2720<br>
>> UK: +44 (0) 20 3411 5024<br>
>> Australia: +61 (0) 2 9037 2180<br>
>><br>
>> _______________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> asterisk-users mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
> ---<br>
> <a href="mailto:oej@edvina.net">oej@edvina.net</a> - <a href="http://edvina.net" target="_blank">http://edvina.net</a><br>
> Open Unified Communication - building platforms with SIP and XMPP<br>
> From PBX to large scale implementations for carriers. Contact us today!<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Regards,<br>
Sucan<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Cunningham<br>Voisonics<br>IVR development, VOIP consultancy<br><a href="http://voisonics.com/">http://voisonics.com/</a><br>US toll-free: +1 888 842 2720<br>
UK: +44 (0) 20 3411 5024<br>Australia: +61 (0) 2 9037 2180<br><br>