Some Radius questions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I' have my gateway registered in my GK ( using freeradius with Mysql )
I'need block some phone numbers is my procedure correct?
The Gw is in the /etc/raddb/user
as is :

"1234"          Auth-Type := Local, User-Password == "1234"
                Reply-Message = "Hello, %u"

I'added this:

"1234"          Auth-Type := Local, User-Password == "1234"
                Auth-Type := Reject, Called-Station-Id =~
"^005491115[0-9]{8}$", Fall-Through = No,
                Reply-Message = "Hello, %u"

This is correct? not work for my :( i'want to deny for example this number:
005491115+8 digits number.

Is correct setup the gateways in the archive /etc/raddb/users ? or anyone
set the gateways in the DB? is it's true, how setup GW in the DB.

Cheers.



-- 
Cesar Bermudez.


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux