Maybe your Framed-IP-Address does not match your framedip field in the database. Or you have 0 balance. Or you don't have a tariff for '71234...'.
----- Original Message ----- From: <romal@xxxxxxxxxx>
Sent: Thursday, January 20, 2005 10:24 PM
I try to authenticate unregistered incoming call When I make call i have following in radius log
Thu Jan 20 23:18:38 2005 : Auth: Login incorrect: [71234555555/allow] (from client OpenH323GK port 0 cli 71234555555)
Thu Jan 20 23:18:38 2005 User-Name = "71234555555" NAS-IP-Address = 192.168.2.8 NAS-Identifier = "OpenH323GK" NAS-Port-Type = Virtual Service-Type = Login-User Framed-IP-Address = xx.xx.xx.xx Calling-Station-Id = "71234555555" Called-Station-Id = "71234555555" h323-conf-id = "3E374B00 3912F041 513F0000 33353738" h323-call-origin = "originate" h323-call-type = "VoIP" h323-gw-id = "OpenH323GK" Client-IP-Address = 192.168.2.8 Timestamp = 1106252318
This is record from my db 18 | 71234555555 | 6 | f | f | allow | ^$ | | xx.xx.xx.xx | qwe | qwe | t
This is my config
[Gatekeeper::Main] Fourtytwo=42 Name=OpenH323GK TimeToLive=600 Home=192.168.2.8,10.10.23.254,xx.xx.xx.xx NetworkInterfaces=192.168.2.8/24,10.10.23.254/24,xx.xx.xx.xx/0
[RoutedMode] GKRouted=1 H245Routed=0 CallSignalPort=1720 DropCallsByReleaseComplete=1 SendReleaseCompleteOnDRQ=1 ForwardOnFacility=0 AcceptUnregisteredCalls=1 SupportNATedEndpoints=1 Q931PortRange=20000-29999 H245PortRange=30000-39999
[Proxy] Enable=1 ProxyForNAT=1 #InternalNetwork=10.0.0.0/24,192.168.2.0/24 InternalNetwork=10.0.0.0/24,192.168.2.0/24,10.10.23.0/24 T120PortRange=40000-49999 RTPPortRange=50000-59999
[RasSrv::PermanentEndpoints] ; For gateway ;10.0.1.5=Citron;009,008 xx.xx.xx.xx=bell;1,2,3,4,5,6,7,8,9
[GkStatus::Auth] rule=explicit | regex regex=^(192\.168\.2\.[0-9]+)$ 127.0.0.1=allow default=forbid ;rule=allow Shutdown=1
[Gatekeeper::Auth] ;RadAuth=required;RRQ,ARQ RadAliasAuth=required;RRQ,ARQ,Setup,SetupUnreg ;SQLPasswordAuth=optional;RRQ ;SQLAliasAuth=required;RRQ default=allow ;default=forbid
[Gatekeeper::Acct] RadAcct=required;start,update,stop,on,off ;SQLAcct=required;start,update,stop
[CallTable] ; Set this to a nonzero value to receive accounting ; updates for all calls in progress. This value defines ; time interval (in seconds) between subsequent accounting ; update logged for each connected call. ; DEFAULT VALUE is 0 what means accounting updates will not be logged AcctUpdateInterval=30
;[RadAuth] ;Servers=192.168.2.17 ;SharedSecret=testing ;AppendCiscoAttributes=0 ;IncludeTerminalAliases=1 ;IncludeEndpointIP=1 ;TimestampFormat=Cisco ; Choose between the original dialed number and the rewritten one ;UseDialedNumber=0
[RadAliasAuth] Servers=192.168.2.17 SharedSecret=testing AppendCiscoAttributes=1 IncludeTerminalAliases=1 IncludeEndpointIP=1 TimestampFormat=Cisco ; Choose between the original dialed number and the rewritten one UseDialedNumber=1 FixedPassword=allow
[RadAcct] Servers=192.168.2.17 SharedSecret=testing ;TimestampFormat=Cisco AppendCiscoAttributes=1 ;UseDialedNumber=1
-- Best regards, romal mailto:romal@xxxxxxxxxx
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/