Phantom phone/assistant
# support
v
Hi there! 👋 I understand you're dealing with a frustrating "phantom assistant" issue that's still attached to your phone number even after deletion. While I don't have specific information about your particular phone number, I can definitely help with general steps to disconnect persistent phantom assistants. Here's how you can disconnect that phantom assistant: ## Standard Disconnection Procedure First, try the standard deletion process again: 1. Delete the assistant using the API endpoint
https://api.vapi.ai/assistant/:id
with your assistant's ID [API Reference](https://docs.vapi.ai/api-reference/assistants/delete) 2. Release the phone number through Twilio's API if it was obtained through Twilio [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335389709035110430) ## Set Assistant ID to Null You can try explicitly disconnecting the assistant by setting the assistant ID to null:
Copy code
curl --location --request PATCH 'https://api.vapi.ai/phone-number/your_phone_id' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer your-vapi-private-api-key' \
    --data '{
        "assistantId": null,
        "serverUrl": "https://your_server_url"
    }'
[Telnyx Documentation](https://docs.vapi.ai/advanced/sip/telnyx) ## Check Assistant ID Configuration Ensure the assistant ID is correctly set or removed from the phone number configuration. Review any debugging artifacts sent to your server for more detailed information [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864) ## Remove Default Assistant Assignments Go to Phone Numbers in the Vapi dashboard and remove any default assistant assignments that might be causing the issue [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341224148667600976) ## Additional Troubleshooting If the issue persists:
- Check for conflicting rules or settings in your configuration - Review logs and debugging artifacts for errors - Verify that there are no conflicting assistant properties in your API calls - Consider removing the
assistant
property from the payload and only using
assistantId
as the
assistant
property takes precedence [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336765707760963676) Is there anything specific about these steps you'd like me to clarify further? Sources: - [API Reference for Assistants Delete](https://docs.vapi.ai/api-reference/assistants/delete) - [Discord Thread on Disconnection Procedure](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335389709035110430) - [Telnyx Documentation](https://docs.vapi.ai/advanced/sip/telnyx) - [Discord Thread on Assistant ID Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336652401733668864) - [Discord Thread on Default Assistant Assignments](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341224148667600976) - [Discord Thread on Assistant Property Precedence](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336765707760963676)
k
checking if this is resolved/solved for you?