Hi Michal,
just to add that this happens only to ARQ generated Access-Reqests. For SetupUnreg it works fine. (with the same billing system)
regards, Aivis
Zygmuntowicz Michal wrote:
You hit a bug (your billing does not use Cisco vendor Id for VSA attributes) that caused your billing-specific attributes to be interpreted like Cisco's ones (the code ignored vendor id). I just commited a proper fix to the cvs.
----- Original Message ----- From: "Voip Business" <voipbusiness@xxxxxxxxx> Sent: Thursday, December 16, 2004 5:42 PM
Hello list I have a bad time trying to run gnugk radauth with my billing system
if I put
[Gatekeeper::Auth] AliasAuth=required;RRQ default=allow
All is OK but no Call Auth only acct. (as far I know i'm a newbie)
but if I put
[Gatekeeper::Auth] RadAliasAuth=required;ARQ default=allow
simply I can not dial out calls
here I place a debug trc 5 file so may be you cna help me in this regard.
*******NOTE:IP's anddialed number where changed by xxx.xxx.xxx.xxx *******
2004/12/16 00:36:32.666 5 job.cxx(360) JOB Worker threads: 6 total - 6 busy, 0 idle
2004/12/16 00:36:32.666 5 job.cxx(423) JOB Job StatusCmd debug trc 5 deleted
2004/12/16 00:36:32.667 5 job.cxx(412) JOB Worker threads: 6 total - 5 busy, 1 idle
2004/12/16 00:36:32.667 5 yasocket.cxx(699) GkStatus 1 sockets selected from 1, total 1/0
2004/12/16 00:36:36.707 5 yasocket.cxx(699) RasServer 1 sockets selected from 4, total 4/0
2004/12/16 00:36:36.707 4 RasSrv.cxx(183) RAS Receiving on xxx.xxx.xxx.xxx:1719(U)
2004/12/16 00:36:36.708 2 RasSrv.cxx(152) RAS Read from xxx.xxx.xxx.xxx:33299
2004/12/16 00:36:36.709 3 RasSrv.cxx(191) RAS
admissionRequest {
requestSeqNum = 25588
callType = pointToPoint <<null>>
endpointIdentifier = 9 characters {
0034 0031 0030 0034 005f 0065 006e 0064 4104_end
0070 p
}
destinationInfo = 1 entries {
[0]=dialedDigits "5281xxxxxxxx"
}
srcInfo = 1 entries {
[0]=dialedDigits "4321"
}
bandWidth = 100000
callReferenceValue = 10185
conferenceID = 16 octets {
18 5b 6f 44 ab 4d d9 11 83 44 00 0d 61 bf d1 28 .[oD.M...D..a..(
}
activeMC = FALSE
answerCall = FALSE
canMapAlias = TRUE
callIdentifier = {
guid = 16 octets {
9a 51 6f 44 ab 4d d9 11 83 44 00 0d 61 bf d1 28 .QoD.M...D..a..(
}
}
gatekeeperIdentifier = 14 characters {
0047 004e 0055 0020 0047 0061 0074 0065 GNU Gate
006b 0065 0065 0070 0065 0072 keeper
}
willSupplyUUIEs = TRUE
}
2004/12/16 00:36:36.710 5 job.cxx(188) JOB Starting Job ARQ at Worker thread 114696
2004/12/16 00:36:36.710 1 RasSrv.cxx(312) RAS ARQ Received
2004/12/16 00:36:36.710 5 job.cxx(360) JOB Worker threads: 6 total - 6 busy, 0 idle
2004/12/16 00:36:36.711 4 osutil.cxx(319) PWLib File handle high water mark set: 34 PUDPSocket
2004/12/16 00:36:36.711 5 radproto.cxx(2378) RADIUS Created new RADIUS client socket: port:10031[active requests: 0, ID space: 152-152]
2004/12/16 00:36:36.711 3 radproto.cxx(2094) RADIUS Sending PDU to RADIUS server xxx.xxx.xxx.xxx (xxx..xxxx.xxxx.xxx:1812) from port:10031[active requests: 0, ID space: 152-153], PDU: {
code = 1 (Access-Request)
id = 152
length = 255 octets
authenticator = 16 octets {
fc cb 8f 20 30 40 2e 88 18 67 f0 ab 7b e2 dc 78 ... 0@...g..{..x
}
attributes = 13 elements {
[0]= {
type = 1 (User-Name)
length = 7 octets
value = 5 octets {
61 73 74 65 72 aster
}
}
[1]= {
type = 4 (NAS-IP-Address)
length = 6 octets
value = 4 octets {
cd d1 ae d2 ....
}
}
[2]= {
type = 32 (NAS-Identifier)
length = 16 octets
value = 14 octets {
47 4e 55 20 47 61 74 65 6b 65 65 70 65 72 GNU Gatekeeper
}
}
[3]= {
type = 61 (NAS-Port-Type)
length = 6 octets
value = 4 octets {
00 00 00 05 ....
}
}
[4]= {
type = 6 (Service-Type)
length = 6 octets
value = 4 octets {
00 00 00 01 ....
}
}
[5]= {
type = 8 (Framed-IP-Address)
length = 6 octets
value = 4 octets {
cd d1 ae d2 ....
}
}
[6]= {
type = 31 (Calling-Station-Id)
length = 6 octets
value = 4 octets {
34 33 32 31 4321
}
}
[7]= {
type = 30 (Called-Station-Id)
length = 14 octets
value = 12 octets {
35 32 38 31 38 30 34 30 34 34 30 30 5281XXXXXXX
}
}
[8]= {
type = 26 (Vendor-Specific)
length = 56 octets
vendorId = 9
vendorType = 24
vendorLength = 50
vendorValue = 48 octets {
68 33 32 33 2d 63 6f 6e 66 2d 69 64 3d 31 38 35 h323-conf-id=185
42 36 46 34 34 20 41 42 34 44 44 39 31 31 20 38 B6F44 AB4DD911 8
33 34 34 30 30 30 44 20 36 31 42 46 44 31 32 38 344000D 61BFD128
}
}
[9]= {
type = 26 (Vendor-Specific)
length = 34 octets
vendorId = 9
vendorType = 26
vendorLength = 28
vendorValue = 26 octets {
68 33 32 33 2d 63 61 6c 6c 2d 6f 72 69 67 69 6e h323-call-origin
3d 6f 72 69 67 69 6e 61 74 65 =originate
}
}
[10]= {
type = 26 (Vendor-Specific)
length = 27 octets
vendorId = 9
vendorType = 27
vendorLength = 21
vendorValue = 19 octets {
68 33 32 33 2d 63 61 6c 6c 2d 74 79 70 65 3d 56 h323-call-type=V
6f 49 50 oIP
}
}
[11]= {
type = 26 (Vendor-Specific)
length = 33 octets
vendorId = 9
vendorType = 33
vendorLength = 27
vendorValue = 25 octets {
68 33 32 33 2d 67 77 2d 69 64 3d 47 4e 55 20 47 h323-gw-id=GNU G
61 74 65 6b 65 65 70 65 72 atekeeper
}
}
[12]= {
type = 2 (User-Password)
length = 18 octets
value = 16 octets {
64 56 75 7c 4b 6e 4e ae 6f 14 03 54 45 5c 09 7c dVu|KnN.o..TE\.|
}
}
}
}
2004/12/16 00:36:36.797 3 radproto.cxx(2133) RADIUS Received PDU from RADIUS server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:1812) by socket port:10031[active requests: 0, ID space: 152-153], PDU: {
code = 2 (Access-Accept)
id = 152
length = 144 octets
authenticator = 16 octets {
78 38 cf 80 9b 5a a1 2f dc d3 16 30 72 0d 3f a1 x8...Z./...0r.?.
}
attributes = 5 elements {
[0]= {
type = 26 (Vendor-Specific)
length = 33 octets
vendorId = 9
vendorType = 1
vendorLength = 27
vendorValue = 25 octets {
68 33 32 33 2d 69 76 72 2d 69 6e 3d 44 55 52 41 h323-ivr-in=DURA
54 49 4f 4e 3a 33 32 34 30 TION:3240
}
}
[1]= {
type = 27 (Session-Timeout)
length = 6 octets
value = 4 octets {
00 00 0c a8 ....
}
}
[2]= {
type = 26 (Vendor-Specific)
length = 26 octets
vendorId = 6618
vendorType = 103
vendorLength = 20
vendorValue = 18 octets {
68 33 32 33 2d 72 65 74 75 72 6e 2d 63 6f 64 65 h323-return-code
3d 30 =0
}
}
[3]= {
type = 26 (Vendor-Specific)
length = 30 octets
vendorId = 6618
vendorType = 107
vendorLength = 24
vendorValue = 22 octets {
68 33 32 33 2d 70 72 65 66 65 72 72 65 64 2d 6c h323-preferred-l
61 6e 67 3d 65 6e ang=en
}
}
[4]= {
type = 26 (Vendor-Specific)
length = 29 octets
vendorId = 6618
vendorType = 102
vendorLength = 23
vendorValue = 21 octets {
68 33 32 33 2d 63 72 65 64 69 74 2d 74 69 6d 65 h323-credit-time
3d 33 32 34 30 =3240
}
}
}
}
2004/12/16 00:36:36.798 2 radauth.cxx(575) RADAUTH RadAliasAuth ARQ check failed: invalid h323-return-code attribute ''
2004/12/16 00:36:36.798 3 gkauth.cxx(1183) GKAUTH RadAliasAuth ARQ check failed
2004/12/16 00:36:36.798 2 RasSrv.cxx(357)
ARJ|xxx.xxx.xxx.xxx:1720|5281XXXXXX:dialedDigits|4321:dialedDigits|false|securityDenial;
2004/12/16 00:36:36.799 3 RasSrv.cxx(203) RAS Send to xxx.xxx.xxx.xxx:33299
admissionReject {
requestSeqNum = 25588
rejectReason = securityDenial <<null>>
}
2004/12/16 00:36:36.799 5 RasSrv.cxx(217) RAS Sent Successful
2004/12/16 00:36:36.799 5 job.cxx(423) JOB Job ARQ deleted
2004/12/16 00:36:36.800 5 job.cxx(412) JOB Worker threads: 6 total - 5 busy, 1 idle
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/