https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do I transfer a call via code node js
# ask-retell-partners
k
@AI Evy how do I transfer a call via code node js
a
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[3] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
Thanks for tagging me @kamivermillion. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, when using the dial to SIP method with custom telephony, you need to handle call transfer logic yourself by writing a custom function that interacts with your telephony provider [(1) ]() . For cold transfer or warm transfer functionality, you can configure the transfer settings through the Retell AI dashboard using either the Call Transfer Node [(2) ]() or the Transfer Call tool [(3) ]() . These allow you to set the transfer number in e.164 format or as a SIP URI (e.g.,
sip:username@domain
) [(2) ]() [(3) ]() . If you're looking to programmatically trigger transfers via Node.js code, you would need to write custom functions that interact directly with your telephony provider's API to initiate the transfer [(1) ]() . The specific implementation depends on which telephony provider you're using (Twilio, Telnyx, Vonage, etc.) . For more control over transfer functionality in your Node.js code, check out: - [Custom Telephony Overview]() - [Transfer call]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.