Re: gnugk + mysql

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

 



You should define the IP address with port no.
The correct format of "IP address" field.
sigip:192.168.0.200:1720
Best Regard,
Frankie
 
From: md esa kamsan <mesak77@ya...>
gnugk + mysql  
2003-10-28 17:38
 Hi all,
 
 I have a problem with the registration using mysql
 auth.
 
 on the gnugk.ini, I've add for mysql as below
 
 [Gatekeeper::Auth]
 MySQLPasswordAuth=optional;RRQ
 MySQLAliasAuth=required;RRQ
 default=allow
 
 [MySQLAuth]
 Host=localhost
 Database=gnugk
 User=admin
 Password=password
 Table=client
 IDField=ID
 PasswordField=Password
 ExtraCriterion=Kind > 1
 
 [MySQLAliasAuth]
 Host=localhost
 Database=gnugk
 User=admin
 Password=password
 Table=client
 IDField=ID
 IPField=IP_Address
 ExtraCriterion=Kind > 1
 CacheTimeout=300
 
 When I run the ./gnugk -c ../etc/gnugk.ini -ttt -r
 
 for the mysql part,
 
 there is a 
 
 select IP_Address from client where ID = '%0:id' and 
 Kind > 1
 
 waiting for query
 
 select Password from client where ID = '%0:id' and 
 Kind > 1
 
 waiting for query
 
 In my mysql database i set
 
 ID        Password        IP Address       Kind
 ------------------------------------------------
 880101     password       192.168.180.2     2
 
 On the client phone, I set the
 
 Alias = 880101
 GK Password = password
 IP Address = 192.168.180.2
 
 When I try to register,
 
 Gatekeeper registration failed (cause #12).
 Please check the network setting.
 
 On the gatekeeper when run the registration
 
 RasSrv.cxx(940)  GK        RRQ Received
 gkauth.h       GKAuth    MySQLPasswordAuth check
 failed
 RasSrv.cxx(1195) RRJ|192.168.180.2|880101:dialed
 Digits
                 =880101:H323_ID|terminal|securityDenia
 
                  l
 
 I need help from you all and what is my mistake.
 
  
 
 
 
 __________________________________
 Do you Yahoo!?
 Exclusive Video Premiere - Britney Spears
 http://launch.yahoo.com/promos/britneyspears/
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003

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

  Powered by Linux