<br><br><div class="gmail_quote">On Sat, Nov 13, 2010 at 9:04 AM, Abid Saleem <span dir="ltr">&lt;<a href="mailto:abid_freeswitch@live.com">abid_freeswitch@live.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
<font face="Tahoma" size="4"><span style="font-size: 10pt;">Dear Tihomir,</span></font><div style="font-family: Tahoma; font-size: 10pt;"><br></div><div style="font-family: Tahoma; font-size: 10pt;">I think you did not understand what my problem is. Let me explain.</div>
<div style="font-family: Tahoma; font-size: 10pt;"><br></div><div><font face="Tahoma" size="4"><span style="font-size: 10pt;">I know that I can evaluate the response from auth_function and act accordingly (bridge or not bridge the call according to auth result). This part is ok and I can do it because I am getting OK or NOK in AUTH_RESULT. The issue is I need to disconnect the call after scheduled number of seconds returned by radius in h323-credit-time attribute </span></font><font face="Tahoma" size="3"><span style="font-size: 13px;">whose</span></font><font face="Tahoma" size="4"><span style="font-size: 10pt;"> value in this case is not being populated into credit_time parameter of FS.</span></font></div>
<div><font face="Tahoma" size="3"><span style="font-size: 13px;"><br></span></font></div></div></blockquote><div>well, you could have pointed the finger on this before :P<br><br><div><br></div><div>2010-11-04 18:09:53.396212 [DEBUG] mod_rad_auth.c:491 sending radius packet ...</div>
<div>2010-11-04 18:09:54.571999 [DEBUG] mod_rad_auth.c:497 RADIUS Authentication OK</div><div>2010-11-04 18:09:54.571999 [DEBUG] mod_rad_auth.c:519 Handle attribute: BILING_MODEL</div><div style="color: rgb(255, 0, 0);"><b>2010-11-04 18:09:54.571999 [DEBUG] mod_rad_auth.c:529   No found out attribute id: 109, pec:9, (BILING_MODEL)</b></div>
<div>2010-11-04 18:09:54.571999 [DEBUG] mod_rad_auth.c:519 Handle attribute: CREDIT_AMOUNT</div><div>2010-11-04 18:09:54.571999 [DEBUG] mod_rad_auth.c:529   No found out attribute id: 101, pec:9, (CREDIT_AMOUNT)</div><br>
the attribute with id:109 and pec:9 is not found in the returning radius message. This can just mean 2 things:<br><br>1. really not present in the returning radius message<br>2. the module doesn&#39;t have an appropriate dictionary referencing pec 9 and id 102.<br>
<br>well, here its the dictionary im positive of that... so find attached the one im using. Put this on your server and its gonna work.<br><div></div><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div><font face="Tahoma" size="3"><span style="font-size: 13px;"></span></font></div><div><font face="Tahoma" size="3"><span style="font-size: 13px;">If you still do not understand, lets put it this way that even if I use the mod_rad_auth.conf.xml and </span></font><span style="font-size: 13px; font-family: Tahoma;">dialplan </span><font face="Tahoma" size="3"><span style="font-size: 13px;">configuration you sent, still the FS is not able to obtain the value of credit_amount and credit_time although radius response parameters are received by the server.</span></font></div>
</div></blockquote><div><br>as i said before ... check your dictionary.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div>
<font face="Tahoma" size="3"><span style="font-size: 13px;"><br></span></font></div><div><font face="Tahoma" size="3"><span style="font-size: 13px;">Also I have checked in mod_rad_auth.c file that all entries related to credit_amount, billing_model etc are commented and credit_time does not even exist in that file.</span></font></div>
<div><font face="Tahoma" size="3"><span style="font-size: 13px;"></span></font> </div></div></blockquote><div><br>you are missing the point of this module ... the VSAs are configurable via config file.<br></div></div><br>
<br>