" /> Sometime wde cannot get record in Preview Mode - Genesys CTI User Forum

Author Topic: Sometime wde cannot get record in Preview Mode  (Read 1871 times)

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Sometime wde cannot get record in Preview Mode
« on: November 24, 2017, 06:24:58 AM »
Advertisement
Hi everyone,

I got a problem when using dual SIP registration (Active - Active). Sometime I cannot get records when run a campaign with preview mode. I check log and see that wde try to request message to DR SIP . When i log off drvoice channel then i can get records. What should i configure wde to always prefer DC SIP Address ?

[code]17-11-23 11:34:16.901 [            64] DEBUG cture.ChainOfCommand - Execute of Chain of Command CampaignGetPreviewRecord -> Name:GetOutboundPreviewRecord Type:Genesyslab.Desktop.Modules.Outbound.Model.Campaign.GetPreviewRecordCampaignCommand
17-11-23 11:34:16.902 [            64] INFO  ound.CampaignCommand - GetPreviewRecordCampaignCommand
17-11-23 11:34:16.902 [            64] DEBUG ound.CampaignCommand - GetPreviewRecordCampaignCommand : campaignName = 247_LOYALTY_CP
17-11-23 11:34:16.903 [            64] DEBUG                ESDK - Found constructor with 1 parameters
17-11-23 11:34:16.903 [            64] DEBUG                ESDK - Media object DistributeUserEvent created
17-11-23 11:34:16.903 [            64] DEBUG                ESDK - [FindSwitchPolicyForOneDevice] Found Switch Policy SIPSwitch::8.0.4 on [Device] 1014
17-11-23 11:34:16.904 [            64] DEBUG                ESDK - [GetVirtualDevice] Virtual Device is 1014
17-11-23 11:34:16.904 [            64] DEBUG lService.bd_sip01_pr - Reference 6 added to the message
'RequestDistributeUserEvent' ('48')
message attributes:
AttributeCommunicationDN [str] = "1014"
UserEvent      = ComplexClass(CommonProperties):
Time            = ComplexClass(TimeStamp):
AttributeUserData [bstr] = KVList:
'GSW_AGENT_REQ_TYPE' [str] = "PreviewRecordRequest"
'GSW_CAMPAIGN_NAME' [str] = "247_LOYALTY_CP"
'GSW_APPLICATION_ID' [int] = 168
AttributeThisDN [str] = "1014"
AttributeUserEvent [int] = 96
AttributeReferenceID [int] = 6

17-11-23 11:34:16.904 [            64] DEBUG lService.bd_sip01_pr - Sending message to bd_sip01_pr - tcp://dr247sipv03:3000[192.168.22.236:11476->10.56.237.38:3000])
'RequestDistributeUserEvent' ('48')
message attributes:
AttributeCommunicationDN [str] = "1014"
UserEvent      = ComplexClass(CommonProperties):
Time            = ComplexClass(TimeStamp):
AttributeUserData [bstr] = KVList:
'GSW_AGENT_REQ_TYPE' [str] = "PreviewRecordRequest"
'GSW_CAMPAIGN_NAME' [str] = "247_LOYALTY_CP"
'GSW_APPLICATION_ID' [int] = 168
AttributeThisDN [str] = "1014"
AttributeUserEvent [int] = 96
AttributeReferenceID [int] = 6[/code]





Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Sometime wde cannot get record in Preview Mode
« Reply #1 on: November 24, 2017, 08:56:25 AM »
what is the value of sip-address in both SIP servers?

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Sometime wde cannot get record in Preview Mode
« Reply #2 on: November 24, 2017, 09:07:47 AM »
Hi AK,

sip-address in DC sip is vip address of DC SIP peer: dc.abc.com.vn
sip-address in DR sip is vip address of DR SIP peer: dr.abc.com.vn


Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Sometime wde cannot get record in Preview Mode
« Reply #3 on: November 24, 2017, 09:21:12 AM »
Does WDE have connection to both SIP server?

Offline hieutx

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 0
Re: Sometime wde cannot get record in Preview Mode
« Reply #4 on: November 24, 2017, 09:45:01 AM »
@AK, Yes, it has connection to both Primary SIP (DC and DR SIP) .

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Sometime wde cannot get record in Preview Mode
« Reply #5 on: November 24, 2017, 01:01:56 PM »
WDE sends a ChainRecord Request to OCS via TServer attached data...so check TServer logs to see if it got it or not.
The Tserver will be the one who controls your extension DN. There can't be 2 Tservers controlling a single DN perse.
So if your TServers are fighting over control that would indicate why you don't have a message in return.


I can assume you may have deeper problems. Try to check SIP Server logs.


Active-Active works on both SIP Servers sharing a single name DNS and going up and down on DNS server...not both running with different names...sip-enable-gdns is mandatory