My setup is as follows:
[Asterisk 1.0.1 w/323 and Sip channels] -> H.323 -> [GnnuGK 2.0.8 323] -> H.323 -> [Cisco CallMangler 3.3.4] -> MGCP -> [Cisco 3725 w/PRI] -> PSTN
We write applications with jtapi for callmangler, so we use them a lot.
Problem I am having is that at home I have a 7960 that runs against several asterisk servers, a broadsoft server and FWD (whatever they use). I connect to asterisk in this example just fine, and can make calls through the Gatekeeper, but then the GK gets a DRQ after just a few seconds from the callmanager and disconnects. If I answer the call before the DRQ arrives though, it is no problem - usually takes ~5 seconds b4 the DRQ arrives from ccm.
Any idea on where I can look for that or a switch I can set in the GK to turn it off? I have tried everything in the docs to the best of my knowledge. We are using the GK in routed mode with no auth - I will include the gatekeeper.ini as well as snippet from the DRQ in the log.
Thanks,
Greg Oliver
LOG
2005/02/23 15:53:54.911 2 RasTbl.cxx(614) Gateway 9680_endp match 9
2005/02/23 15:53:54.912 2 RasTbl.cxx(2005) CallTable::Insert(CALL) Call No. 46, total sessions : 1
2005/02/23 15:53:54.912 2 RasSrv.cxx(1830) ACF|192.168.5.20:1720|4362_endp|883|99723814678:dialedDigits|9723814678:dialedDigits|false;^M
2005/02/23 15:53:54.912 2 RasSrv.cxx(2334) GK Send admissionConfirm to 192.168.5.20:32776
2005/02/23 15:53:54.925 2 gkacct.cxx(924) GKACCT Successfully logged event 1 for call no. 46
2005/02/23 15:53:54.941 2 RasSrv.cxx(2392) GK Read from 192.168.5.10:4944
2005/02/23 15:53:54.942 2 RasSrv.cxx(2407) GK Received admissionRequest
2005/02/23 15:53:54.942 1 RasSrv.cxx(1414) GK ARQ Received
2005/02/23 15:53:54.943 2 RasSrv.cxx(1830) ACF|192.168.5.10:1680|9680_endp|33651|99723814678:dialedDigits|9723814678:dialedDigits|true;^M
2005/02/23 15:53:54.943 2 RasSrv.cxx(2334) GK Send admissionConfirm to 192.168.5.10:4944
2005/02/23 15:54:04.409 2 RasTbl.cxx(2190) CDR ignore not connected call
2005/02/23 15:54:04.409 2 RasSrv.cxx(2392) GK Read from 192.168.5.10:4944
2005/02/23 15:54:04.410 2 RasSrv.cxx(2407) GK Received disengageRequest
2005/02/23 15:54:04.410 1 RasSrv.cxx(1879) GK DRQ Received
2005/02/23 15:54:04.441 2 gkacct.cxx(924) GKACCT Successfully logged event 2 for call no. 46
2005/02/23 15:54:04.442 2 RasSrv.cxx(1926) DCF|192.168.5.10|9680_endp|33651|undefinedReason;^M
2005/02/23 15:54:04.442 2 RasSrv.cxx(2334) GK Send disengageConfirm to 192.168.5.10:4944
2005/02/23 15:54:04.480 2 RasSrv.cxx(2392) GK Read from 192.168.5.20:32776
2005/02/23 15:54:04.481 2 RasSrv.cxx(2407) GK Received disengageRequest
2005/02/23 15:54:04.481 1 RasSrv.cxx(1879) GK DRQ Received
2005/02/23 15:54:04.481 2 RasSrv.cxx(1926) DCF|192.168.5.20|4362_endp|883|normalDrop;^M
GK.INI
[Gatekeeper::Main] Fourtytwo=42 TimeToLive=600 Name=CorveroCCS Home=192.168.5.20 NetworkInterfaces=192.168.5.20/24
[RoutedMode] ; call signalling (Q.931) routed GKRouted=1 ; control channel (H.245) routed H245Routed=1 ; use 1721 as the port of call signalling CallSignalPort=1721 ; for dual CPUs CallSignalHandlerNumber=2 ; accept calls from neighbor gatekeepers AcceptNeighborsCalls=1 ; don't accept calls from unregistered endpoints AcceptUnregisteredCalls=0 ; force to stay in tunneling mode if Tunneling flag is TRUE RemoveH245AddressOnTunneling=1 ; send Release Complete to drop calls DropCallsByReleaseComplete=1 ; send Release Complete on receiving DRQ SendReleaseCompleteOnDRQ=1 ; port range for Q.931 channel Q931PortRange=30000-39999 ; port range for H.245 channel H245PortRange=40000-49999
[GkStatus::Auth] rule=allow
[RasSrv::GWPrefixes]
; here is where you route the calls back to the Cisco Call Manager. This is the id
; The format is <TRUNK_ID>=prefix.
; Note you have to specify the alias of the gateway. If a gateway registered with the alias,
; all numbers beginning with the prefixes are routed to this gateway
;PV_H323_TRUCK_1=11,15001,5
; these are the CTI RoutePoints
CISTERA_ENG_LAB_1=21,22,23,24,25,26,27,28,29
CISTERA_VMAIL_1=4,5,9
CISTERA_RD_LAB_1=3
[RasSrv::RewriteE164]
[RasSrv::PermanentEndpoints] ; The Call Manager always registers so don't use
;10.86.0.1:3577=15001
[RasSrv::LRQFeatures] CiscoGKCompatible=1
[RasSrv::ARQFeatures] CallUnregisteredEndpoints=1
[Gatekeeper::Acct] acctmod=SQLAcct SQLAcct=alternative;start,stop,update,on,off
[SQLAcct]
Driver=PostgreSQL
Host=127.0.0.1:5432
Database=gatekeeper
Username=
Password=
StartQuery=insert into call (gatekeeper, callnumber, callduration, disconnect, uniquecall, h323id, callid, setup_time,connect_time, disconnect_time, callerip, caller_port, callee_ip, callee_port, src_info, dest_info, calling_station_id, called_station_id) values ('%g','%n','%d','%c','%s','%u','%{CallId}','%{setup-time}','%{connect-time}','%{disconnect-time}', '%{caller-ip}','%{caller-port}','%{callee-ip}','%{callee-port}','%{src-info}','%{dest-info}','%{Calling-Station-Id}','%{Called-Station-Id}');
StartQueryAlt=insert into call (gatekeeper, callnumber, callduration, disconnect, uniquecall, h323id, callid, setup_time,connect_time, disconnect_time, callerip, caller_port, callee_ip, callee_port, src_info, dest_info, calling_station_id, called_station_id) values ('%g','%n','%d','%c','%s','%u','%{CallId}','%{setup-time}','%{connect-time}','%{disconnect-time}', '%{caller-ip}','%{caller-port}','%{callee-ip}','%{callee-port}','%{src-info}','%{dest-info}','%{Calling-Station-Id}','%{Called-Station-Id}');
UpdateQuery=UPDATE call SET callduration = %d WHERE gatekeeper = '%g' AND uniquecall = '%s'
StopQuery=UPDATE call SET h323id = '%u', calling_station_id = '%{Calling-Station-Id}', called_station_id = '%{Called-Station-Id}', callduration = '%d', disconnect = '%c', connect_time = '%{connect-time}', disconnect_time = '%{disconnect-time}' WHERE gatekeeper = '%g' AND uniquecall = '%s'
StopQueryAlt=INSERT INTO call (gatekeeper, uniquecall, callnumber, h323id, calling_station_id, called_stationid, callduration, disconnect) VALUES ('%g', '%s', %n, '%u', '%{Calling-Station-Id}', '%{Called-Station-Id}', '%d', '%c')
[CTI::Agents]
;VirtualQueuePrefixes=1214,011
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/