<div>Hi Gef</div>
<div>I solved the problem through C and rlm_modules.</div>
<div>Anyway, Thanks a lot.</div>
<div> </div>
<div>Regards<br><br> </div>
<div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Geoffrey Cauchi</b> <<a href="mailto:agcauchi@winssystems.com">agcauchi@winssystems.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello Ali<br><br>I do not know whether you managed to solve your issue, however using a perl<br>script, the format to send these AV Pairs is:
<br><br>#!/usr/bin/perl<br>print "Cisco-AVPair += \"h323-return-code=0\"\,\n";<br>print "Cisco-AVPair += \"h323-credit-amount=30\"\,\n";<br>print "Cisco-AVPair += \"h323-credit-time=200\"\n";
<br>       exit(0);<br><br>And now the script works.<br><br>Obviously the h323-credit-time and h323-credit-amount need to be calculated<br>in real time, but the above can be used as a test to allow you to utilise<br>the cisco TCL script with freeradius
<br><br>Hope this helps<br><br>Gef<br>________________________________________<br>From: freeradius-users-bounces+agcauchi=<a href="mailto:winssystems.com@lists.freeradius.org">winssystems.com@lists.freeradius.org</a><br>[mailto:
<a href="mailto:freeradius-users-bounces+agcauchi=winssystems.com@lists.freeradius.o">freeradius-users-bounces+agcauchi=winssystems.com@lists.freeradius.o</a><br>rg] On Behalf Of Ali Majdzadeh<br>Sent: 07 September 2006 10:06
<br>To: FreeRadius users mailing list; <a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a><br>Subject: Re: Freeradius + Cisco VoIP<br><br>Hi Alan<br>I replied Geoffrey with all I knew about AV pairs expected by a Cisco VoIP
<br>gateway. But I have another problem.<br>I am using rlm_example to develop a module to handle VoIP stuff.<br>My question is, how should I pack and send those AV piars expected by the<br>gateway?<br>For example, in example_authenticate function, I should return a number of
<br>AV pairs to the gateway in order to authenticate the user. How should I do<br>that?<br><br>Best Regards<br>Ali<br>On 9/6/06, Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:
<br>"Geoffrey Cauchi" <<a href="mailto:agcauchi@winssystems.com">agcauchi@winssystems.com</a>> wrote:<br>> Can anyone provide a sample config of the AV Pairs required by a cisco<br>VoIP<br>> gateway to accept a user?
<br><br>See the NAS documentation.<br><br>Alan DeKok.<br>--<br><a href="http://deployingradius.com">http://deployingradius.com</a> - The web site of the book<br><a href="http://deployingradius.com/blog/">http://deployingradius.com/blog/
</a> - The blog<br>-<br>List info/subscribe/unsubscribe? See<br><a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br><br><br><br><br>-<br>List info/subscribe/unsubscribe? See 
<a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>