Why in inquiry radius attribute User-Name in Authentication_Request not meet attribute User-Name in Accounting_Request?

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

 



Hello openh323gk-users,

Why in inquiry radius attribute User-Name in Authentication_Request not meet attribute User-Name in Accounting_Request?

nsg800(102) -> Alterteks ProxySoftSwitch -> gnugk(RewriteCLI 102 to pss) -> nsg800(sasha)
                                             |
                                             \/
                                          radius -> billing
                                          
RadAliasAuth - does not work correctly
                                          
NFO   18.09.2005 18:13:05  Thread[Thread-146,5,main] AUTH:
Type=AUTHENTICATION_REQUEST
Attributes:
        NAS-Identifier=Metro
        User-Password=??1B???P?,Z?? 1
        NAS-IP-Address=XXX.XXX.XXX.11
        Called-Station-Id=201
        Framed-IP-Address=192.168.100.120
        Service-Type=10
        Calling-Station-Id=pss    !!!!!!???? correctly
        NAS-Port-Type=5
        User-Name=sasha    !!!!!???? Not correctly!!! Should be - pss!!
        h323-gw-id=Metro
        h323-conf-id=2221440 AFCF1EEA 27470001 A8010AF9
        h323-call-origin=answer
        h323-call-type=VoIP

INFO   18.09.2005 18:13:05  Thread[Thread-146,5,main] RESPONSE:
............
........

INFO   18.09.2005 18:13:08  Thread[Thread-147,5,main] ACCOUNT:
Type=ACCOUNTING_REQUEST
Attributes:
        NAS-Identifier=Metro
        Acct-Delay-Time=0
        NAS-IP-Address=XXX.XXX.XXX.11
        Called-Station-Id=201
        Framed-IP-Address=YYY.YYY.YYY.162
        Acct-Status-Type=2
        Service-Type=1
        Calling-Station-Id=pss            !!!! - correctly
        User-Name=pss                     !!!! - correctly
        NAS-Port-Type=5
        Acct-Session-Time=0
        Acct-Session-Id=432d74a900000002
        h323-setup-time=18:10:48.000 MSD Sun Sep 18 2005
        h323-gw-id=Metro
        cisco-avpair=h323-ivr-out=h323-call-id:8C0B4C0C 94752D43 6C040000 46464636
        h323-disconnect-time=18:10:51.000 MSD Sun Sep 18 2005
        h323-conf-id=2221440 AFCF1EEA 27470001 A8010AF9
        h323-disconnect-cause=10
        h323-call-origin=proxy
        h323-remote-address=192.168.100.120
        h323-call-type=VoIP

INFO   18.09.2005 18:13:08  Thread[Thread-147,5,main] RESPONSE:
Type=ACCOUNTING_RESPONSE


>From behind it billing charges to the Called, and owes Calling!!!

if use RadAuth - is ok!
Why!!!!????????
That is not correct ????????

My config:

[Gatekeeper::Main]
Fourtytwo=42
Name=Metro
Home=XXX.XXX.XXX.11;XXX.XXX.XXX.201
TotalBandwidth=64000
TimeToLive=600

[GkStatus::Auth]
rule=explicit
192.168.100.10=1

[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1720
SupportNATedEndpoints=1
SendReleaseCompleteOnDRQ=1
RemoveH245AddressOnTunneling=1
RemoveCallOnDRQ=1
DropCallsByReleaseComplete=1
TcpKeepAlive=1
RtpHandlerNumber=2
Q931PortRange=2000-19999
H245PortRange=2000-19999
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1

[Proxy]
Enable=1
ProxyForNAT=1
ProxyForSameNAT=1

[RoutingPolicy]
default=internal,neighbor

[RoutingPolicy::OnARQ]
default=internal,neighbor

[RasSrv::RewriteE164]
8=7
783108=

[RasSrv::RRQFeatures]
AcceptEndpointIdentifier=1
AcceptGatewayPrefixes=1

[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1

[Gatekeeper::Auth]
RadAliasAuth=optional;ARQ
default=allow

[RadAliasAuth]
Servers=192.168.100.11:1812
AppendCiscoAttributes=1
IncludeTerminalAliases=0
SharedSecret=12345
RequestRetransmissions=1
RequestTimeout=2000

[Gatekeeper::Acct]
RadAcct=optional;stop
default=allow

[RadAcct]
Servers=192.168.100.11:1813
SharedSecret=12345
AppendCiscoAttributes=1
RequestRetransmissions=1

[RasSrv::Neighbors]
GK1=GnuGK

[RasSrv::LRQFeatures]
IncludeDestinationInfoInLCF=1

[Neighbor::GK1]
GatekeeperIdentifier=GK1
Host=YYY.YYY.YYY.162
SendPrefixes=7
AcceptPrefixes=783108
AcceptForwardedLRQ=0

[CallTable]
GenerateUCCDR=1
DefaultCallDurationLimit=3600
AcctUpdateInterval=10
TimestampFormat=Cisco

[RewriteCLI]
out:any=YYY.YYY.YYY.YYY any=10001
in:YYY.YYY.YYY.YYY=any=pss




>From behind it billing charges to the Called, and owes Calling!!!

if use RadAuth - is ok!
Why!!!!????????
That is not correct ????????

-- 
Best regards, Anistratov AD                     mailto:sasha675@xxxxxxxxЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪр;С^╣И ┼X╛╡ '╡┼чu╪ЪM╘·й▀╚uКч√┼fz{\┘╘ezxЁ╜└ZrЪ╟g╚╒x╕═iIЙОz©цё	Е║╖b╣З+~╥·ЪЖ╖u╥··в╚yшhб)зЦoИ∙╚&jшХ╞*.╝В╚й▄'J┴РЧыЪ=#ЪX°▓╚zз)∙╛Ъ├шiЪЪЛ╒ЙэyЗ+│ОГzъЮz╨'┼jЪ╕ЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪСХ╡ь╖┐Ы ┼[hЭЙ^·Жч	Ъ╨г╚ЁЫb╡шЪ╡▀╚qГХ╝Ъ²К@╜хb╫ОА╤зЪЪШ(╨╥~┼Ю{Ыч╥Ы ┼V╚r╞{ВХ╝ИЪ╕Ъ~┼Н⌡Ь²УIЛ╧╩╝&чЧm╖ЪЪ√+-ЁШ(╨╥~┼Ю{Ыч╥Ыb╡ш?√+-┼wХЧ┼^·Жч	Ъ╨г╚╟z&z√═{Ьm╤÷ЪЪ0Ч	Н┌OХ


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

  Powered by Linux