Register Asterisk on a Gatekeeper (GnuGK) with RAS H.225

julbarbier
Joined: Sat 28 of Feb, 2009

Register Asterisk on a Gatekeeper (GnuGK) with RAS H.225

Posted:Mon 19 of Mar, 2012 (14:51 UTC)
Hello,

Can anybody tell me why Asterisk (v1.4 or v1.6) send (H.225[Gatekeeper Request]) on all interfaces during a RAS Registering on a Gatekeeper (GnuGK) while i have in h323.conf :

[general]
bindaddr = 192.168.3.33

It's a problem because Asterisk refuse to register even if a Gatekeeper reply on one of its interface (but not on the other). I have to disable the second interface so as to make the RAS registering process work.

Did I missed something ?

Thanks for your help ! :)


Jul


Asterisk H323 config file : 

[general]
port = 1719
bindaddr = 192.168.3.33
tos=lowdelay
srvlookup=no		
allow=alaw:20
autoframing=yes

jbenable = yes
jbmaxsize = 20

FastStart=no
h245Tunneling=no

gatekeeper = 192.168.3.6
AllowGKRouted = yes
gateway=yes
h323id=SIP-PROXY
context=viaH323

[SIP-PROXY]
type=h323
prefix=9876543210123



GnuGK config file

[Gatekeeper::Main]
Fortytwo=42
TimeToLive=600
Name=gk.fra
MulticastGroup=0
UseBroadcastListener=0
Home=192.168.3.6
UnicastRasPort=1719
MulticastPort=1718
StatusPort=7000
StatusTraceLevel=2
NetworkInterfaces=192.168.3.6/24
TotalBandwidth=100000
MinimumBandwidthPerCall=480
MaximumBandwidthPerCall=3200

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1
DropCallsByReleaseComplete=1
Q931PortRange=60060-60079
H245PortRange=60040-60059
CallSignalHandlerNumber=1
RtpHandlerNumber=2
RemoveH245AddressOnTunneling=1 

[Proxy]
Enable=1
ProxyAlways=1
InternalNetwork=192.168.3.0/24
RTPPortRange=60000-60019

[RoutingPolicy]
ip=internal,vqueue,explicit
ip$192.168.3.5:1720=internal,vqueue,explicit,internal

dialedDigits=vqueue,internal,explicit,internal,catchall

[CTI::MakeCall]
GateKeeper=192.168.3.5

[CTI::Agents]
VirtualQueueRegex=^(ip|\*|[0-9])

[GkStatus::Auth]
rule=allow		

[CallTable]
AcctUpdateInterval=10

[Gatekeeper::Acct]
StatusAcct=required;connect,update,stop

[StatusAcct]
ConnectEvent=CALL|Connect|%n|%{codec}
UpdateEvent=CALL|Update|%n|%{codec}
StopEvent=CALL|Stop|%n|%{codec}

[FileAcct]
DetailFile=/var/log/gnugk/fileacct.log
CDRString=CDR|%n|%{CallId}|%d|%{connect-time}|%{disconnect-time}|%{caller-ip}:%{caller-port}|%{bandwidth}|%{codec}