
Issue
Opportunity based Telephony is enabled in the account, however upon clicking the view details button in Agent POP-UP, it is getting routed to the Lead Details Page instead of the Opportunity Details Page.

Reason & Solution
By default the View Details Button will have the Lead Link in it fetched by the Get APIs used in the Telephony Connector if the View Details Button should route to the Opportunity Details page then we have to pass another parameter “OpportunityTelephonyMappingId”:”O${{OpportunityId}}” in the Agent POP-UP API.
