" /> Read Attribute TransferConnID from a strategy - Genesys CTI User Forum

Author Topic: Read Attribute TransferConnID from a strategy  (Read 3213 times)

Offline mcruli

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Read Attribute TransferConnID from a strategy
« on: October 31, 2007, 09:57:25 PM »
Advertisement
Hi,

I need retrieve the Atribute TransferConnID (or previus ConnID)  of a call from a strategy in URS.
For example, in this call, the Tserver write:

@16:50:37.7930 [0] 7.2.004.00 distribute_event: message EventRouteRequest (3942)
    AttributeEventSequenceNumber    00000000001758bd
    AttributeTimeinuSecs    793000
    AttributeTimeinSecs    1193777437 (16:50:37)
    AttributeThisQueue    '6541'
    AttributeCallState    0
    AttributeOtherDNRole    1
    AttributeOtherDN    '8755'
    AttributeThisTrunk    4472
    AttributeThisDNRole    2
    AttributeThisDN    '6541'
    AttributeExtensions    [41] 00 02 00 00..
          'OrigAddress'    '8755'
          'OrigAddrType'    bin: 00 1E
    AttributeDNIS    '6541'
    AttributeTransferConnID    006f017f6cd3e73d
    AttributeCallUUID    '05B63BF5-1463-4526-985A-16DFB4A6FA7B'
    AttributeConnID    006f017f6cd3e73e
    AttributeCallID    13463
    AttributeCallType    4


The strategy I could read the Callid (13463) and ConnID. (006f017f6cd3e73e)
I need read the TransferConnID (006f017f6cd3e73d)  in the strategy, ?Is this possible¿?


thanks.

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Read Attribute TransferConnID from a strategy
« Reply #1 on: November 01, 2007, 04:22:02 AM »
My initial guess would be no, but given all the tricks we could have done with undocumented functions, I am sure there is something to retrieveve that attribute. In the worst case scenario, you would need to use RequestAttachUserData to add the value of TransferConnID to the call so that your URS could read.

Vic

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Read Attribute TransferConnID from a strategy
« Reply #2 on: November 01, 2007, 04:32:36 AM »
I did not have time to check if there is no PreviousConnID in IRd, but here is a REALLY dumb way of doing it:

I am enclosing a simple program I wrote that would add attach data which would include PreviousConnID as attach data to all the transferred calls. Like I said, this is not the smartest thing in the world, but it should work (after some debugging, since I did not debug it) when combined with a route point.