Hi Trevor,
To outline the problem
You have a variable CallerNumber you want to feed to your screenpop
On Inbound you want CallerNumber to be Call.ani
On Transfer you want CallerNumber to be original call.ani
and on Outbound you want CallerNumber to be DNIS
You already have a fix for inbound and transfer, just not outbound.
With outbound, unless its a Dialer, I would assume staff would open the customer record manually before calling the customer.
For dialer or other times when outbound call is done first in genesys before CRM record can be opened.
There might be more eloquent solutions out there, but my initial thinking is just to use a dynamic variable in your agent script
and set it so if the call type is outbound then set the CallerNumber variable to DNIS, otherwise set it to what CallerNumber already is, you could do something similar for inbound/internal.
Or if it is a Dialer, have the call go to an Outbound flow and just set CallerNumber to the dialed number, which should be a variable from the calling list you can access.
------------------------------
Anton Vroon
KiwiBank
------------------------------