GK crashes

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

 



Hello

My GK crashes about few times per day.
I'm using:

Version:
Gatekeeper(GNU) Version(2.2.6)
Ext(pthreads=1,radius=0,mysql=1,pgsql=0,firebird=0,large_fdset=4072,crypto/ssl=0)
Build(Jun 25 2007, 17:29:57) Sys(Linux i686 2.6.18-4-686)
on Debian


I'm not using RAS. I authenticate users by Setup IP address and send calls
to two permanent GW's.

GK crashes even at 40 calls sometimes less but It can work proprertly at
150 calls (It not depends from load). I have log with -ttt and there is
nothing about reason of crash, gk just stop loggining. I'm afraid, when I
set more verbose log it will be crashing frequently. Has anybody using
GnuGK without RAS ???

Thanks for any help.

Best Regards
Mariusz

P.S. Bellow You will find my config.

[Gatekeeper::Main]
Fortytwo=42
Name=gnugk
Home=xxx.xxx.xxx.xxx,127.0.0.1
TimestampFormat=MySQL
StatusTraceLevel=2
UseBroadcastListener=0

[LogFile]
Rotate=Daily
RotateTime=00:00

[GkStatus::Auth]
rule=allow
regex=^xxx\.xxx\.xxx\.[0-9]+$

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
CallSignalHandlerNumber=10
SupportNATedEndpoints=1
CalledTypeOfNumber=1
;0 - UnknownType, 1 - InternationalType, 2 - NationalType, 3 -
NetworkSpecificType, 4 - SubscriberType, 6 - AbbreviatedType, 7 -
ReservedType CallingTypeOfNumber=1
DisableRetryChecks=1
AcceptUnregisteredCalls=1
TranslateFacility=1
ActivateFailover=1
FailoverCauses=1-15,21-127

[Proxy]
Enable=0

[RasSrv::RewriteE164]
666648=48

[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1

[Gatekeeper::Auth]
SQLAuth=required;Setup
FileIPAuth=required;GRQ,RRQ,LRQ

[SQLAuth]
Driver=MySQL
Host=localhost
Database=GNUGK
Username=xxx
Password=xxx
MinPoolSize=100
CallQuery=SELECT access FROM clients where ip = '%{callerip}'

[FileIPAuth]
any=reject

[RoutingPolicy]
default=internal

[RoutingPolicy::OnSetup]
default=internal

[RasSrv::GWPrefixes]
gw1=48
gw5=48

[RasSrv::PermanentEndpoints]
xxx.xxx.xxx.xxx=gw1;48
xxx.xxx.xxx.xxx=gw5;48

[EP::vgw1]
Capacity=120
GatewayPriority=1

[EP::vgw5]
Capacity=60
GatewayPriority=2

[CallTable]
GenerateUCCDR=1
TimestampFormat=Cisco
SingleFailoverCDR=FALSE

[Gatekeeper::Acct]
SQLAcct=optional;start,stop,update
FileAcct=sufficient;stop

[FileAcct]
DetailFile=/var/log/gnugk/cdr/cdr.log
StandardCDRFormat=0
CDRString=%g|%n|%d|%c|%s|%u|%{gkip}|%{CallId}|%{ConfId}|%{setup-time}|%{connect-time}|%{disconnect-time}|%{caller-ip}|%{caller-port}|%{callee-ip}|%{callee-port}|%{src-info}|%{dest-info}|%{Calling-Station-Id}|%{Called-Station-Id}|%{Dialed-Number}|%{call-attempts}|%{last-cdr}|%{media-oip}|%{codec}
Rotate=daily
RotateTime=00:00

[SQLAcct]
Driver=MySQL
Database=GNUGK
Username=xxx
Password=xxx
TimestampFormat=MySQL

StartQuery= insert into CDR (gatekeeper_name, call_number, call_duration,
disconnect_cause, who_disconnected, acct_session_id, gkip, CallId, ConfId,
setup_time, connect_time, disconnect_time, caller_ip, callee_ip,
dest_info, Calling_Station_Id, Called_Station_Id, Dialed_Number,
call_attempts, last_cdr, media_oip, codec) values ('%g', '%n', %d, %c,
%r,'%s', '%{gkip}', '%{CallId}', '%{ConfId}', '%{setup-time}',
'%{connect-time}', '%{disconnect-time}', '%{caller-ip}', '%{callee-ip}',
'%{dest-info}', '%{Calling-Station-Id}', '%{Called-Station-Id}',
'%{Dialed-Number}', %{call-attempts}, %{last-cdr}, '%{media-oip}',
'%{codec}')

StartQueryAlt= insert into CDR (gatekeeper_name, call_number,
call_duration, disconnect_cause, who_disconnected, acct_session_id, gkip,
CallId, ConfID, setup_time, connect_time, disconnect_time, caller_ip,
callee_ip, dest_info, Calling_Station_Id, Called_Station_Id,
Dialed_Number, call_attempts, last_cdr, media_oip, codec) values ('%g',
'%n', %d, %c, %r,'%s', '%{gkip}', '%{CallId}', '%{ConfID}',
'%{setup-time}', '%{connect-time}', '%{disconnect-time}', '%{caller-ip}',
'%{callee-ip}', '%{dest-info}', '%{Calling-Station-Id}',
'%{Called-Station-Id}', '%{Dialed-Number}', %{call-attempts}, %{last-cdr},
'%{media-oip}', '%{codec}')

UpdateQuery= update CDR set call_duration=%d, where gatekeeper_name='%g'
and acct_session_id='%s'

StopQuery= update CDR set call_duration=%d, codec='%{codec}',
last_cdr=%{last-cdr},disconnect_cause=%c,
disconnect_time='%{disconnect-time}' where gatekeeper_name='%g' and
acct_session_id='%s'

StopQueryAlt= insert into CDR (gatekeeper_name, call_number,
call_duration, disconnect_cause, who_disconnected, acct_session_id, gkip,
CallId, ConfID, setup_time, connect_time, disconnect_time, caller_ip,
callee_ip, dest_info, Calling_Station_Id, Called_Station_Id,
Dialed_Number, call_attempts, last_cdr, media_oip, codec) values ('%g STOP
Alt', '%n', %d, %c, %r, '%s', '%{gkip}', '%{CallId}', '%{ConfID}',
'%{setup-time}', '%{connect-time}', '%{disconnect-time}', '%{caller-ip}',
'%{callee-ip}', '%{dest-info}', '%{Calling-Station-Id}',
'%{Called-Station-Id}', '%{Dialed-Number}', %{call-attempts}, %{last-cdr},
'%{media-oip}', '%{codec}')



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________________

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