Re: Simple Call Authentication/Authorization

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

 



You need to specify all rules for one destination at a single line, like:

ALL=allow alias:50041 | allow alias:50371

you should also take into account the fact, that "alias:" rules takes
a regular expression as the argument:

ALL=allow alias:^50041$ | allow alias:^50371$

This will ensure only endpoint with exact alias 50041 (not containing string
50041) is accepted by the rule.

(The best would be to write just ALL=allow alias:^(50041|50371)$, 
 but | character is a rule separator... I think I have to fix it:)

Andrew Croch <o_engenheiro71@xxxxxxxxxxx>:
>Posting again...
>Hi, I want to use a very simple authorization rule in my gnuGK. I read the 
>manual and tried to implement but can\'t make it work. I want to authorize 
>calls comming from endpoints with specific aliases.
>My config file:
>...
>...
>
>[Gatekeeper::Auth]
>PrefixAuth=required;ARQ
>
>[PrefixAuth]
>ALL=allow alias:50041
>ALL=allow alias:50371
>
>The terminal with alias 50041 can complete its call. The terminal with alias 
>50371 gets a security denial from the GK. What is wrong in my config ?
>ARJ|x.x.x.x:1720|yyyyyyyy:dialedDigits|50371:dialedDigits|false|security
>Denial;
>ACF|xxxxx:1720|8683_endp|20895|yyyyyyyy:dialedDigits|50041:dialedDigit
>s|false;


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux