Author Topic: How to get value of attribute variables  (Read 1920 times)

Offline abdel

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
How to get value of attribute variables
« on: September 27, 2019, 04:53:15 PM »
Hi,

In URS logs, I want to get attribute value and attach it, example:

I want to get the value of [b]AttributeUserEvent[/b]

AttributeANI '+212699747308'
AttributeDNIS '430'
AttributeOtherDNRole 1
AttributeOtherDN '+212699747308'
AttributeThisDNRole 2
AttributeThisQueue 'VQ_CS_N1'
AttributeThisDN 'VQ_CS_N1'
AttributeCallType 2
AttributeCallID 243071
AttributeConnID 00bb02e7e16711c4
AttributeCustomerID 'Resources'
AttributeReferenceID 4294967295
[b]AttributeUserEvent EventAttachedDataChanged[/b]

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: How to get value of attribute variables
« Reply #1 on: October 04, 2019, 05:52:52 AM »
What means get attribute value in URS log?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: How to get value of attribute variables
« Reply #2 on: October 04, 2019, 06:08:21 AM »
You can't, this are events properties. You can set a listener and will be a property of the object

Enviado de meu SM-G9650 usando o Tapatalk
« Last Edit: October 04, 2019, 06:10:43 AM by cavagnaro »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: How to get value of attribute variables
« Reply #3 on: October 04, 2019, 06:11:15 AM »
[quote author=terry link=topic=11447.msg52174#msg52174 date=1570168372]
What means get attribute value in URS log?
[/quote]I think he means to capture the value that URS logs shows

Enviado de meu SM-G9650 usando o Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: How to get value of attribute variables
« Reply #4 on: October 04, 2019, 10:01:11 AM »
You can developer your own listener (using PSDK) to catch that information/data or you can parse URS logs to get the values (this is not recommended as it requires debug logging which should be avoided in production environment)