https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am having issue to transfer call back to my pbx
# ❓・ai-evy-support
b
@AI Evy I am having issue to transfer call back to my pbx. Looks like retellai does not recognize the re-invite.
a
Thanks for tagging me @bennylu_17780. I'll look through relevant sources and get back to you shortly.
### Answer Issues with transferring calls back to your PBX via Retell AI can sometimes be related to SIP signaling and how re-INVITE or REFER methods are handled between systems. Retell AI supports SIP REFER for transfers, and there are documented scenarios where REFER timeouts, PBX signaling, or SIP header handling can impact call flow [(1) ]() [(2) ]() [(3) ]() . If Retell AI does not recognize the re-INVITE, it's important to note: - Retell AI's transfer node supports enabling SIP REFER and custom SIP headers [(1) ]() . - For PBX integrations (like with Asterisk) , the documented approach is to have Retell send a SIP INVITE to your PBX extension for the transfer [(3) ]() . - If your PBX is sending a re-INVITE and it's not being recognized, this could be due to Retell AI expecting a REFER or a specific SIP signaling sequence [(2) ]() [(3) ]() . Best practices from the documentation and user discussions: - Use SIP REFER for transfers where Retell releases the call [(1) ]() [(2) ]() . - If you need Retell to handle the call leg after transfer, ensure your PBX is not terminating the call or sending unexpected SIP messages [(2) ]() . - Double-check that your PBX is not ending the call prematurely,
as PBX-side terminations signal Retell to end the call as well . - For Asterisk, ensure your extensions and trunk configuration match the expected flow, and use the transfer node in Retell to target your PBX extension [(3) ]() . If you need to transfer to an internal PBX extension, configure the Retell transfer node to use the SIP URI of your internal extension (e.g., sip:1302@your-pbx) . If problems persist, you might want to review SIP logs on both Retell and PBX sides to identify any signaling mismatches, and confirm whether the PBX is sending a re-INVITE instead of handling REFER transfers as expected by Retell AI [(2) ]() [(3) ]() .
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) [[2] Failed Transfers](https://discord.com/channels/1186424376300679209/1415848290091536434) [[3] asterisk pbx configuration](https://discord.com/channels/1186424376300679209/1392378086447775805) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.