Freeradius + Cisco VoIP

Ali Majdzadeh ali.majdzadeh at gmail.com
Thu Sep 21 13:06:52 CEST 2006


Hi Gef
I solved the problem through C and rlm_modules.
Anyway, Thanks a lot.

Regards


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


More information about the Freeradius-Users mailing list