login | register
Sun 11 of May, 2008 [23:35 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
  • Christopher Faust, Wed 07 of May, 2008 [15:28 UTC]: When I try to startx I ge input not supported. Though before installing asterisk I had no video issue to start the GUI
  • Christopher Faust, Wed 07 of May, 2008 [15:26 UTC]: Hi Nick, I got centos 5.1 and asterisk up But now I cannot start startx I have set the depth from 24 to 16 for the video i810 driver for the i845 on my netvista machine but I cannot start GNOME. Please advise
  • Nick Barnes, Wed 07 of May, 2008 [10:01 UTC]: Howard - You'll need to provide a lot more information if you really want help.
  • Nick Barnes, Wed 07 of May, 2008 [10:00 UTC]: Christopher - Search the Wiki and you'll find a page I wrote detailing exactly what you have to do for Asterisk 1.4 + CentOS 5.1.
Server Stats
  • Execution time: 0.40s
  • Memory usage: 2.23MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 1.36

Appradius

http://appradius.minitelecom.org/

Appradius is a GPL project that adds full RADIUS authorize and account features to Asterisk.

Supports
  • recording Asterisk CDR into Radius
  • authenticating users via Radius

Example:
exten => s,1,Answer
exten => s,2,SetLanguage(en) ; if you want to change language replace 'en' with other like 'de'
exten => s,3,Radius(CPP) ; CPP-Parameter is mandatory!
exten => s,4,Hangup

See also



Asterisk Addons


Created by jht2, Last modification by emplant on Mon 12 of Jul, 2004 [22:29 UTC]

Comments Filter

Appradius Docs

by jsalas on Wednesday 14 of December, 2005 [13:50:19 UTC]
Where can I get the appradius documentation?
Edit

My experience

by Anonymous on Wednesday 19 of January, 2005 [15:41:15 UTC]
Hi All here is a description of my experience with this module, I have tested it with freeRadius with a mySql databse:
- In order to compile properly add #define _GNU_SOURCE before includes in header file or Add -D_GNU_SOURCE to CFLAGS variable in src/Makefile
- path for radius.conf file is hard coded so modify it depending on you asterisk install pin header files (#define RADCONFIG "/your/asterisk/etc/path/radius.conf")
- For free Radisu add the content appradius1.0/contrib/dictionary.add to /usr/share/freeradius/dictionary
- In radacc table create an account to test with pin 4 digits and passwd 4 digits (or 6/6, or 8/8 ?)
- In radreply set up the Account-Cache and Session-Timeout (to some hard coded value just to test, ex 12 and 65)
- Notice that a minimum call time of 1 minute has been set in the defines whatever the called destination
- Modify the app_radius.c (around line 377) with
nHang = radius_cktime(usernm, passwd, phone, szSID);
(nhang instead of nCache)

What is missing for this module:
- The radius_cktime should return a nHang is seconds depending on the called destination (phone) (to be done as a module of the freeRadius, I suggest, as the nHang is returned in the Session-Timeout Radius attribute)
- Call time in CDR = total call time (including the time spent in IVR to enter login/passwd and time to set up the call with the extension) and not the call time with the reached extension. Don't know how to solve this yet ...
- Account-Cache should be updated based on the time of the call and the called destination (in the freeRadisu Module also ...)

Finnaly, this module is not usable out of the box, but I'm sure the minitelecom gys will be happy to help you ;)
Edit

Where is radius.conf file located?

by Anonymous on Friday 14 of January, 2005 [21:27:35 UTC]
Please can someone tell me where is radius.conf file located? Or do i have to make one in /etc/asterisk folder?

Thanks for this module!

Chris

Hack for RH9 & 1.0.2 - but no records ???

by funkknob on Sunday 26 of December, 2004 [17:11:55 UTC]
  1. How I fixed the install

  1. untar then:
cd /root/appradius1.0/src
perl -pi -e "s/CFLAGS =/CFLAGS = -D_GNU_SOURCE/g;" ./Makefile
  1. install then:
cd /usr/lib
ln -s /usr/local/lib/librad.so.1.0 librad.so
Edit

Re: Re: v1.4 works 0.9.1 stable only

by Anonymous on Wednesday 17 of November, 2004 [20:33:04 UTC]
This does not work, btw....
Edit

still in development?

by Anonymous on Wednesday 29 of September, 2004 [16:02:43 UTC]
thanks good module.(:biggrin:)

I also keep to checking around functions too.
and I get result following that .

Sep 30 00:22:43 NOTICE393237: app_radius.c:391 auth_exec: SID=415b8a0c-49d3865d-1111 user=1111
Sep 30 00:22:43 NOTICE393237: app_radius.c:213 radius_cktime: user length = 4, pass length = 4, phone length = 3, sid length = 22
calling 400
   — Executing MP3Player("IAX2/xx00@xx00/4", "/var/lib/asterisk/mohmp3/sample.mp3") in new stack
calling 400 returned -1, with 0 secs real usage

I think it seems still in development.


and I think the point of following source code is bit stranege.

in app_radius.c
nCache = radius_cktime(usernm, passwd, phone, szSID);

How can I set the attribute for account?
it seems radius_cktime routine is always return "0" by seting with int to = 0;

Does anyone have good idea?

Re: How about this condition?

by vickyshres on Friday 10 of September, 2004 [15:48:23 UTC]
Yes , by default it support UID length 4 and Password Length 4. I had to hack the source code to allow UID length of 8 and password length of 4.

Re: v1.4 works 0.9.1 stable only

by vickyshres on Thursday 09 of September, 2004 [06:21:44 UTC]

+++ src/Makefile 2004-09-09 11:13:43.702550816 +0545 @@ -20,7 +20,7 @@
LIB=../lib
INC=../inc

-CFLAGS = -I${INC} -O -Wall -I${includedir} -g -O2
+CFLAGS = -D_GNU_SOURCE -I${INC} -O -Wall -I${includedir} -g -O2 LDFLAGS = -L${LIB} -L${libdir}
LDADD = -lrad


why?

by emplant on Monday 12 of July, 2004 [13:01:28 UTC]
PAP and plain-text is works well.
it can get a Access-Accept from radius server.

but app_radius cannot accept it.
What's that?

How about this condition?

by emplant on Monday 12 of July, 2004 [09:05:41 UTC]
PIN 4digits and pass 4digits. no CHAP support
Is this correct?(:biggrin:)

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver