### 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,