Unhandled Exception SQLAuth

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

 



Hi...I again
When run gnugk 2.2.7 in "Debug(ptlib 1.11)" in VC ++ 2005 I find "Unhandled Exception".
The error must be in the section [Gatekeeper::Auth], because I comment in the gateekeeper.ini the line that says "SQLAuth=optional;ARQ", it work well.
This is the call stack:

>    gnugk.exe!std::_Tree<std::_Tmap_traits<char const *,Functor<GkSQLConnection *> *,std::less<char const *>,std::allocator<std::pair<char const * const,Functor<GkSQLConnection *> *> >,0> >::_Root()  Line 1231 + 0x3 bytes    C++
     gnugk.exe!std::_Tree<std::_Tmap_traits<char const *,Functor<GkSQLConnection *> *,std::less<char const *>,std::allocator<std::pair<char const * const,Functor<GkSQLConnection *> *> >,0> >::_Lbound(const char * const & _Keyval=0x01934550)  Line 1170 + 0x8 bytes    C++
     gnugk.exe!std::_Tree<std::_Tmap_traits<char const *,Functor<GkSQLConnection *> *,std::less<char const *>,std::allocator<std::pair<char const * const,Functor<GkSQLConnection *> *> >,0> >::lower_bound(const char * const & _Keyval=0x01934550)  Line 987 + 0x10 bytes    C++
     gnugk.exe!std::_Tree<std::_Tmap_traits<char const *,Functor<GkSQLConnection *> *,std::less<char const *>,std::allocator<std::pair<char const * const,Functor<GkSQLConnection *> *> >,0> >::find(const char * const & _Keyval=0x01934550)  Line 961 + 0x10 bytes    C++
     gnugk.exe!Factory<GkSQLConnection,char const *>::FindCreator(const char * n=0x01934550)  Line 278 + 0x13 bytes    C++
     gnugk.exe!Factory<GkSQLConnection,char const *>::FindCreator<Functor1<GkSQLConnection *,char const *> *>(const char * n=0x01934550, int i=1, Functor1<GkSQLConnection *,char const *> * & p=0xcccccccc)  Line 229 + 0x9 bytes    C++
     gnugk.exe!Factory<GkSQLConnection,char const *>::Create<char const *>(const char * n=0x01934550, const char * p1=0x00b821bc)  Line 206 + 0xf bytes    C++
     gnugk.exe!GkSQLConnection::Create(const char * driverName=0x01934550, const char * connectionName=0x00b821bc)  Line 90 + 0xd bytes    C++
     gnugk.exe!SQLAuth::SQLAuth(const char * authName=0x00b821bc, unsigned int supportedRasChecks=262664, unsigned int supportedMiscChecks=3)  Line 439 + 0x12 bytes    C++
     gnugk.exe!GkAuthCreator<SQLAuth>::operator()()  Line 1017 + 0x69 bytes    C++
     gnugk.exe!Factory<GkAuthenticator,char const *>::Create(const char * n=0x01934098)  Line 199 + 0x28 bytes    C++
     gnugk.exe!GkAuthenticatorList::OnReload()  Line 719 + 0x3a bytes    C++
     gnugk.exe!RasServer::LoadConfig ()  Line 888    C++
     gnugk.exe!RasServer::Run()  Line 1181    C++
     gnugk.exe!Gatekeeper::Main()  Line 581 + 0x19 bytes    C++
     gnugk.exe!PProcess::_main(void * __formal=0x00000000)  Line 1917    C++
     gnugk.exe!main(int argc=1, char * * argv=0x003e66b8, char * * envp=0x003e3d70)  Line 23 + 0x92 bytes    C++
     gnugk.exe!__tmainCRTStartup()  Line 597 + 0x19 bytes    C
     gnugk.exe!mainCRTStartup()  Line 414    C
     kernel32.dll!77e6f23b()    
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]   
     gnugk.exe!std::list<GkSQLConnection::SQLConnWrapper * *,std::allocator<GkSQLConnection::SQLConnWrapper * *> >::_Insert(std::list<GkSQLConnection::SQLConnWrapper * *,std::allocator<GkSQLConnection::SQLConnWrapper * *> >::_Iterator<1> _Where=0x02fc45c6, GkSQLConnection::SQLConnWrapper * * const & _Val=0xba24f868)  Line 706 + 0x2 bytes    C++
     gnugk.exe!H245_AudioCapability::Clone()  Line 5619 + 0x1b bytes    C++
     gnugk.exe!std::vector<Routing::NumberAnalysisPolicy::PrefixEntry,std::allocator<Routing::NumberAnalysisPolicy::PrefixEntry> >::_Insert_n(std::_Vector_iterator<Routing::NumberAnalysisPolicy::PrefixEntry,std::allocator<Routing::NumberAnalysisPolicy::PrefixEntry> > _Where={m_prefix={...} m_minLength=??? m_maxLength=??? }, unsigned int _Count=147096575, const Routing::NumberAnalysisPolicy::PrefixEntry & _Val={...})  Line 1172    C++
     e8500845()   

This is gatekeeper.ini:

[Gatekeeper::Main]
Fortytwo=42
Name=GnuGkMAGIC
StatusPort=7000
StatusTraceLevel=2
TimestampFormat=MySQL

[GkStatus::Auth]
rule=explicit|password
127.0.0.1=allow
Shutdown=allow
default=forbid


[RoutedMode]
GKRouted=1
;H245Routed=0
;CallSignalPort=1721
;El gatekeeper no desconectara una llamada si este recibe un DRQ para esa llamda. Establecido a 0 si se utiliza la opcion "callfailover"
RemoveCallOnDRQ=0
DropCallsByReleaseComplete=1
;SendReleaseCompleteOnDRQ=1
ActivateFailover=1
;Codigo 17=ocupado
FailoverCauses=1-127

;[RoutingPolicy::OnARQ]
;default=explicit

;[RoutingPolicy::OnSetup]

[Gatekeeper::Auth]
;RadAliasAuth=sufficient;ARQ,RRQ,SetupUnreg
;RadAuth=sufficient;ARQ,RRQ,SetupUnreg
;ojo
SQLAuth=optional;ARQ
defualt=allow

[SQLAuth]
Driver=MySQL
Host= 192.168.0.200
Database=CallUnit
Username=magic
Password=magic
CallQuery=SELECT 1, '10.10.10.10;13.13.13.13;192.168.0.15;12.12.12.12;192.168.0.110' as redirectip
;SELECT (GROUP_CONCAT(ip SEPARATOR ';')) AS redirectip FROM Nodes WHERE type='destiny'

[RadAliasAuth]
Servers=192.168.0.203:1812:1813
SharedSecret=magic

[Gatekeeper::Acct]
;RadAcct=required;start,connect,update,stop
StatusAcct=required;start,connect,update,stop
default=accept

[RadAcct]
Servers=192.168.0.203
SharedSecret=magic

[StatusAcct]
StartEvent=START|CALLER %{caller-ip}|CALLED %{callee-ip}
ConnectEvent=CONNECT|CALLER %{caller-ip}|CALLED %{callee-ip}
UpdateEvent=Update|CALLER %{caller-ip}|CALLED %{callee-ip}
StopEvent=STOP|CALLER %{caller-ip}|CALLED %{callee-ip}|CAUSA %{c}|QUIEN %{r}|INTENTOS %{call-attempts}
TimestampFormat=MySQL

[CallTable]
AcctUpdateInterval=5
SingleFailoverCDR=TRUE

;[CTI::Agents]
;VirtualQueueRegex=^[0-9#*]
;RequestTimeout=100

[GkStatus::Filtering]
IncludeFilter=.+
ExcludeFilter=RCF

Thanks in advance.

--
Del paraiso al infierno, hay un paso nada mas, la prohibicion es un "business".
La droga existe y no la vas a eliminar, la solucion consiste en legalizar.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

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

  Powered by Linux