Article ID: 000040269
Last Modified Date: 12/10/2021
Access Level: Public
RPRM and GS communication to update CDR / Endpoint Usage Report
There are 3 basic steps after a GroupSeries call how the CDR is synced.
1. The EP will send <HeartbeatMessage> to RPRM. (Ignore the IP addresses and EP details) messages.1 2220 0 2020-08-10 14:09:32.417 INFO HeartbeatMessage xmlns:xs="
http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PolarisDeviceAPI.xsd"> messages.1 2221 0 2020-08-10 14:09:32.417 INFO <deviceType>GROUPSERIES</deviceType> messages.1 2222 0 2020-08-10 14:09:32.417 INFO <protocolVersion>1.0</protocolVersion> messages.1 2223 0 2020-08-10 14:09:32.417 INFO <serialNumber>8216294612AECV</serialNumber> messages.1 2224 0 2020-08-10 14:09:32.417 INFO /HeartbeatMessage>
RPRM receives it : <182>1 2020-08-10T07:09:44.316-07:00 lvs-pcmas-012.corp.ebay.com RPRM 5971 Jserver - INFO ||10.225.66.181|http-1443-48|com.polycom.rm.web.device.vc2.HeartbeatRequest| (ServletHeartbeat-/PlcmRmWeb/device/heartbeat-10.225.66.181_13712939) len [312] <?xml version="1.0" encoding="UTF-8"?> <HeartbeatMessage xmlns:xs="
http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PolarisDeviceAPI.xsd"> <deviceType>GROUPSERIES</deviceType> <protocolVersion>1.0</protocolVersion> <serialNumber>8216294612AECV</serialNumber> </HeartbeatMessage>
2. Then RPRM will send a response <GeneralResponse> message with <cdrSyncRequest>. <182>1 2020-08-10T07:09:44.321-07:00 lvs-pcmas-012.corp.ebay.com RPRM 5971 Jserver - INFO ||10.225.66.181|http-1443-48|com.polycom.rm.web.device.vc2.HeartbeatRequest| (ServletHeartbeat-/PlcmRmWeb/device/heartbeat-10.225.66.181_13712939) response <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <GeneralResponse xmlns:ns2=" http://polycom.com/polaris"> <protocolVersion>1.0</protocolVersion> <cdrSyncRequest> <timeStamp>2020-07-27T01:57:16.000Z</timeStamp> </cdrSyncRequest> <resendStatus>TRUE</resendStatus> </GeneralResponse>
3. After EP receiving this 'Sync Request' message, it will send <CDRSyncMessage> to RPRM.
Sync Request (coming from RPRM to EP): messages.0 2186 0 2020-08-10 14:08:56.158 INFO <cdrSyncRequest> messages.0 2187 0 2020-08-10 14:08:56.158 INFO <timeStamp>2020-07-21T06:15:50.000Z</timeStamp> messages.0 2188 0 2020-08-10 14:08:56.158 INFO </cdrSyncRequest> messages.0 2189 0 2020-08-10 14:08:56.158 INFO <resendStatus>TRUE</resendStatus> messages.0 2190 0 2020-08-10 14:08:56.158 INFO /GeneralResponse> messages.0 2197 0 2020-08-10 14:08:56.875 DEBUG CEng hd[0] CDR Notification called !! EP is Processing CDR: messages.0 2198 0 2020-08-10 14:08:56.887 DEBUG logcat hd[0] URecentCallsService(1964) (webapp) CdrExtractScriptStatusNtfy: error=kErrNoError, cause=null, progress=kCdrExtractStarted messages.0 2203 0 2020-08-10 14:08:57.950 DEBUG logcat hd[0] UAppSvcs(2021) (reporting) fetchCDRRecord(): Processed the CDR file: Found 2 records of the 99 extracted records matched messages.0 2206 0 2020-08-10 14:08:57.992 INFO CDRSyncMessage xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=" file:///c:/cygwin/home/tstark/cma/head/source/jserver/projects/jboss-proximo/current/jboss/xml-schemas/PolarisDeviceAPI.xsd"> messages.0 2207 0 2020-08-10 14:08:57.992 INFO <cdrRecord>99,21/Jul/2020,06:15:50,21/Jul/2020,06:46:45,0:30:55,---,zoomcrc.com,@zoomcrc.com,---,sip,1920,"",Out,200,1,1,---,---,ptc,SGP-PROMENADE@vc.corp.ebay.com,G.722,G.722,H.264-HP,H.264,720p,720p,"The call has ended. Local user initiated hangup.",16,0,0,0,2,10,252,252,0,0,8,3,20,6,none,---,---,---,---</cdrRecord> messages.0 2208 0 2020-08-10 14:08:57.992 INFO <cdrRecord>100,10/Aug/2020,13:57:29,10/Aug/2020,13:58:53,0:01:24,---,98492472202,98492472202@zoomcrc.com,---,sip,1920,"",Out,201,1,1,---,---,webui/chrome,SGP-PROMENADE@vc.corp.ebay.com,G.722,G.722,H.264-HP,H.264,720p,720p,"The call has ended. Local user initiated hangup.",16,0,0,0,0,2,244,244,0,0,8,4,10,5,none,---,---,---,---</cdrRecord> EP Sends CDR Sync Message to RPRM per the record generated above: messages.0 2209 0 2020-08-10 14:08:57.992 INFO <deviceType>GROUPSERIES</deviceType> messages.0 2210 0 2020-08-10 14:08:57.992 INFO <protocolVersion>1.0</protocolVersion> messages.0 2211 0 2020-08-10 14:08:57.992 INFO <serialNumber>8215334439ECPV</serialNumber> messages.0 2212 0 2020-08-10 14:08:57.992 INFO /CDRSyncMessage>
2. Then RPRM will send a response <GeneralResponse> message with <cdrSyncRequest>. <182>1 2020-08-10T07:09:44.321-07:00 lvs-pcmas-012.corp.ebay.com RPRM 5971 Jserver - INFO ||10.225.66.181|http-1443-48|com.polycom.rm.web.device.vc2.HeartbeatRequest| (ServletHeartbeat-/PlcmRmWeb/device/heartbeat-10.225.66.181_13712939) response <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <GeneralResponse xmlns:ns2=" http://polycom.com/polaris"> <protocolVersion>1.0</protocolVersion> <cdrSyncRequest> <timeStamp>2020-07-27T01:57:16.000Z</timeStamp> </cdrSyncRequest> <resendStatus>TRUE</resendStatus> </GeneralResponse>
3. After EP receiving this 'Sync Request' message, it will send <CDRSyncMessage> to RPRM.
Sync Request (coming from RPRM to EP): messages.0 2186 0 2020-08-10 14:08:56.158 INFO <cdrSyncRequest> messages.0 2187 0 2020-08-10 14:08:56.158 INFO <timeStamp>2020-07-21T06:15:50.000Z</timeStamp> messages.0 2188 0 2020-08-10 14:08:56.158 INFO </cdrSyncRequest> messages.0 2189 0 2020-08-10 14:08:56.158 INFO <resendStatus>TRUE</resendStatus> messages.0 2190 0 2020-08-10 14:08:56.158 INFO /GeneralResponse> messages.0 2197 0 2020-08-10 14:08:56.875 DEBUG CEng hd[0] CDR Notification called !! EP is Processing CDR: messages.0 2198 0 2020-08-10 14:08:56.887 DEBUG logcat hd[0] URecentCallsService(1964) (webapp) CdrExtractScriptStatusNtfy: error=kErrNoError, cause=null, progress=kCdrExtractStarted messages.0 2203 0 2020-08-10 14:08:57.950 DEBUG logcat hd[0] UAppSvcs(2021) (reporting) fetchCDRRecord(): Processed the CDR file: Found 2 records of the 99 extracted records matched messages.0 2206 0 2020-08-10 14:08:57.992 INFO CDRSyncMessage xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=" file:///c:/cygwin/home/tstark/cma/head/source/jserver/projects/jboss-proximo/current/jboss/xml-schemas/PolarisDeviceAPI.xsd"> messages.0 2207 0 2020-08-10 14:08:57.992 INFO <cdrRecord>99,21/Jul/2020,06:15:50,21/Jul/2020,06:46:45,0:30:55,---,zoomcrc.com,@zoomcrc.com,---,sip,1920,"",Out,200,1,1,---,---,ptc,SGP-PROMENADE@vc.corp.ebay.com,G.722,G.722,H.264-HP,H.264,720p,720p,"The call has ended. Local user initiated hangup.",16,0,0,0,2,10,252,252,0,0,8,3,20,6,none,---,---,---,---</cdrRecord> messages.0 2208 0 2020-08-10 14:08:57.992 INFO <cdrRecord>100,10/Aug/2020,13:57:29,10/Aug/2020,13:58:53,0:01:24,---,98492472202,98492472202@zoomcrc.com,---,sip,1920,"",Out,201,1,1,---,---,webui/chrome,SGP-PROMENADE@vc.corp.ebay.com,G.722,G.722,H.264-HP,H.264,720p,720p,"The call has ended. Local user initiated hangup.",16,0,0,0,0,2,244,244,0,0,8,4,10,5,none,---,---,---,---</cdrRecord> EP Sends CDR Sync Message to RPRM per the record generated above: messages.0 2209 0 2020-08-10 14:08:57.992 INFO <deviceType>GROUPSERIES</deviceType> messages.0 2210 0 2020-08-10 14:08:57.992 INFO <protocolVersion>1.0</protocolVersion> messages.0 2211 0 2020-08-10 14:08:57.992 INFO <serialNumber>8215334439ECPV</serialNumber> messages.0 2212 0 2020-08-10 14:08:57.992 INFO /CDRSyncMessage>