Determine party that pressing buttons in transferred calls

Hello everybody, long time not see
I’m facing following problem:
recently we have a business process on which customers are being called (in standard OCS campaign) and asked if they would like to be transferred to IVR and answer some questions via pressing a buttons.
The issue is that i cannot distinguish in strategy who is actually pressing a button. An agent who initiate transfer (and not yet completed it) or a customer.
Only difference for this two scenarios that i see in logs is AttributeOtherDNRole. But as i found in this topic, i cannot get them in URS. Is there any other way?

Not sure if this specific information comes in, but you can try to see if SuspendForEvent waiting for the EventDigitsCollected function receives it.

Thanks for a hint on SuspendForEvent function. Will dig in this direction.

Yes, SuspendForEvent did the job. Now it just waits for EventPartyChanged and after that starts IVR.
Thanks again.

Why not use a BlindTransfer from agent side instead?

  1. Legacy agent desktop, that we are using cannot do this
  2. And even if it could, there still be a possibility for agent to make two-step transfer manualy