Urgent - sip trunk connection error - phone is not...
# support
a
Hi, everything was working find earlier las week. But now Sip is not connecting...we did not change anything... has failed: 401 Unauthorized error
s
Hi @andrewboy777 , your comment on my post to using api we can change assisstnce or add .
a
Change easily
PATCH https://api.vapi.ai/phone-numbers/{phoneNumberId}
Json body:
Copy code
{
  "assistant_id": "your-new-assistant-id"
}
s
this curl i used
a
s
i used this - https://api.vapi.ai/phone-numbers/{phoneNumberId}
which one is correct?
s
Please check your SIP URI, Is that correct?
s
@andrewboy777 Looking into it.
@andrewboy777 could you please share the pcap file for the 401 authorization request from our end? This will help me identify the missing information that prompted this message.