Transfer call using SIP REFER to different destinations based on detected intent/state

Hello,

Thank you for the clarification.

We will proceed with Option 2 and implement the transfer logic on our PBX side.

We understand that when using “Dial to SIP URI”, SIP REFER is not supported. Therefore, instead of transferring the active dialog, Retell will initiate a new outbound SIP call to our PBX based on the detected state.

We will configure dynamic transfer destinations using a variable such as:

{{transfer_destination}}

Which will resolve at runtime to:

  • sip:6000@our_cm_ip (State 1)

  • sip:7000@our_cm_ip (State 2)

Please confirm that using a dynamic SIP URI in the Transfer node is fully supported in this scenario.

Thank you.