routing calls problem using VPN and gnugk

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

 



Hello there,
In my country all ports r block for voip service so i setup a VPN(im using openvpn) system between two linux server(one in usa and one
in my home) and i make a turnel between two machine and its working fine. i can send data through that tunnal from one to another.one ip is 10.7.0.78(usa side) and 10.7.0.77(my home side).In both server i setup gnugk to route calls from usa(gk1) to my country(gk2 as parent).my home machine has two lan(192.168.0.1, 202.x.x.45(real ip)). now when call is send to usa's real ip(70.x.x.44) its come to my home's ip' gnugk but cant route to gateway which ip is 192.168.0.30.in usa side gnugk in log disconnect cause =3 and in my
home gnugk show disconnect cause=16 or 41. my quintum gateway(gw1 192.168.0.30 ) which is connected to my home server can register with myhome gk as gw1.from quintum  i can ping usa server ip(10.7.0.78).ip forwarding is enable in both server.when i send call to my home gk for test it send call
to my gateway but when call send to usa, its not terminated to my gw1.
anyone can help me solve this problem.
here is both side gnugk.ini details
usa side
===========
[Gatekeeper::Main]
Fourtytwo=42
Name=gk_us
TimeToLive=500
StatusPort=55699
Home=70.x.x.44,10.7.0.78
[RoutedMode]
GKRouted=1
CallSignalPort=1720
CallSignalHandlerNumber=10
RtpHandlerNumber=10
RemoveH245AddressOnTunneling=1
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
SupportCallingNATEndpoints=0
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=1
TranslateFacility=1
AcceptNeighborsCalls=1
[Proxy]
Enable=1
ProxyForNAT=0
InternalNetwork=10.7.0.78/255.255.255.252
[RoutingPolicy]
default=parent
[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=0
CallUnregisteredEndpoints=0
RemoveTrailingChar=*
[RasSrv::RRQFeatures]
AcceptEndpointIdentifier=1
AcceptGatewayPrefixes=0
OverwriteEPOnSameAddress=1

[Gatekeeper::Auth]
FileIPAuth=optional;RRQ,LRQ,SETUP,SETUPUNREG
PrefixAuth=required;LRQ
[Gatekeeper::Acct]
FileAcct=sufficient;stop
Default=accept
[FileAcct]
DetailFile=C:\cdr\cdr.log
Rotate=daily
StandardCDRFormat=0
CDRString=Call_Duration=%d      Dis_Casue=%c|   Post_Delay=%p|   Orginate_from=%  {caller-ip}   Terminator_gw_ip=%{callee-ip}   Dialed_Number= %{Dialed-Number}|   Connect_Time=%{connect-time}|   Call_Atm=%{call-attempts} |Who_Discon=%r
[FileIPAuth]
;216.0.x.x=allow
any=allow
[PrefixAuth]
;414947=allow ip4:63.218.98.10
[callTable]
DefaultCallDurationLimit=7623
SingleFailoverCDR=TRUE

[Endpoint]
Gatekeeper=10.7.0.77
Prefix=414947
TimeToLive=60
=====================
my home side gnugk.ini
[Gatekeeper::Main]
Fourtytwo=42
Name=gk_myhome
TimeToLive=500
StatusPort=55699
Home=192.168.0.1,10.7.0.77
;ExternalIP=10.7.0.78
[RoutedMode]
GKRouted=1
H245Routed=1
RtpHandlerNumber=4
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=1
SupportNATedEndpoints=1
SupportCallingNATEndpoints=1
[Proxy]
Enable=1
ProxyForNAT=0
InternalNetwork=192.168.0.1/255.255.255.0
;ProxyForSameNAT=1

[RoutingPolicy]
default=internal
[RasSrv::ARQFeatures]
ArjReasonRouteCallToSCN=0
ArjReasonRouteCallToGatekeeper=0
CallUnregisteredEndpoints=0
RemoveTrailingChar=*
RoundRobinGateways=1
[RasSrv::RRQFeatures]
AcceptGatewayPrefixes=0
OverwriteEPOnSameAddress=1

[Gatekeeper::Auth]
FileIPAuth=required;RRQ,LRQ,SETUP,SETUPUNREG
[Gatekeeper::Acct]
FileAcct=sufficient;stop
Default=accept
[FileAcct]
DetailFile=c:\cdr\cdr.log
Rotate=daily
StandardCDRFormat=0
CDRString=Call_Duration=%d      Dis_Casue=%c|   Post_Delay=%p|   Orginate_from=%{caller-ip}   Terminator_gw_ip=%{callee-ip}   Dialed_Number= %{Dialed-Number}|     Connect_Time=%{connect-time}|   Call_Atm=%{call-attempts} |Who_Discon=%r
RotateTime=00:00
[RasSrv::GWPrefixes]
gw1=414947

[FileIPAuth]
10.7.0.78=allow
any=reject
[CallTable]
DefaultCallDurationLimit=7623
SingleFailoverCDR=FALSE
[RasSrv::PermanentEndpoints]
;192.168.0.30=gw1;414947
[EP::gw1]
GatewayPriority=1
Capacity=8
GatewayPrefixes=414947
 
 


Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
-------------------------------------------------------------------------
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