Support Article
Information required on long poll - CTI
Summary
User requires to understand what these interactions are why it polls every 30 seconds.
Performance tester is seeing these as JSON requests in their scripts and potential impact to the response times.
Error Messages
No error: Tracer details:
[{"ID":"HC2535A197E7E98A71A1CCA835C11D87C_OpenPortal_PegaCALL_HC2535A197E7E98A71A1CCA835C11D87C","clientID":"session","channel":"/adp/initiate","data":{"threadId":"OpenPortal","adp":"D_LongPoll","adpScope":"1","adpParameters":{"ChannelParam":"HC2535A197E7E98A71A1CCA835C11D87C","ChannelName":"PegaCALL"},"activity":{"pxReqURI":"/prweb/PRServlet/1whWpTkoZjcaap9nIjG5bo_Q7ToYXSEa*/!OpenPortal","pzTransactionId":"","pzFromFrame":"","pzPrimaryPageName":"pyDisplayHarness","pyActivity":"ReloadSection","pzKeepPageMessages":"true","StreamName":"pyLongPollOuter","BaseReference":"CTIPhone","StreamClass":"Rule-HTML-Section","lazyLoadId":"S1","RenderSingle":"S1","lazySection":"pyLongPollOuter","bClientValidation":"true","PreActivity":"","HeaderButtonSectionName":"-1","pzHarnessID":"HID35586A9673AE364B74E90FCCFC80F691","pyUsingPage":"D_LongPoll","pyDPScope":"1","bIsScreenLayout":"true","closeWindow":"false","bExcludeLegacyJS":"true","bLocalize":"true","avoidSubmitOnEnter":"true","LAYOUT_METHOD_NAME":"simpleLayout_2","pyActionLabel":"Initialize CTIPhone flow","subscriptionId":"HC2535A197E7E98A71A1CCA835C11D87C_OpenPortal_PegaCALL_HC2535A197E7E98A71A1CCA835C11D87C","harnessName":"CPMInteractionPortal","className":"CPM-Portal","model":"pyDefault","OUT":" {pzInput amp;#61;InputEnabled","ActionType":"PRE","spaceName":"Work","pySectionIncludeHeight":"Auto","sectionsDetails":"TOP:CPMInteractionPortalHeader","pyPreviousLabel":"Previous","performPreProcessing":"true","titleOnPortalLaunch":"CPM Interaction Portal","pyNextLabel":"Next","portalLaunch":"true","CompositeDesktopMarker":"yes","pyCancelLabel":"Cancel","pyCustomizeFALabels":"false","EnableDirectStreaming":"true","topHarness":"yes","flowActionUIRef":"PegaCallContainerWrapper","pyShowFAButtons":"true","actionName":"InitializeCTIPhoneFlow","AJAXTrackID":"1","pyPrimaryPage":"pyDeveloper","InHarness":"true","pyFlowActionPurpose":"ACTIVITY","pySubmitLabel":"Test","inStandardsMode":"true","showSubmit":"false","StreamType":"Rule-Obj-FlowAction","PreActivitiesList":"","ActivityParams":"","OONames":["$OCompositeAPIInclude","$ODesktopWrapperInclude","$OEvalDOMScripts_Include","$OHarnessInlineScripts","$OLaunchFlowScriptInclude","$OListViewIncludes","$OMenuBar","$OPegaCompositeGadgetInclude","$OWorkformStyles","$OdocumentInfo_bundle","$Ojsonscripts","$OmenubarInclude","$OpxWorkAreaTabsContainer","$OpyWorkFormStandard","$OpzControlMenuScripts","$OpzDynamicContainerScript","$OpzHarnessStaticScripts","$OpzLocalActionScript","$OpzMobileAppNotification","$OpzTextInput","$OxmlDocumentInclude","$OselectActivityTab"]}},"connectionType":"long-polling"}]
Steps to Reproduce
Log into softphone and trace while using HTTP event presence Agent.
Root Cause
No root cause. Expected behavior.
Resolution
The tracer entires are specific to the CTI functionailty, when the system is set up for event delievery to be via HTTP and not a plugin(ocx/applet).
Pega is utilizing a technique known as long polling to retrieve events.
The following PDN document that goes into a little more detail on how this is being used. Search on the word "poll" in the below PDF for additional information:
https://pdn.pega.com/documents/pegacall-configuration-and-operations-guide-cti-link-engine-avaya-aes-cti-7133-0
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.