Fail-over config question

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

 



Hello,

Recently, we setup GNUGK-2.2.4 using CVS on FreeBSD-6.1-STABLE.

We did following on gnugk.ini:
====================
[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
CallSignalHandlerNumber=100
RtpHandlerNumber=100
RemoveH245AddressOnTunneling=1
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
DropCallsByReleaseComplete=1
RemoveCallOnDRQ=1
SendReleaseCompleteOnDRQ=1
ScreenDisplayIE=1
ScreenCallingPartyNumberIE=1
ForwardOnFacility=1
ShowForwarderNumber=1
Q931PortRange=20000-20999
H245PortRange=30000-30999
SignalTimeout=60000
SingleFailoverCDR=FALSE
ActivateFailover=1
FailoverCauses=1-15,21-127

[RoutingPolicy]
default=explicit,internal

[Proxy]
Enable=0
T120PortRange=40000-40999
RTPPortRange=50000-59999
ProxyForNAT=0

[RasSrv::GWRewriteE164]
dentel1=out=089=777;out=090=888;out=047=777;out=099=777
dentel2=out=089=777;out=090=888;out=047=777;out=099=777
;honduras=out=047=78943504;out=099=78943504

[RasSrv::RewriteE164]
;1100003=08935569
1100003=09035569
52627=777
;089=777
;090=888
089976=3333976
;047=7771
;0991=7771
047504=78943504
099504=78943504

[RasSrv::GWPrefixes]

[RasSrv::PermanentEndpoints]
x.x.9.12=ASIATEL_GK1;076,777,0331,9864266
y.y.y.150=dentel1;777,888,089,090,047,099
z.z.z.175=dentel2;777,888,089,090,047,099
a.a.a.234=honduras;78943504
b.b.b.7=micom_gw7;3333976
c.c.c.114=ASIATEL_GW1;047976,099976;3333976

Connection diagram:
==============

GW------->GNUGK-------->b.b.b.7, c.c.c.114 with 333976 prefix.

I disabled all E1 ports on b.b.b.7 gateway, then I make test call from gateway and get routed to b.b.b.7, but call reject with "Unallocated number" because of E1 port. Actually, I guess call fail-over support to work and move to second gateway, but unfortunately didn't. It is immediately release completed.

But on get following message:
===================
2006/05/30 20:02:01.819 5 yasocket.cxx(743) TCPSrv 1 sockets selected from 2, total 2/0 2006/05/30 20:02:01.819 4 yasocket.cxx(851) TCPSrv Accept request on 64.21.130.39:1720 2006/05/30 20:02:01.819 5 job.cxx(352) JOB Worker threads: 204 total - 204 busy, 0 idle 2006/05/30 20:02:01.819 5 job.cxx(180) JOB Starting Job Acceptor at Worker thread 0x8978400 2006/05/30 20:02:01.825 5 ProxyChannel.cxx(607) Q931s Reading from d.d.d.4:49317 2006/05/30 20:02:01.825 3 ProxyChannel.cxx(643) Proxy d.d.d.4:49317 read timeout? 2006/05/30 20:02:02.310 5 ProxyChannel.cxx(607) Q931s Reading from d.d.d.4:49317 2006/05/30 20:02:02.310 3 ProxyChannel.cxx(877) Q931s Received: Setup CRV=5635 from d.d.d.4:49317
2006/05/30 20:02:02.312 4       ProxyChannel.cxx(819)   Q931    Received: {
 q931pdu = {
   protocolDiscriminator = 8
   callReference = 5635
   from = originator
   messageType = Setup
   IE: Bearer-Capability = {
     80 90 a3                                           ...
.
.
.
.
.
2006/05/30 20:02:02.314 4 ProxyChannel.cxx(1555) Q931s GWRewrite source for d.d.d.4:49317: setup H323 ID or E164 2006/05/30 20:02:02.314 2 Toolkit.cxx(459) RewritePString: 08997699170362 to 333397699170362 2006/05/30 20:02:02.314 2 Toolkit.cxx(459) RewritePString: 08997699170362 to 333397699170362 2006/05/30 20:02:02.314 5 gksql.cxx(387) SQLAuth Executing query: SELECT 1, credit_time('noyonsuld_gw1','d.d.d.4','333397699170362') as credittime 2006/05/30 20:02:02.321 5 sqlauth.cxx(856) SQLAUTH SQLAuth(Setup from d.d.d.4 CRV=5635) - duration limit set to 5439 2006/05/30 20:02:02.321 3 gkauth.cxx(1002) GKAUTH SQLAuth Setup check ok 2006/05/30 20:02:02.322 5 Routing.cxx(193) ROUTING Checking policy Explicit for request Setup CRV=5635 2006/05/30 20:02:02.322 5 Routing.cxx(193) ROUTING Checking policy Internal for request Setup CRV=5635 2006/05/30 20:02:02.322 2 RasTbl.cxx(700) RASTBL Gateway 1855_endp matched by prefix 3333976 2006/05/30 20:02:02.322 4 RasTbl.cxx(1124) RASTBL Prefix match for gateways:
202.179.9.7:1720
2006/05/30 20:02:02.322 5 Routing.cxx(199) ROUTING Policy Internal applied to the request Setup CRV=5635 2006/05/30 20:02:02.323 2 RasTbl.cxx(2277) CallTable::Insert(CALL) Call No. 854, total sessions : 1 2006/05/30 20:02:02.323 2 gkacct.cxx(1014) GKACCT Successfully logged event 1 for call no. 854 2006/05/30 20:02:02.323 4 ProxyChannel.cxx(1941) Q931s GWRewrite source for d.d.d.4:49317: setup H323 ID or E164 2006/05/30 20:02:02.324 3 ProxyChannel.cxx(2006) Q931s Call 854 is NAT type 0
2006/05/30 20:02:02.324 4       ProxyChannel.cxx(2413)  Q931
.
.
.
.
..
}
2006/05/30 20:02:02.923 2 RasTbl.cxx(2493) CDR ignore not connected call 2006/05/30 20:02:02.924 5 gksql.cxx(387) SQLAcct Executing query: UPDATE voipcall SET acctstoptime = now(), duration = '0', terminatecause = '1', acctstopdelay = 0, setuptime = NULLIF('20:02:02.000 UTC Tue May 30 2006', '')::TIMESTAMP(0) WITH TIME ZONE, connecttime = NULLIF('', '')::TIMESTAMP(0) WITH TIME ZONE, disconnecttime = NULLIF('20:02:02.000 UTC Tue May 30 2006', '')::TIMESTAMP(0) WITH TIME ZONE WHERE acctsessionid = '447ae31400000356' AND gkid = 'PLCGK39' AND acctstoptime IS NULL 2006/05/30 20:02:02.925 4 sqlacct.cxx(260) GKACCT SQLAcct failed to store accounting data (event: 2, call: 854): no rows have been updated 2006/05/30 20:02:02.925 5 gksql.cxx(387) SQLAcct Executing query: INSERT INTO voipcall (id, h323id, acctsessionid, h323confid, gkip, gkid, callingstationip, callingstationid, calledstationip, calledstationid, setuptime, connecttime, disconnecttime, terminatecause, duration, acctstarttime, acctstartdelay, acctupdatetime, acctstoptime, acctstopdelay) VALUES (DEFAULT,'noyonsuld_gw1', '447ae31400000356', '52 64 62 37 ef 4a 11 da 94 ea d7 f8 29 e1 4c d0', 'f.f.f.39', 'PLCGK39', NULLIF('d.d.d.4', '')::INET, '99114909', NULLIF('b.b.b.7', '')::INET, '333397699170362', NULLIF('20:02:02.000 UTC Tue May 30 2006','')::TIMESTAMP(0) WITH TIME ZONE, NULLIF('','')::TIMESTAMP(0) WITH TIME ZONE, NULLIF('20:02:02.000 UTC Tue May 30 2006','')::TIMESTAMP(0) WITH TIME ZONE, '1', '0', (now() - '0'::INTERVAL), 0, now(), now(), 0) 2006/05/30 20:02:02.932 3 gkacct.cxx(974) GKACCT SQLAcct logged event 2 for call no. 854 2006/05/30 20:02:02.932 2 gkacct.cxx(1014) GKACCT Successfully logged event 2 for call no. 854 2006/05/30 20:02:02.932 4 ProxyChannel.cxx(819) Q931 Send to d.d.d.4:49317 {
 q931pdu = {
   protocolDiscriminator = 8
   callReference = 5635
   from = destination
   messageType = ReleaseComplete
   IE: Cause - Unallocated number = {
     80 81                                              ..
   }
   IE: User-User = {
     25 80 06 00 08 91 4a 00  04 11 00 11 00 52 64 62   %.....J......Rdb
     37 ef 4a 11 da 94 ec d7  f8 29 e1 4c d0 10 80 01   7.J......).L....
     80                                                 .
   }
 }
 h225pdu = {
   h323_uu_pdu = {
     h323_message_body = releaseComplete {
       protocolIdentifier = 0.0.8.2250.0.4
       callIdentifier = {
         guid =  16 octets {
52 64 62 37 ef 4a 11 da 94 ec d7 f8 29 e1 4c d0 Rdb7.J......).L.
         }
       }
     }
     h245Tunneling = TRUE
   }
 }
}
2006/05/30 20:02:08.043 3 yasocket.cxx(566) Q931s Delete socket d.d.d.4:49317 2006/05/30 20:02:08.043 3 yasocket.cxx(566) Q931d Delete socket b.b.b.7:1720 2006/05/30 20:02:08.271 3 RasTbl.cxx(1510) Gk Delete Call No. 854


In my case Call fail-over feature to work?


Regards,
Balgaa


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
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