[gnugk-users] Fwd: Help with PrefixAuth

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

 




Hello

In the manual I read that
09=deny alias:^188884.*
means that "Endpoints having an alias beginning with 188884 are not allowed to call
prefix 09".

So I put a rule in mine which states that onARQ PrefixAuth should check wheter
9=deny !alias:^8.*

So when I tried calling number 90506 from endpoint 8516 I was expecting the call to succeed, but it fails instead.

When I looked at the logs I found this

2018/04/27 12:16:37.462 3 RasSrv.cxx(256) RAS
admissionRequest {
requestSeqNum = 10265
callType = pointToPoint <<null>>
callModel = direct <<null>>
...
destinationInfo = 1 entries {
[0]=dialedDigits "90506"
}
srcInfo = 1 entries {
[0]=dialedDigits "8516"
}

}

2018/04/27 12:16:37.463 5 gkauth.cxx(2031) GKAUTH Prefix auth rule 'deny alias:!^8.*' matched
2018/04/27 12:16:37.463 4 gkauth.cxx(2240) GKAUTH PrefixAuth rule matched and rejected destination prefix '9' for alias '90506'

Why it says it's "rejected for alias 90506"? Shouldn't it be accepted for alias "8516"?
I also made other tests with different rules and numbers (also having endpoints with dialedDigits=h323_ID in case with alias means H323_ID instead of DialedDigits as I have interpreted it) but to no avail.
Is this a bug or am I getting something something wrong?
When using ips everything is correct tho, but in this case I have to rely on aliases because calls I recevied are routed by a child gatekeeper and ip adresses of ARQ are all the same.
Thanks, 
pierlu

_______________________________________________________

Posting: mailto:gnugk-users@xxxxxxxxxxxxxxx
Archive: https://lists.gnugk.org/pipermail/gnugk-users/
Unsubscribe: https://lists.gnugk.org/lists/listinfo/gnugk-users
Homepage: https://www.gnugk.org/

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

  Powered by Linux