----- Original Message -----
Sent: Friday, May 19, 2006 5:36 AM
Subject: Low ASR
Hello this is my
first post
I have built a gatekeeper gnugk
2.2.3
and I have 3
endpoints all with a ping time between 1 and 30 ms apart.
when testing calls
I have no issues (ping time and hops is minimal I.e 25ms and 2
hops)
what my problem is
if I receive calls from overseas the ASR is very low and I am getting allot of
cause 34 No Circuit/Channel Available.
even though there
is plenty of channels available ASR is around 20% now if I send the calls
directly to the endpoint I get an ASR of 60%
I also get a better call
duration.
The gnugk is a
dedicated machine their is an asterisk installed but not currently in use
spec of machine is
a Intel xeon 2.8 with 2gb ram.
Can anyone let me know how to improve the ASR and ACD
through the gatekeeper.
my config is
below
[Gatekeeper::Main]
Fourtytwo=42
Name=Gatekeeper
[Gatekeeper::Acct]
SQLAcct=alternative;start,stop,update,RRQ,ARQ
FileAcct=sufficient;stop,RRQ,ARQ
default=accept
[GkStatus::Auth]
rule=allow
[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
CallSignalHandlerNumber=100
RtpHandlerNumber=100
SocketCleanupTimeout=2000
TranslateFacility=1
SupportNATedEndpoints=1
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=1
Q931PortRange=30000-39999
H245PortRange=40000-49999
RemoveCallOnDRQ=0
ActivateFailover=1
FailoverCauses=1-15,21-127
SetupTimeout=18000
SignalTimeout=60000
AlertingTimeout=180000
[RasSrv::LRQFeatures]
IncludeDestinationInfoInLCF=0
[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=1
CallUnregisteredEndpoints=1
RoundRobinGateways=1
[FileAcct]
DetailFile=/var/log/gnugk/cdr.log
StandardCDRFormat=1
Rotate=hourly
[RasSrv::RewriteE164]
666614........=66604........
[RewriteCLI]
in:x.x.x.x/24=any=2222
in:x.x.x.x=any=787
in:x.x.x.x/24=any=645
in:x.x.x.x/32=any=645
[RasSrv::PermanentEndpoints]
x.x.x.x=endpoint1;666
x.x.x..x=endpoint2;666
x.x.x.x=endpoint3;666
[EP::endpoint1]
Capacity=30
GatewayPriority=1
[EP::endpoint1]
Capacity=15
GatewayPriority=2
[EP::endpoint1]
Capacity=15
GatewayPriority=2
[Gatekeeper::Auth]
SQLAuth=required;Setup,SetupUnreg
default=accept
[SQLAuth]
Driver=MySQL
Host=localhost
Database=gatekeeper
Username=user
Password=password
MinPoolSize=20
CallQuery=select
activated,5400 as
credittime,CONCAT("666",RIGHT("%{Dialed-Number}",(LENGTH("%{Dialed-Number}")-LENGTH(cid))))
as redirectnumber
from Cust_auth where INET_ATON('%{callerip}')
between ipstart_aton and ipend_aton and cid =
LEFT("%{Dialed-Number}",LENGTH(cid))
[SQLAcct]
Driver=MySQL
Host=localhost
Database=gatekeeper
Username=user
Password=password
MinPoolSize=20
StartQuery=INSERT INTO call
(gkname,callnum,duration,totalduration,disconnect,whodisconnect,postdialdelay,session_id,username,gkip,callid,confid,
setup_time,alerting_time,connect_time,disconnect_time,ring_time,caller_ip,caller_port,callee_ip,callee_port,src_info,dest_info,calling_station_id,
called_station_id,dialed_number,attempts,media_ip,codec)values('%g','%n','%d','%t','%c','%r','%p','%s','%u','%{gkip}','%{CallId}',
'%{ConfId}','%{setup-time}','%{alerting-time}','%{connect-time}','%{disconnect-time}','%{ring-time}','%{caller-ip}','%{caller-port}',
'%{callee-ip}','%{callee-port}','%{src-info}','%{dest-info}','%{Calling-Station-Id}','%{Called-Station-Id}','%{Dialed-Number}',
'%{call-attempts}','%{media-ip}','%{codec}')
StartQueryAlt=UPDATE call SET gkname ='%g',callnum ='%n',duration=
'%d',
totalduration='%t',disconnect='%c',whodisconnect='%r',postdialdelay='%p',
username='%u',gkip='%{gkip}',callid='%{CallId},confid='%{ConfId}',setup_time='%{setup-time}',alerting_time='%{alerting-time}',
connect_time='%{connect_time}',disconnect_time='%{disconnect-time}',ring_time='%{ring-time}',caller_ip='%{caller-ip}',
caller_port='%{caller-port}',callee_ip='%{callee-ip}',callee_port='%{callee-port}',src_info='%{src-info}',dest_info='%{dest-info}',
calling_station_id='%{Calling-Station-Id}',called_station_id='%{Called-Station-Id}',dialed_number='%{Dialed-Number}'
WHERE gkname = '%g' AND
session_id = '%s'
UpdateQuery=UPDATE call SET duration = '%d' WHERE gkname = '%g' AND
session_id = '%s'
StopQuery=UPDATE call SET gkname ='%g',callnum ='%n',duration=
'%d',totalduration='%t',disconnect='%c',whodisconnect='%r',postdialdelay='%p',username='%u',
gkip='%{gkip}',callid='%{CallId}',confid='%{ConfId}',setup_time='%{setup-time}',alerting_time='%{alerting-time}',connect_time='%{connect-time}',
disconnect_time='%{disconnect-time}',ring_time='%{ring-time}',caller_ip='%{caller-ip}',caller_port='%{caller-port}',callee_ip='%{callee-ip}',
callee_port='%{callee-port}',src_info='%{src-info}',dest_info='%{dest-info}',calling_station_id='%{Calling-Station-Id}',called_station_id=
'%{Called-Station-Id}',dialed_number='%{Dialed-Number}',attempts=
'%{call-attempts}' ,media_ip= '%{media-ip}',codec='%{codec}' WHERE
gkname =
'%g' AND session_id = '%s'
StopQueryAlt=INSERT INTO call
(gkname,callnum,duration,totalduration,disconnect,whodisconnect,postdialdelay,session_id,username,gkip,callid,confid,
setup_time,alerting_time,connect_time,disconnect_time,ring_time,caller_ip,caller_port,callee_ip,callee_port,src_info,dest_info,calling_station_id,
called_station_id,dialed_number,attempts,media_ip,codec)
values('%g','%n','%d','%t','%c','%r','%p','%s','%u','%{gkip}','%{CallId}','%{ConfId}',
'%{setup-time}','%{alerting-time}','%{connect-time}','%{disconnect-time}','%{ring-time}','%{caller-ip}','%{caller-port}','%{callee-ip}','%{callee-port}',
'%{src-info}','%{dest-info}','%{Calling-Station-Id}','%{Called-Station-Id}','%{Dialed-Number}','%{call-attempts}','%{media-ip}','%{codec}')
TimestampFormat=MySQL
[CallTable]
GenerateNBCDR=FALSE
GenerateUCCDR=FALSE
DefaultCallTimeout=5400
AcctUpdateInterval=60