DEBUG level gateway server logs contain the majority of the information you will need for diagnosing issues without a need for the customer to specifically provide the gateway config XML file. To find this open the DEBUG server.log from the AppServer. And search for “Starting config and proxy refresh”. This will bring you to the following output:
2017-02-20 10:37:56,002 DEBUG [com.alicecallsbob.porth.gateway.admin.ConfigurationRefresher] (EJB default - 8) | Starting config and proxy refresh
2017-02-20 10:37:56,003 DEBUG [com.alicecallsbob.porth.gateway.configuration.AbstractGatewayDataStore] (EJB default - 8) | Processing: {"bannedCodecs":["G722","ilbc","g7221","CN","MP4A-LATM","isac"],"maximumVideoResolution":{"height":480,"width":640},"defaultVideoResolution":{"height":480,"width":640},"audioPrioritisedCodecs":[],"videoPrioritisedCodecs":[],"outboundSipServerAddresses":["sip:10.10.10.30"],"sipServerTimeout":3000,"pingInterval":30000,"deadLinkPingInterval":5000,"rewriteOutboundSipUris":true,"registrarSipUri":"","registrationExpires":"1800","sipSessionExpiry":10800,"minSipSessionExpiry":400,"maxMessageQueueSize":1000,"clientPingPollPeriod":150,"missedPingsBeforeTimeout":5,"fastPictureUpdatePollPeriod":0,"mediaTimeoutPollPeriod":5,"maxLoadLimit":0,"rtpTransportType":"BOTH","webApplicationKeys":["c78d0daf-ad3a-4377-b424-62ef6f045c5d","sixteencharacter"],"serverGroup":null,"aedDefaultTimeout":0,"loadBalancerHttpPort":8080,"framesPerSecond":30,"scalingMode":"NONE","defaultQValue":1.0,"responseCodesToRetry":[],"defaultExpiresTime":21600,"minimumExpiresTime":5,"acceptingExternalRegistrations":true,"callLogExpiry":60,"statisticLogLevel":"ON","performanceLogEnabled":true,"performanceLogExpiry":60,"performanceLogSamplePeriod":60,"adaptiveBitrateEnabled":true,"adaptiveBitrateInitial":256,"adaptiveBitrateFloor":256,"adaptiveBitrateCeiling":1024,"fixedBitrateAudio":null,"fixedBitrateVideo":null,"maxConcurrentSessions":5000,"iePluginUrl":"/ie/WebRTC-Plugin.msi","iePluginUrlGatewayRelative":true,"iePluginVersion":"2.8.1","iePluginMinVersion":"2.8.1","safariPluginUrl":"/SafariPlugin/WebRTC-Plugin.dmg","safariPluginUrlGatewayRelative":true,"safariPluginVersion":"3.0.5","safariPluginMinVersion":"3.0.5","pictureLossMechanism":"PLI","restrictMediaToSdpPorts":false,"dynamicCodecsEnabled":false,"rtpProxyList":[{"controlHost":"192.168.9.18","controlPort":8092,"controlSecure":false,"rtpProxyConfigurationDetails":{"externalPortsSpecification":[{"browserSourcePattern":{"notation":"*","prefixSize":0,"wildcard":true},"browserPorts":[{"localPort":{"address":"192.168.9.18","port":16001},"publicPorts":[{"address":"192.168.9.18","port":16001}]},{"localPort":{"address":"192.168.9.18","port":16000},"publicPorts":[{"address":"192.168.9.18","port":16000}]}]}],"externalMowsPortsSpecification":[{"browserSourcePattern":{"notation":"*","prefixSize":0,"wildcard":true},"uriInfo":[{"publicWssUri":"wss://192.168.9.18:15000","localAddress":"192.168.9.18","localPort":15000,"secureToLocal":false},{"publicWssUri":"wss://192.168.9.18:15001","localAddress":"192.168.9.18","localPort":15001,"secureToLocal":false},{"publicWssUri":"wss://192.168.9.18:15002","localAddress":"192.168.9.18","localPort":15002,"secureToLocal":false},{"publicWssUri":"wss://192.168.9.18:15003","localAddress":"192.168.9.18","localPort":15003,"secureToLocal":false},{"publicWssUri":"wss://192.168.9.18:15004","localAddress":"192.168.9.18","localPort":15004,"secureToLocal":false}]}],"internalPortsSpecification":[{"cidr":{"notation":"*","prefixSize":0,"wildcard":true},"lowerPort":17000,"upperPort":17099}],"maxBufferSize":500,"rtpProxyLimits":{"idleRouteTimeout":60,"packetSizeLimit":1500,"throughputRateLimit":1000,"maxAudioOnlyCallLimit":0,"maxAudioVideoCallLimit":0},"networkConnectivityGroups":[]}}],"usingExternalRegistrar":false,"gwMbSdpRequestTimeoutMSecs":0}
Taking the JSON encoded body of the second line here you can find the majority of the required information regarding the Gateway Configuration. Copy this body into a text editor (Sublime or Notepad++), then use find and replace all to replace any commas “,” with a newline for readability.
Comments
0 comments
Please sign in to leave a comment.