On Thu, Jan 22, 2009 at 10:45 AM, Apostolos Pantsiopoulos <span dir="ltr">&lt;<a href="mailto:regs@kinetix.gr">regs@kinetix.gr</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to implement a radius based solution<br>
using FS. I have seen that the mod_radius_cdr module<br>
is actively maintained. so I have a few questions/remarks :<br>
<br>
1) When I place a call and my radius server is down, the<br>
call blocks forever instead of just radius_timeout * radius_retries<br>
seconds (I have declared only one server). I would expect that<br>
FS would stop trying to send an Acc Start packet after some<br>
time and get on with the call.</blockquote><div><br>I have not seen this behavior.&nbsp; If you can duplicate this, and propose a patch, it would be gladly welcomed. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
2) I have also noticed that FS sends only 1 packet (I waited for a minute)<br>
instead of 3 (default in the config) since the first (and second)<br>
attempt failed.<br>
If my server was up (the port was responding) but it returned a req. failed<br>
answer would the above time-out be valid?</blockquote><div><br>I have not seen this behavior.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
3) When I tried to load the dictionary.freeswitch to my freeradius<br>
server, it complained :</blockquote><div><br>Don&#39;t do that.&nbsp; The dictionary is for use with the radiusclient library.&nbsp; FreeRADIUS already includes a dictionary for FreeSWITCH VSAs ( you may need to uncomment it to have it loaded into FreeRADIUS ).<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">4) The radius attributes included in the current requests are<br>
a) hard-coded, b) limited in number. I think many of us would like to<br>
use more attributes. Or even better define what to include (and what to<br>
put in them) using a<br>
config file (the same maybe?)</blockquote><div><br>This has been proposed.&nbsp; There isn&#39;t yet a mechanism, though the intent is to use a general purpose FS VSA for this.&nbsp; The code needs to be added to the mod_radius_cdr module to allow that to be a run_time configuration option. <br>
</div><div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">5) Does the module send accounting packets only for the a-leg<br>
of a call or for both legs? (Maybe that could be configurable too).<br>
<br>
If anyone is interested in the above questions/remarks please post<br>
a reply. I would really like to know how many of the mailing list users<br>
are also interested in FS radius support and your opinions on the matter.<br>
</blockquote><div><br>Again, patches are welcome.&nbsp; :) <br></div></div><br>-Chris<br>