We are currently testing our integration with PEF and have run into an issue when testing consult transfers where we cannot get the phone number or display address of the client by the agent receiving the transfer. Both calledNumber and displayAddress have information regarding the agent initiating the transfer, and my subscription in framework.js doesn't get anything regarding the client.
Is the addTransferContext the best way to get around this issue? I know that I could add the client information as a parameter when transferring and catch it on the receiving agent's side but am curious if there's a better way to do this. I am also aware that there is a REST API using the conversationID where I could get the client information, but that would involve additional work so that's a last resort for us at the moment.
Any help or insight would be greatly appreciated!